I hereby claim:
- I am kuka on github.
- I am kuanysh (https://keybase.io/kuanysh) on keybase.
- I have a public key ASDhCD9zmcRw6ojmIM75_aCSObtwahZmfC4hHCJKM9dElQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
export const normalizeCase = (str: string) => | |
str | |
.replace(/\b(?:[a-zA-Z]\.){2,}/, a => a.toUpperCase()) | |
.replace(/(?!\b(?:[a-zA-Z]\.){2,})/, a => a.toLowerCase()) | |
.replace(/(\w*[a-z0-9_]+\w*)/g, a => a.toLowerCase()) |
// AutoCAD 0-255 colors mapped with equivalents in HEX and RGB | |
// source: http://sub-atomic.com/~moses/acadcolors.html | |
export default [{ | |
"aci": 0, | |
"hex": "#000000", | |
"rgb": "rgb(0,0,0)" | |
}, { | |
"aci": 1, | |
"hex": "#FF0000", |
#!/usr/bin/env bash | |
curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz | |
mkdir vim && tar xzvf vim.tar.gz -C vim | |
export PATH=$PATH:/app/vim/bin |
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" |
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
– git lg | |
– git lg -p – with changes |