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
#!/bin/bash | |
# SNIPPET REFERENCE | |
# ----------------- | |
# https://cloud9-sdk.readme.io/docs/snippets | |
# https://community.c9.io/t/snippets-not-working-in-c9/19215 | |
# https://github.com/ajaxorg/ace/blob/master/lib/ace/snippets/javascript.snippets | |
# Update NVM | |
wget https://gist.githubusercontent.com/maxfi/f04d8101d73d9f1e2d19f3ca66f05b73/raw/3b093865c0aa36d7198e77ae6748ac648e9965ca/install-latest-nvm.sh |
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
[Desktop Entry] | |
Name=iTerm | |
Comment=Use the command line | |
TryExec=gnome-terminal | |
Exec=gnome-terminal --full-screen | |
Icon=utilities-terminal | |
Type=Application | |
X-GNOME-DocPath=gnome-terminal/index.html | |
X-GNOME-Bugzilla-Bugzilla=GNOME | |
X-GNOME-Bugzilla-Product=gnome-terminal |
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
#!/bin/bash | |
# Install and configure docker. | |
# Based on https://docs.docker.com/engine/installation/linux/ubuntulinux/. | |
# ------------------------------------------------------------------------ | |
# ------------------ | |
# Script setup | |
# ------------------ |
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
#!/bin/bash | |
# Creates script output | |
# $1 = app to get ENVs from | |
# $2 = app to set ENVs to | |
resin envs --application $1 | tail -n +2 | sed 's/^[0-9]* //gm' | sed "s/ \+/ '/gm" | sed "s/$/'/m" | sed 's/^/resin env add /m' | sed "s/$/ --application $2/m" |
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
### Keybase proof | |
I hereby claim: | |
* I am maxfi on github. | |
* I am maxfi (https://keybase.io/maxfi) on keybase. | |
* I have a public key whose fingerprint is 8398 19E7 FB17 C772 16BC E44A A51A 088C 8FCF DA1F | |
To claim this, I am signing this object: |
NewerOlder