# Replace Node.js tools with bun
alias node='bun'
alias npm='bun'
alias npx='bunx'
# AI Coding Tools
alias qwen='bunx @qwen-code/qwen-code@preview -y'I hereby claim:
- I am aungmyokyaw on github.
- I am aungmyokyaw (https://keybase.io/aungmyokyaw) on keybase.
- I have a public key ASDMNDEoWOO5d61tIzyTTPITQl6f5_lQ918E5Wr48D2Mbwo
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function nayNum(str) { | |
| // to filter consonant | |
| var consonant = /[က-အ](?!်|္)/g;//thanks to ko camhill(mysteryzillion.org) for this regex. | |
| function setRex(i) { | |
| var s1 = /[အ]/; | |
| var s2 = /[က-င]/; | |
| var s3 = /[စ-ည]/; | |
| var s4 = /[ယ-ဝ]/; | |
| var s5 = /[ပ-မ]/; | |
| var s6 = /[သဟ]/; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [https://gist.github.com/stephou0104/233b5c99884f1d8c8b8b#file-ubuntu-compass-ruby] | |
| sudo apt-get update | |
| sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties | |
| sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
| curl -L https://get.rvm.io | bash -s stable | |
| gpg2 --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 | |
| source ~/.rvm/scripts/rvm | |
| echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function pairwise(arr, arg) { | |
| var amk=[]; | |
| if(arr.length===0){ | |
| return 0; | |
| } | |
| arr.forEach(function(element,index){ | |
| if(isNaN(element)===false){ | |
| var tofind=arg-element; | |
| var indexpos=arr.indexOf(tofind); | |
| if(indexpos!==-1 && index!==indexpos){ |