I hereby claim:
- I am abernier on github.
- I am abernier_ (https://keybase.io/abernier_) on keybase.
- I have a public key ASDyVK6AAgsQ_KVnrAmaEj6kS1HWl5Iy_igxPqaU86P5ego
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Persistent bugger: https://www.codewars.com/kata/55bf01e5a717a0d57e0000ec
Generates an index.json file for md2oedx from that spreadsheet CSV: https://docs.google.com/spreadsheets/d/1RiieTGx6PQWkyU52yTXEWN-u5-8njN1zfdXLWm2Nn2c/edit
$ npx https://gist.github.com/abernier/9a2287044da384f44ae7c80f10745912 pt https://docs.google.com/spreadsheets/d/e/2PACX-1vTj9crFXFRl9MjP5ibW7210C-cmkdPI1EgzQK1rTYN0SMFpSGe0piWtf40H3S-LDtPVfbYnaDOpvW_N/pub?output=csv| .alert.lecture:before {content:"hello ";} |
| /* BonBon Buttons 1.1 by simurai.com | |
| 1.1 Added unprefixed attributes, :focus style, <button> support | |
| 1.0 Released | |
| Usage: | |
| Default button: <a href="" class="button">Label</a> |
Using Mongoose pre middleware to systematically hash a User's password
const myuser = new User({
email: 'jdoe@hotmail.fr',
password: 'blacky123'
})
myuser.save()
.then(jdoe => {| HTTP Verb | Path | Controller#Action | Used for |
|---|---|---|---|
GET |
/photos |
photos#index |
display a list of all photos |
PUT |
/photos/:id/valid OR /photos/valid |
photos#validate |
tell whether the passed data are valid (204 or 422) |
HEAD |
/photos/:id OR /photos?people=Sam |
photos#exist |
tell whether that photo exists (204 or 404) |
GET |
/photos/new |
photos#new |
return an HTML form for creating a new photo |
POST |
/photos |
photos#create |
create a new photo |
| struct A { | |
| a : i32, | |
| } | |
| impl A { | |
| fn bind_lifetime_mut(&mut self) -> &i32 { | |
| return &self.a; | |
| } | |
| fn legal(&mut self) -> &i32 { |
abernier :git checkout -b abernier --track origin/develop
git pull origin abernier.env a partir du template .env-distcp .env-dist .env