hoodedice / notes Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
right now the way ejs is written is easy to read and easy to modify.
html-minifier is probably the best way to go about it.
eg: 'passport'
Notice that getCurrentDate()
and getRandomIdentifier()
are independent of each other. They aren't very expensive functions, so doing this fix won't give a huge performance gain but would still be a nice to have in the long run /shrug
toISOString()
along with string.slice
will get rid of the convoluted code in getCurrentDateTime()
and getCurrentDate()
So the database needs to be rewritten to provide for some extra features that will be implemented later on. For now the design calls for
latest_version_id
with the number of the latest revision.Since every note has a unique author
, we don't need our UIDs to be GUIDs, so to say. They just need to be unique vs the other UIDs by the same author.
Thus, my first attempt will be to make the UID as small as possible in terms of chars. I think 6 (42,180,533,641 possibilities per user) should be a fine length (imgur manages fine with 7)
As for uniqueness, I realized that copying twitter's snowflake system (" The full ID is composed of a timestamp, a worker number, and a sequence number") might be best. Instead, I will just affix a YYMMDD to the start of the UID, bringing the char length to 12
JavaScript code (or see if possible without) that checks if both the passwords on the registration page match.
Moving from mysql to cassandra because performance (not like I have that many consumers of this anyway)
Increase time of response after 5 login attempts for a client. See into doing this in such a way that doesn't stall the server.
as long as it runs locally that is fine for now
Add sessions support via connect-redis and express-session
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.