This file contains 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
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion |
This file contains 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteRule . /index.html [L] |
This file contains 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
# Make sure unzip, make etc are installed | |
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip | |
unzip db-4.8.30.zip | |
cd db-4.8.30 | |
cd build_unix/ | |
../dist/configure --prefix=/usr/local --enable-cxx | |
make | |
make install |
This file contains 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
class ::Hash | |
# via https://stackoverflow.com/a/25835016/2257038 | |
def stringify_keys | |
h = self.map do |k,v| | |
v_str = if v.instance_of? Hash | |
v.stringify_keys | |
else | |
v | |
end |
This file contains 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
curl -H "Content-Type: application/json" -X POST --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}' http://123.123.123.123:8545 |
This file contains 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
Other 11 hrs 37 mins ██████████▎░░░░░░░░░░ 49.3% | |
Swift 11 hrs 3 mins █████████▊░░░░░░░░░░░ 46.9% | |
Ruby 32 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.3% | |
CSS 14 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0% | |
Git Config 2 mins ░░░░░░░░░░░░░░░░░░░░░ 0.2% |
This file contains 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
d |
This file contains 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
Yxngxr1 |███ | 14.76% Let's Shake | |
Sueco the Child |██▊ | 13.97% no sleep in my body | |
Lil Peep |██▌ | 12.53% Falling Down - Bonus Track | |
Young Spool |██▏ | 10.38% Weekend | |
$NOT |█▍ | 6.77% Moon & Stars (feat. Maggie Lindemann) | |
The Kid LAROI |█▎ | 6.38% Let Her Go | |
fun. |█▏ | 5.41% We Are Young (feat. Janelle Monáe) | |
XXXTENTACION |█ | 5.29% Falling Down - Bonus Track | |
Maggie Lindemann |▊ | 3.55% Moon & Stars (feat. Maggie Lindemann) | |
AzChike |▊ | 3.53% No Fucks (feat. Sueco The Child and AzChike) |