I hereby claim:
- I am mikekamornikov on github.
- I am mikekamornikov (https://keybase.io/mikekamornikov) on keybase.
- I have a public key ASBI6DFufK-_ZmxHD7wVFziAeDwQtjAxu8Ec94A0nNRepAo
To claim this, I am signing this object:
| ## Dev cheat sheet | |
| ### 1. Create Maxwell and Ankara users in the database: | |
| ```sql | |
| CREATE USER 'maxwell'@'%' IDENTIFIED BY 'Passw0rd'; | |
| GRANT ALL ON maxwell.* TO 'maxwell'@'%'; | |
| GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE ON *.* TO 'maxwell'@'%'; |
| package main | |
| import "github.com/aws/aws-sdk-go/aws" | |
| func GetAWSConfig() *aws.Config { | |
| return &aws.Config{ | |
| Endpoint: aws.String("http://localhost:4100"), | |
| Region: aws.String("us-west-1"), | |
| } | |
| } |
I hereby claim:
To claim this, I am signing this object:
| <?php | |
| function dictionary_to_extensions() | |
| { | |
| global $dictionary; | |
| $keySeparator = '~'; | |
| $iterator = new RecursiveIteratorIterator(new RecursiveArrayIterator($dictionary)); | |
| $paths = []; |
| FROM ibmcom/db2express-c | |
| RUN su - db2inst1 -c "db2start" |
| #!/bin/zsh | |
| alias sss="date +%s" | |
| fts () { | |
| sec=$(( `sss` - $1 )) | |
| ((h=${sec}/3600)) | |
| ((m=(${sec}%3600)/60)) | |
| ((s=${sec}%60)) | |
| printf "%02d:%02d:%02d\n" $h $m $s |
| # Disable SELinux | |
| echo 0 > /selinux/enforce | |
| perl -pi -e 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config | |
| # Install required packages | |
| yum install pdksh compat-libstdc++-33 compat-libstdc++-33.i686 libaio libaio.i686 \ | |
| pam-1.1.1-17.el6.x86_64 pam-1.1.1-17.el6.i686 nfs-utils openssh-clients \ | |
| numactl | |
| # Update Kernel Parameters (http://ibm.co/1czEKb4) |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |