Bin e padrões para validação de cartão de crédito.
| Bandeira | Começa com | Máximo de número | Máximo de número cvc |
|---|---|---|---|
| Visa | 4 | 13,16 | 3 |
| Mastercard | 5 | 16 | 3 |
| Angular | |
| - diretivas | |
| lightbox gallery | |
| carousel (múltiplos items, e direções) | |
| file upload (checar o angular-file-upload) | |
| NPM | |
| - config (using shell-arguments to env) |
| # para editar o arquivo de configuração do zsh | |
| # rode o comando abaixo | |
| nano ~/.zshrc | |
| # depois cole os alias abaixo | |
| alias zshconfig="subl ~/.zshrc" | |
| alias subl="'/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'" | |
| alias susubl="sudo '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'" |
| app.all '*', (req, res, next) -> | |
| if req.headers.host.match /^www/ | |
| newUrl = req.headers.host.replace /^www\./, '' | |
| res.redirect "http://#{newUrl}#{req.url}" | |
| else | |
| next() |
| npm install -g browser-sync | |
| alias start="browser-sync start --server --files 'css/*.css, *.html, js/*.js'" |
| var istanbul = require('istanbul'), | |
| gulp = require('gulp'), | |
| istanbul = require('gulp-istanbul'); | |
| gulp.task('js', function() { | |
| return gulp.src('js') | |
| .pipe(istanbul({ | |
| includeUntested: true, | |
| coverageVariable: '__coverage__' | |
| })) |
| - sidebar enhancements | |
| - editorconfig | |
| - material theme | |
| - emmet | |
| - status bar file size | |
| - syntax highlights(less, sass, javascript next, ejs, pug) | |
| - Markdown Extended https://github.com/jonschlinkert/sublime-markdown-extended |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
An ongoing project to catalogue all of these sneaky, hidden, bleeding edge selectors as I prepare my JSConf EU 2012 talk.
Everything is broken up by tag, but within each the selectors aren't particularly ordered.
I have not tested/verified all of these. Have I missed some or got it wrong? Let me know. - A
A friendly reminder that you may need to set this property on your target/selected element to get the styling results you want:
-webkit-appearance:none;