I hereby claim:
- I am danjavia on github.
- I am danjavia (https://keybase.io/danjavia) on keybase.
- I have a public key ASD7JwEa8_JvSJx1y6vMjMsmvD5G1enBm8oJVyATgM8tUgo
To claim this, I am signing this object:
| //http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
| Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |
| watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache |
| watchman watch-del-all && rm -rf node_modules/ && yarn cache clean && yarn install && yarn start -- --reset-cache |
I hereby claim:
To claim this, I am signing this object:
| let raw = [ | |
| "01 Lima / / ", | |
| "01 Lima / 50 Lima / ", | |
| "01 Lima / 51 Barranca / ", | |
| "01 Lima / 50 Lima / 202 La Molina", | |
| "01 Lima / 50 Lima / 203 San Isidro", | |
| "02 Arequipa / / ", | |
| "02 Arequipa / 63 Arequipa / ", | |
| "02 Arequipa / 64 Caylloma / ", | |
| "02 Arequipa / 63 Arequipa / 267 Cercado" |
| function slugify(text) | |
| { | |
| return text.toString().toLowerCase() | |
| .replace(/\s+/g, '-') // Replace spaces with - | |
| .replace(/[^\w\-]+/g, '') // Remove all non-word chars | |
| .replace(/\-\-+/g, '-') // Replace multiple - with single - | |
| .replace(/^-+/, '') // Trim - from start of text | |
| .replace(/-+$/, ''); // Trim - from end of text | |
| } |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.html [L] | |
| </IfModule> |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.html [L] | |
| </IfModule> |
| @-moz-document url-prefix() { | |
| .select-wrapper { | |
| &:after { | |
| display: none; | |
| } | |
| } | |
| } |
| web: node server |