Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
class Example extends React.Component< | |
Props, | |
State, | |
Snapshot | |
> { | |
static getDerivedStateFromProps( | |
nextProps: Props, | |
prevState: State | |
): $Shape<State> | null { | |
// ... |
{ | |
"name": "webpack-sass", | |
"version": "1.0.0", | |
"scripts": { | |
"start": "webpack-dev-server --open --mode development", | |
"build": "webpack -p" | |
}, | |
"devDependencies": { | |
"babel-core": "^6.26.0", | |
"babel-loader": "^7.1.4", |
const crypto = require('crypto') | |
// larger numbers mean better security, less | |
const config = { | |
// size of the generated hash | |
hashBytes: 32, | |
// larger salt means hashed passwords are more resistant to rainbow table, but | |
// you get diminishing returns pretty fast | |
saltBytes: 16, | |
// A selected HMAC digest algorithm specified by digest is applied to derive |
{ | |
"parser": "babel-eslint", | |
"plugins": [ | |
"react", | |
"react-native" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true |
jest.mock('moment', () => { | |
const moment = require.requireActual('moment'); | |
return moment.utc; | |
}); |
var Promise = require('bluebird'); | |
var crypto = Promise.promisifyAll(require("crypto")); | |
// http://security.stackexchange.com/questions/110084/parameters-for-pbkdf2-for-password-hashing | |
var config = { | |
hashBytes : 64, // size of the generated hash (to be chosen accordint the the chosen algo) | |
saltBytes : 16, // sise of the salt : larger salt means hashed passwords are more resistant to rainbow table | |
iterations : 500000, // tune so that hashing the password takes about 1 second | |
algo :'sha512', | |
encoding : 'base64' // hex is readable but base64 is shorter |
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |