O objetivo desse desafio é medir o conhecimento do candidato em relação ao desenvolvimento de aplicativos Web com foco no front-end.
Você conhece os personagens de Star Wars?
| #!/bin/sh | |
| # Allow locate commands | |
| # sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist | |
| # xcode command line - Select: "Get xcode" and go get a coffee (preferably far from your desk :) | |
| xcode-select --install | |
| # home-brew | |
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
| upstream ws_server { | |
| server 127.0.0.1:8080; | |
| } | |
| server { | |
| listen 80; | |
| server_name 10.1.2.225; | |
| location / { | |
| proxy_pass http://ws_server/; |
"How do I get started with Node?" is a commonly heard question in #Node.js. This gist is an attempt to compile some of the answers to that question. It's a perpetual work-in-progress.
And if this list didn't quite answer your questions, I'm available for tutoring and code review! A donation is also welcome :)
Before you get started learning about JavaScript and Node.js, there's one very important article you need to read: Teach Yourself Programming in Ten Years.
Understand that it's going to take time to learn Node.js, just like it would take time to learn any other specialized topic - and that you're not going to learn effectively just by reading things, or following tutorials or courses. _Get out there and build things!
| // http://www.geedew.com/remove-a-directory-that-is-not-empty-in-nodejs/ | |
| var fs = require('fs'); | |
| var rmdirAsync = function(path, callback) { | |
| fs.readdir(path, function(err, files) { | |
| if (err) { | |
| // Pass the error on to callback | |
| callback(err, []); | |
| return; |
| var fs = require('fs'); | |
| var deleteFolderRecursive = function(path) { | |
| if( fs.existsSync(path) ) { | |
| fs.readdirSync(path).forEach(function(file,index){ | |
| var curPath = path + "/" + file; | |
| if(fs.lstatSync(curPath).isDirectory()) { // recurse | |
| deleteFolderRecursive(curPath); | |
| } else { // delete file | |
| fs.unlinkSync(curPath); | |
| } |
Alguém na lista Python-Brasil perguntou sobre como criar um webservice Restful com Python... eu achei interessante salvar as sugestões aqui para indicar, caso essa questão apareça em algum lugar.
A ideia é também atualizar esse arquivo com algum blogpost que contribua para a questão.
-moz-appearance to none. This will "reset" the styling of the element;text-indent to 0.01px. This will "push" the text a tiny bit[1] to the right;