rm -rf /
rm
you have to quintuple check your command matches your intent. ALWAYS
rm -rf /
This deletes your entire filesystem. Don’t do it.
npm
upgrade node directly?
npm
installed already, and if it can do the job, that seems useful.
npm install -g typescript
?
sudo
in front of the command for a quick boot in privlige. You are not always admin, that is locked down.
sudo
, you can just type sudo !!
at the next prompt and it’ll run the last command again with SU privs.
$schema
s, and answering the question “what comprises a JSON $schema
” is a big pain in the ass
UserSchema = new SimpleSchema({
"email": {
type: String,
label: "Email",
regEx: SimpleSchema.RegEx.Email,
max: LIMIT_PARAGRAPH_CHAR
},
"confirmEmail": {
type: String,
label: "Confirm Email",
optional: true
},
"username": {
type: String,
label: "Username",
regEx: new RegExp(PATTERN_USERNAME),
min: LIMIT_USERNAME_CHAR_MIN,
max: LIMIT_USERNAME_CHAR_MAX
},
"password": {
type: String,
label: "Password",
regEx: new RegExp(PATTERN_PASSWORD),
min: LIMIT_PASSWORD_CHAR_MIN,
max: LIMIT_PASSWORD_CHAR_MAX
},
"confirmPassword": {
type: String,
label: "Confirm Password",
optional: true
}
});
:cookie: 353 | @davidjcastner |http://www.freecodecamp.com/davidjcastner
simplyphy sends brownie points to @davidjcastner :sparkles: :thumbsup: :sparkles: