Skip to content

Instantly share code, notes, and snippets.

in a marathon of sprints

Kuanysh Bayandinov kuka

in a marathon of sprints
Block or report user

Report or block kuka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kuka on github.
  • I am kuanysh ( on keybase.
  • I have a public key ASDhCD9zmcRw6ojmIM75_aCSObtwahZmfC4hHCJKM9dElQo

To claim this, I am signing this object:

kuka / normalizeCase.ts
Created Feb 22, 2019
Typescript: normalizes string case
View normalizeCase.ts
export const normalizeCase = (str: string) =>
.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())
kuka / autocadcolors.js
Last active Jun 11, 2019
AutoCAD colors index with HEX and RGB equivalents.
View autocadcolors.js
// AutoCAD 0-255 colors mapped with equivalents in HEX and RGB
// source:
export default [{
"aci": 0,
"hex": "#000000",
"rgb": "rgb(0,0,0)"
}, {
"aci": 1,
"hex": "#FF0000",
#!/usr/bin/env bash
curl --output vim.tar.gz
mkdir vim && tar xzvf vim.tar.gz -C vim
export PATH=$PATH:/app/vim/bin
View gist:9bdd2af6e637fe085a82
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 --"
View gist:e9973c53e6323dbeef7b
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
You can’t perform that action at this time.