Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
function kebabCase(string) { | |
var result = string; | |
// Convert camelCase capitals to kebab-case. | |
result = result.replace(/([a-z][A-Z])/g, function(match) { | |
return match.substr(0, 1) + '-' + match.substr(1, 1).toLowerCase(); | |
}); | |
// Convert non-camelCase capitals to lowercase. | |
result = result.toLowerCase(); |
1. This is my Stream One assessment Project | |
Should be: Stream 1 Project | |
Synopsis of your project – | |
200-300 words a brief description about your project. More in the form of Story which highlight About project idea, set of features. | |
-> What Functionality it has as of now (Please mentioned that in bullet points) |
rabbitmqctl add_user test test | |
rabbitmqctl set_user_tags test administrator | |
rabbitmqctl set_permissions -p / test ".*" ".*" ".*" |
"/etc" is used for configurations (.conf files etc). here you find all the configs and settings for your system. | |
"/usr" is used for "user programs". Usually your package manager installs all the binaries, shared files etc. from all programs here (except config files, which go to /etc). You can check /usr/bin for binaries, /usr/share for shared files (media, etc), /usr/share/doc for documentation,... | |
There is also an "/opt" folder, where there are "other" programs usually put (mostly binary programs, or programs installed from other sources (not the default package manager). Some programs like that (usually compiled) also go to "/usr/local" | |
"/var" is usually used for log files, 'temporary' files (like mail spool, printer spool, etc), databases, and all other data not tied to a specific user. Logs are usually in "/var/log", databases in "/var/lib" (mysql - "/var/lib/mysql"), etc. |
/* | |
Tips 1 - Revert/Reset Specific File into git | |
*/ | |
git checkout HEAD filepath/filename | |
/* | |
Tips -2 - Reset all your changes to your last commit locally | |
*/ | |
git reset --hard HEAD |
By the way, I'm available for tutoring and code review :)
new Promise
?.then
callback yet?](https://gist.github.com/joepie91/4c3a10629a4263a522e3bc4839a28c83#6-but/** | |
* The Curriculum vitae of Nishant Kumar | |
* | |
* Hi there, I am Nishant. I am Software Architect @GetMyParking, | |
* Mozila Tech Contributor, Teacher at CodeInstitute (Dublin), CodeMentor Front-end Expert, | |
* 101 JavaScript Interview Question Author. | |
* | |
* I love to pair program and ship quality code that's solidly tested. | |
* Skills that I'm proficient in and continue to learn with: Object Oriented JavaScript, | |
* JavaScript Design Pattern, MVC, Client Side Performance Optimization, Node.js, Angular.js, |
"err": { | |
"message": "Authorization Required", | |
"name": "Error", | |
"stack": "Error: Authorization Required\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/lib/application.js:399:21\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/lib/model.js:322:7\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/common/models/acl.js:472:23\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:3694:9\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:356:16\n at iteratorCallback (/home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:936:13)\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:840:16\n at /home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:3691:13\n at apply (/home/ubuntu/gmp-consumer-backend/node_modules/loopback/node_modules/async/dist/async.js:21:25 |