Skip to content

Instantly share code, notes, and snippets.

View robbiet480's full-sized avatar
😩
terminally online

Robbie Trencheny robbiet480

😩
terminally online
View GitHub Profile
# vim: set ft=conf
# Expect UTF-8, even if the terminal doesn't report it.
set-window-option -g utf8 on
set-window-option -g status-utf8 on
# Basic Options
set-option -g base-index 1
set-window-option -g pane-base-index 1
set-option -g set-titles on
@robbiet480
robbiet480 / build.log
Created September 12, 2014 18:37
Ansible fails to build on Yosemite DP7
==> Installing ansible dependency: libyaml
==> Downloading http://pyyaml.org/download/libyaml/yaml-0.1.6.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libyaml/0.1.6
==> make install
🍺 /usr/local/Cellar/libyaml/0.1.6: 7 files, 348K, built in 10 seconds
==> Installing ansible
==> Downloading http://releases.ansible.com/ansible/ansible-1.7.1.tar.gz
######################################################################## 100.0%
==> Downloading https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.tar.gz
brew install mongodb
==> Downloading http://downloads.mongodb.org/src/mongodb-src-r2.6.4.tar.gz
Already downloaded: /Library/Caches/Homebrew/mongodb-2.6.4.tar.gz
==> /usr/local/opt/scons/bin/scons install --prefix=/usr/local/Cellar/mongodb/2.6.4_1 -j8 --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --osx-version-min=10.9 --full --64
/usr/bin/clang++ -o build/darwin/64/cc__usr_bin_clang/cxx__usr_bin_clang++/osx-version-min_10.9/third_party/s2/s2edgeindex.o -c -Wnon-virtual-dtor -Woverloaded-virtual -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror -O3 -m64 -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -mmacosx-version-min=10.9 -Isrc/third_party/s2 -DDEBUG_MODE=false -Wno-mismatched-tags -DBOOST_ALL_NO_LIB -D_SCONS -DMONGO_EXPOSE_MACROS -DSUPPORT_UTF8 -DMONGO_OPTIMIZED_BUILD -D_FILE_OFFSET_BITS=64 -DMONGO_HAVE___THREAD -DMONGO_HAVE_HEADER_UNISTD_H -DM
 robbiet480  ~  /Applications/Viscosity.app/Contents/MacOS/Viscosity
Traceback (most recent call last):
File "main.py", line 18, in <module>
import Foundation
File "/usr/local/lib/python2.7/site-packages/Foundation/__init__.py", line 9, in <module>
import CoreFoundation
File "/usr/local/lib/python2.7/site-packages/CoreFoundation/__init__.py", line 13, in <module>
sys.modules['CoreFoundation'] = mod = objc.ObjCLazyModule('CoreFoundation',
AttributeError: 'module' object has no attribute 'ObjCLazyModule'
2014-09-08 20:44:30.051 Viscosity[1017:507] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '/Projects/Viscosity/trunk/Source/main.m:95 main() PyRun_SimpleFile failed with file '/Applications/Viscosity.app/Contents/Resources/main.py'. See console for errors.'
@robbiet480
robbiet480 / inspircd.txt
Created August 26, 2014 19:39
How to compile inspircd for kickass.systems
Configure command:
./configure --enable-openssl --enable-extras=m_geoip.cpp,m_ldapauth.cpp,m_ldapoper.cpp,m_ssl_openssl.cpp,m_regex_pcre.cpp
Required packages on Ubuntu for that to succeed:
python-dev libpcre3-dev libssl1.0.0 libssl-dev pkg-config libldap2-dev
root@sfo1:~/inspircd-2.0.17# ./configure --help
Usage: configure [options]
*** NOTE: NON-INTERACTIVE CONFIGURE IS *NOT* SUPPORTED BY THE ***
*** INSPIRCD DEVELOPMENT TEAM. DO NOT ASK FOR HELP REGARDING ***
*** NON-INTERACTIVE CONFIGURE ON THE FORUMS OR ON IRC! ***
Options: [defaults in brackets after descriptions]
When no options are specified, interactive
fortune -a | sed -e 's/america/amareica/g' -e 's/America/Amareica/g' -e 's/anybody/anypony/g' -e 's/Anybody/Anypony/g' -e 's/anyone/anypony/g' -e 's/Anyone/Anypony/g' -e 's/boy/colt/g' -e 's/Boy/Colt/g' -e 's/butthurt/saddle-sore/g' -e 's/Butthurt/Saddlesore/g' -e 's/children/foals/g' -e 's/Children/Foals/g' -e 's/child/foal/g' -e 's/Child/Foal/g' -e 's/cowboy/cowpony/g' -e 's/Cowboy/Cowpony/g' -e 's/cowgirl/cowpony/g' -e 's/Cowgirl/Cowpony/g' -e 's/gentlemen/gentlecolts/g' -e 's/Gentlemen/Gentlecolts/g' -e 's/everybody/everypony/g' -e 's/Everybody/Everypony/g' -e 's/everyone/everypony/g' -e 's/Everyone/Everypony/g' -e 's/feet/hooves/g' -e 's/Feet/Hooves/g' -e 's/folks/foalks/g' -e 's/Folks/Foalks/g' -e 's/fool/foal/g' -e 's/Fool/Foal/g' -e 's/foot/hoof/g' -e 's/Foot/Hoof/g' -e 's/girls/fillies/g' -e 's/Girls/Fillies/g' -e 's/girl/filly/g' -e 's/Girl/Filly/g' -e 's/halloween/nightmare night/g' -e 's/Halloween/Nightmare Night/g' -e 's/hands/hooves/g' -e 's/Hands/Hooves/g' -e 's/handed/hooved/g' -e 's/Handed/Ho
adams.freenode.net +7000
asimov.freenode.net +7000
banks.freenode.net +7000
barjavel.freenode.net +7000
bradbury.freenode.net +7000
brooks.freenode.net +7000
calvino.freenode.net +7000
cameron.freenode.net +7000
card.freenode.net +7000
chat.freenode.net +7000

Keybase proof

I hereby claim:

  • I am robbiet480 on github.
  • I am robbiet (https://keybase.io/robbiet) on keybase.
  • I have a public key whose fingerprint is 1811 38D3 8B15 8624 904E 9774 E30E 17CB 4ADC EB8B

To claim this, I am signing this object:

@robbiet480
robbiet480 / bullshit.js
Created April 26, 2014 06:20
i should make a jslib named bullshitjs
var inputArray = [10, 20, 30, 42];
var addedArray = [];
inputArray.map(function(val,index){
var thisIndex = index;
if(thisIndex >= 1) {
var prevIndex = thisIndex-1;
}
addedArray.push(inputArray[thisIndex] + inputArray[prevIndex])