Recomendações gerais de artigos e palestras sobre desenvolvimento e de frameworks.
Tópicos:
Recomendações gerais de artigos e palestras sobre desenvolvimento e de frameworks.
Tópicos:
# To use this, add .nvmrc with contents of 'N.N.N' to your project. e.g. 0.12.7 | |
# Add the following to the end of .bash_profile or .bashrc | |
# | |
# if directory is changed | |
# if `.nvmrc` is found execute `nvm use` | |
# if `package.json` is round execute `nvm use default` | |
enter_directory() { | |
if [ "$PWD" != "$PREV_PWD" ]; then | |
PREV_PWD="$PWD"; | |
if [ -e ".nvmrc" ]; then |
var fs = require('fs'); | |
var crypto = require('crypto'); | |
fs.readFile('file.pdf', function(err, data) { | |
var checksum = generateChecksum(data); | |
console.log(checksum); | |
}); | |
function generateChecksum(str, algorithm, encoding) { | |
return crypto |