Skip to content

Instantly share code, notes, and snippets.

@tgrrtt
tgrrtt / gist:659efb1a05851062a232c66c28f65765
Last active March 9, 2018 23:59
Install stuff on ubuntu 12.04
Tmux
https://gist.github.com/P7h/91e14096374075f5316e
Git
https://askubuntu.com/questions/571549/git-1-7-9-5-upgrade-to-current-release-of-git-2-x-on-ubuntu-12-04
Tig
http://jonas.nitro.dk/tig/INSTALL.html
or https://launchpad.net/~aguignard/+archive/ubuntu/ppa
@tgrrtt
tgrrtt / keymap.json
Created January 31, 2016 17:26
Ergodox Infinity Keymap
{
"header": {
"Author": "HaaTa (Jacob Alexander) 2015",
"Base": "Blank",
"Date": "2015-09-12",
"Generator": "KIICONF 0.2",
"KLL": "0.3c",
"Layout": "Default",
"Name": "MDErgo1",
"Version": "0.1"
[alias]
hist = log --graph --abbrev-commit --date=relative --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
•_•)
( •_•)>⌐■-■
(⌐■_■)
@tgrrtt
tgrrtt / travis.yml
Last active January 10, 2021 17:58
Travis-CI Config File (.travis.yml)
# Set up notification options
notifications:
email:
recipients:
- one@example.com
- other@example.com
# change is when the repo status goes from pass to fail or vice versa
on_success: change
on_failure: always
@tgrrtt
tgrrtt / deploy.sh
Created November 11, 2014 00:44
Deploy script
#!/bin/bash
wget $file
sudo stop $upstartName
# if dist exists (or public or whatever the tar extracts to
if [ -e dist ]
then
sudo rm -rf dist
fi
# extact the tar
@tgrrtt
tgrrtt / newubuntu.sh
Last active August 29, 2015 14:09
New Ubuntu Setup w/ Nginx & Upstart
curl -sL https://deb.nodesource.com/setup | sudo bash - &&
sudo apt-get install -y nodejs
sudo apt-get update &&
sudo apt-get install nginx &&
sudo apt-get install git
## upgrade aps and resolve deps with the more important ones
sudo apt-get dist-upgrade
#chagne to root
@tgrrtt
tgrrtt / travis.yml
Created November 11, 2014 00:39
Travis Example
language: node_js
node_js:
- '0.10'
notifications:
email: false
after_success:
- test $TRAVIS_PULL_REQUEST = false
&& echo -e "Host *.cloudapp.net\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
&& openssl aes-256-cbc -K $encrypted_1d50cdfa274b_key -iv $encrypted_1d50cdfa274b_iv -in .travis/k.key.enc -out .travis/k.key -d
&& chmod 600 .travis/k.key
@tgrrtt
tgrrtt / keybase.md
Created October 21, 2014 00:11
keybase

Keybase proof

I hereby claim:

  • I am tgrrtt on github.
  • I am tgrrtt (https://keybase.io/tgrrtt) on keybase.
  • I have a public key whose fingerprint is 3FBA ED63 1781 3484 A579 CAC4 3FB1 E673 E743 4076

To claim this, I am signing this object:

@tgrrtt
tgrrtt / gist:6a186ee1fdf618d1b313
Created October 17, 2014 20:57
fullstack-angular azure web.config
<?xml version="1.0" encoding="utf-8"?>
<!--
This configuration file is required if iisnode is used to run node processes behind
IIS or IIS Express. For more information, visit:
https://github.com/tjanczuk/iisnode/blob/master/src/samples/configuration/web.config
-->
<configuration>
<system.webServer>