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/sh | |
SRCEXT="html" | |
DSTEXT="txt" | |
for file in *.$SRCEXT; do | |
echo "$file -> `basename "$file" .$SRCEXT`.$DSTEXT" | |
mv "$file" "`basename "$file" .$SRCEXT`.$DSTEXT" | |
done |
apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - sudo apt-get install -y nodejs
https://www.linuxbabe.com/ubuntu/install-google-chrome-ubuntu-16-04-lts
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
# checkout, compile & install | |
git clone https://github.com/facebook/watchman.git | |
cd watchman/ | |
git checkout v4.9.0 | |
sudo apt-get install -y autoconf automake build-essential python-dev libssl-dev libtool | |
./autogen.sh | |
./configure | |
make | |
sudo 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
https://www.flickr.com/photos/88005207@N00/3884016462/ | |
https://www.flickr.com/photos/88005207@N00/3883225131 |
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/sh | |
# | |
# util stuff | |
# | |
sudo apt install htop mosh | |
# |
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/sh | |
# NodeJS | |
sudo apt-get update -y && sudo apt-get upgrade -y | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs build-essential |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCng2wmUYHcRrHpQXUQfy2vPP1xDKI9a6Uub1NdfjcWWf+3JUGxM3oaeEsGnRmZZquAZ3X8iwA4Ir0CbU7QNT4BsFQQkfsqacgLCMb/QsdYrEr9iBPi+bhTsWmbL0yBI926+W615j5ZAs+ARWGoc11umW7Yi4L7BVCdZv91OeuYb7iQbWKv1k25ed/XEhQnxI0jao4XKhR/JoBuZ7hjdEiCwDvnUFH4VFbppp+gpRS7q6fG5NNv7a5Dd9LmC4mI+iK6ocwaw/wbgRaY9fdalwJYj67JJYi7QtHbJVEj0tTuA7wFbi709vP1FMmFK0lRPtyQSYsc0pWxfnY1RGh6zpZl burger@burger-imac |
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
#!/usr/bin/python | |
from subprocess import check_output | |
import sys | |
total = len(sys.argv) | |
if total < 2: | |
sys.exit() |
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
const async = require('async'); | |
const Datastore = require('nedb'); | |
const db = new Datastore({ filename: './app.db' }); | |
async.series([ | |
// Load Database | |
function (done) { | |
console.log('load database'); |