This file contains hidden or 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
# all this stuff was autogenerated and i have no idea what it all means | |
# just like life | |
zstyle ':completion:*' completer _expand _complete _ignored | |
zstyle ':completion:*' list-colors '' | |
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s | |
zstyle ':completion:*' matcher-list 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' | |
zstyle ':completion:*' menu select=5 | |
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s | |
zstyle :compinstall filename '/home/robb/.zshrc' |
This file contains hidden or 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
import XMonad | |
import XMonad.Util.EZConfig | |
main = xmonad $ defaultConfig | |
{ | |
terminal = "urxvt" , | |
modMask = mod4Mask , | |
borderWidth = 2 , | |
focusedBorderColor = "#392929" | |
} |
This file contains hidden or 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
scgi_port = 127.0.0.1:5000 | |
max_uploads = 10 | |
download_rate = 1200 | |
upload_rate = 200 | |
directory = /home/robb/torrents/working | |
schedule = watch_directory,5,5,load_start=/home/robb/downloads/*.torrent | |
use_udp_trackers = yes |
This file contains hidden or 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<match target="font"> | |
<edit name="antialias" mode="assign"> | |
<bool>true</bool> | |
</edit> | |
</match> |
This file contains hidden or 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
CFLAGS="-O2 -pipe -march=native" | |
CXXFLAGS="${CFLAGS}" | |
CHOST="x86_64-pc-linux-gnu" | |
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/" | |
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" | |
VIDEO_CARDS="fglrx" | |
INPUT_DEVICES="evdev" | |
ACCEPT_LICENSES="*" | |
ACCEPT_KEYWORDS="~amd64" | |
MAKEOPTS="-j4" |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MAX_KEY 50 | |
#define MAX_HASH 10 | |
struct node { | |
char key[MAX_KEY]; | |
int value; |
This file contains hidden or 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
#include <stdio.h> | |
int main() { | |
int kwh, cust, i; | |
kwh = cust = -1; | |
if (kwh && cust != -1) | |
printf("golly, zach's pretentious explanation is accurate.\n"); | |
else |
This file contains hidden or 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
/* when in doubt, | |
use brute force */ | |
int l, k; | |
long long inversions = 0; | |
for (l = 0; l < 100000; l++) | |
for (k = l; k < 100000; k++) | |
if (j[l] > j[k]) | |
inversions++; |
This file contains hidden or 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
# .zshrc mashup of davesdots and robbseaton | |
# "compile slow, run fast." - family motto | |
export CFLAGS="-O3 -funsafe-loop-optimizations -ffast-math -march=native -pipe" | |
export CXXFLAGS=${CFLAGS} | |
# export LDFLAGS=${CFLAGS} | |
# I think I speak for everyone when I say "fuck gcc" | |
alias cc="clang -Wall -Wextra -Werror" |
This file contains hidden or 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
(ns art.core | |
(:use quil.core | |
[quil.helpers.seqs :only [range-incl]] | |
[quil.helpers.calc :only [mul-add]])) | |
(defn to-color-range | |
[n] | |
(mod (* 255 n) 255)) | |
(defn draw-point |
OlderNewer