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
| set -e | |
| cd ~ | |
| git clone https://github.com/vim/vim | |
| cd vim | |
| ./configure | |
| make | |
| sudo apt remove -y vim | |
| sudo make install | |
| rm -rf ~/vim |
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
| # gvm 1.4 -> 1.9.2 | |
| bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
| source /home/isucon/.gvm/scripts/gvm | |
| gvm install go1.4 && gvm use go1.4 | |
| gvm install go1.9.2 && gvm use go1.9.2 --default |
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
| cd ~ | |
| mkdir koto && cd koto | |
| git clone https://github.com/koto-dev/cpuminer-yescrypt | |
| cd cpuminer-yescrypt | |
| ./autogen.sh | |
| ./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer" | |
| make | |
| # change k** your address !! | |
| cpulimit -l 140 -- ./minerd -a yescrypt -o stratum+tcp://okoto.xyz:51000 -u k** |
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
| cd ~ | |
| mkdir koto && cd koto | |
| git clone https://github.com/koto-dev/cpuminer-yescrypt | |
| cd cpuminer-yescrypt | |
| ./autogen.sh | |
| ./configure CFLAGS="-O3 -march=native -funroll-loops -fomit-frame-pointer" | |
| make | |
| # change k** your address and start mining!! | |
| # cpulimit -l 140 -- ./minerd -a yescrypt -o stratum+tcp://okoto.xyz:51000 -u k** |
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
| mkdir yenten && cd yenten | |
| git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt | |
| sudo apt install libdb++-dev libssl-dev libgmp3-dev #libdb++ | |
| ./autogen.sh | |
| ./configure CFLAGS="-O3 -march=native -Wall" | |
| make | |
| # ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u murata.miner1 -p **** | |
| # cpulimit -l 140 -- ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u ****.**** -p **** |
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
| mkdir yenten && cd yenten | |
| git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt | |
| sudo apt install libdb++-dev libssl-dev libgmp3-dev #libdb++ | |
| ./autogen.sh | |
| ./configure CFLAGS="-O3 -march=native -Wall" --with-curl | |
| make | |
| # ./cpuminer -a yescryptr16 -o stratum+tcp://bunnymining.work:20333 -u murata.miner1 -p **** |
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
| mkdir yenten && cd yenten | |
| git clone https://github.com/JayDDee/cpuminer-opt.git && cd cpuminer-opt | |
| sudo apt install -y libdb++-dev libssl-dev libgmp3-dev zlib1g-dev #libdb++ | |
| ./autogen.sh | |
| CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11 -funroll-loops -fomit-frame-pointer" ./configure --with-curl | |
| make |
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 setScore(abc, scoreDOM, midiDOM) { | |
| let tunes = ABCJS.renderAbc(scoreDOM, abc, {}, { | |
| responsive: 'resize', | |
| paddingtop: 0, | |
| scale: 1, | |
| paddingbottom: 0, | |
| }); | |
| ABCJS.renderMidi( | |
| midiDOM, abc, {}, { | |
| program: 25, |
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
| import pandas as pd | |
| import tweepy | |
| def get_api(): | |
| c_k = "K**" | |
| c_s = "u**" | |
| a_k = "2**" | |
| a_s = "b**" | |
| auth = tweepy.OAuthHandler(c_k, c_s) | |
| auth.set_access_token(a_k, a_s) |
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
| import os | |
| import system | |
| import strutils | |
| import sequtils | |
| import algorithm | |
| proc findCallCount(line:string) : string = | |
| let args = line.split(" ") | |
| for i,arg in args: |