I hereby claim:
- I am d4l3k on github.
- I am rice (https://keybase.io/rice) on keybase.
- I have a public key ASBtYOET68iOovA9diYLWSp76eKOQL_Oq8fn6ylzf_gB3Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
This is a gist with a set of helpful performance tricks and best practices that I've found on the internet.
javascript:var total = 0; var mine = 0; [].forEach.call(document.querySelectorAll('p'), function(a){ var bits = a.innerText.split(":")[1].split("/"); total += parseInt(bits[1]); mine += parseInt(bits[0]);}); alert(mine + " / " + total + "\n" + (mine/total*100).toFixed(1)+"%") |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
Step one. Back up your original shipfile before replacing it, this will delete everything in your ship, including your storage, I recommend taking everything you want to keep planetside and storing it there while you transfer everything over to the new ship. | |
Step two. Unpack/Extract to "C:\Program Files (x86)\Steam\SteamApps\common\Starbound\player" | |
Step three. Find your existing character code, and rename the included file to that, keeping the ship extension. | |
Step four. Enjoy a giant completely in-game modular sandbox ship. |
diff -uprN -X linux-3.12-rc7-vanilla/Documentation/dontdiff linux-3.12-rc7-vanilla/drivers/hid/hid-axff.c linux-3.12-rc7/drivers/hid/hid-axff.c | |
--- linux-3.12-rc7-vanilla/drivers/hid/hid-axff.c 2013-10-27 16:12:03.000000000 -0700 | |
+++ linux-3.12-rc7/drivers/hid/hid-axff.c 2013-10-30 22:23:55.172586734 -0700 | |
@@ -95,7 +95,7 @@ static int axff_init(struct hid_device * | |
} | |
} | |
- if (field_count < 4) { | |
+ if (field_count < 4 && hid->product != 0xf705) { | |
hid_err(hid, "not enough fields in the report: %d\n", |
\documentclass[11pt,letterpaper,twocolumn]{article} | |
%Gummi|065|=) | |
\title{\textbf{Calculus 2 Notes}} | |
\author{Tristan Rice} | |
\date{} | |
\usepackage{amsmath} | |
\usepackage{graphicx} | |
\usepackage[margin=2cm,top=1.5cm]{geometry} | |
\usepackage{multicol} | |
\newcommand{\be}{\begin{equation}} |
/usr/local/rvm/rubies/ruby-1.9.3-p448/bin/ruby extconf.rb | |
checking for main() in -lmysqlclient... no | |
checking for main() in -lpthread... yes | |
checking for main() in -lz... yes | |
checking for main() in -lm... yes | |
checking for main() in -lrt... yes | |
checking for main() in -lssl... yes | |
checking for main() in -lcrypto... yes | |
checking for main() in -ldl... yes | |
checking for localtime_r()... yes |
xscreensaver.splash: false | |
! xscreensaver --------------------------------------------------------------- | |
!font settings | |
xscreensaver.Dialog.headingFont: -*-dejavu sans mono-bold-r-*-*-12-*-*-*-*-*-*-* | |
xscreensaver.Dialog.bodyFont: -*-dejavu sans mono-medium-r-*-*-12-*-*-*-*-*-*-* | |
xscreensaver.Dialog.labelFont: -*-dejavu sans mono-medium-r-*-*-12-*-*-*-*-*-*-* | |
xscreensaver.Dialog.unameFont: -*-dejavu sans mono-medium-r-*-*-12-*-*-*-*-*-*-* | |
xscreensaver.Dialog.buttonFont: -*-dejavu sans mono-bold-r-*-*-12-*-*-*-*-*-*-* | |
xscreensaver.Dialog.dateFont: -*-dejavu sans mono-medium-r-*-*-12-*-*-*-*-*-*-* |
#!/bin/bash | |
# | |
# Parses DHCP options from openvpn to update resolv.conf | |
# To use set as 'up' and 'down' script in your openvpn *.conf: | |
# up /etc/openvpn/update-resolv-conf | |
# down /etc/openvpn/update-resolv-conf | |
# | |
# Used snippets of resolvconf script by Thomas Hood <jdthood@yahoo.co.uk> | |
# and Chris Hanson | |
# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL. |