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
XTerm*reverseVideo: true | |
XTerm*scrollBar: false | |
XTerm*metaSendsEscape: true | |
XTerm*termName: xterm-256color | |
XTerm*forceBoxChars: true | |
XTerm*font: -*-proggysquare-*-*-*-*-11-*-*-*-*-*-*-* |
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
/** | |
* $ gcc artest.c -o artest | |
* $ ./artest /dev/ttyUSB0 | |
*/ | |
#include <assert.h> | |
#include <stdint.h> | |
#include <stdio.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> |
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 | |
LATLON_BERLIN="52.302:13.2356" | |
LATLON_CHICAGO="41.894917:-87.632446" | |
REDSHIFT_CMDLINE="-l $LATLON_CHICAGO" | |
sh ~/.fehbg & | |
redshift $REDSHIFT_CMDLINE & | |
setxkbmap -option compose:caps & |
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
! these are evilroot's colours: http://dotshare.it/dots/136/ | |
! Black | |
*color0: #1B1D1E | |
*color8: #505354 | |
! Red | |
*color1: #ff005f | |
*color9: #ff6767 | |
! Green | |
*color2: #afd700 | |
*color10: #8ce25d |
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 | |
# ustream | |
USTREAM_KEY="" | |
STREAM_URL="rtmp://1.12617548.fme.ustream.tv/ustreamVideo/12617548/$USTREAM_KEY flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)" | |
# livestream | |
#LIVESTREAM_USER= | |
#LIVESTREAM_PASSWORD | |
#URL="mogulus/vosonon/username=$LIVESTREAM_USER/password=$LIVESTREAM_PASSWORD/isAutoLive=true" |
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
" Generated by colorsupport.vim (DO NOT MODIFY THIS LINE) | |
hi clear | |
set background=dark | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let g:colors_name = "womblack256" | |
hi Normal guifg=#f6f3e8 guibg=NONE gui=none cterm=none ctermfg=15 ctermbg=NONE | |
hi SpecialKey gui=none guifg=Cyan guibg=none cterm=none ctermfg=51 ctermbg=none | |
hi NonText gui=bold guifg=Blue guibg=none cterm=bold ctermfg=21 ctermbg=none |
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
static void fb_status(const char *where) | |
{ | |
switch (glCheckFramebufferStatus(GL_FRAMEBUFFER)) { | |
case GL_FRAMEBUFFER_COMPLETE: | |
printf(" :: GL_FRAMEBUFFER_COMPLETE in %s\n", where); | |
break; | |
case GL_FRAMEBUFFER_UNDEFINED: | |
printf(" :: GL_FRAMEBUFFER_UNDEFINED in %s\n", where); | |
break; |
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
/** | |
* william light <[email protected]> wrote this in 2012 | |
* | |
* released under creative commons CC0 | |
* http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
#include <sys/stat.h> | |
#include <stdlib.h> | |
#include <fcntl.h> |
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
#include <stdlib.h> | |
#include <stdio.h> | |
/** | |
* this code has been placed into the public domain | |
*/ | |
/** | |
* ideally you'd have a hashmap (or lately i've been pretty happy with | |
* binary-trie-backed dicts), but in a pinch this sort of thing can be |
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 | |
# ustream | |
STREAM_KEY="" | |
STREAM_URL="rtmp://1.12617548.fme.ustream.tv/ustreamVideo/12617548/$STREAM_KEY flashver=FMLE/3.0\20(compatible;\20FMSc/1.0)" | |
# livestream | |
#LS_USER= | |
#LS_PASSWD= | |
#URL="mogulus/$LS_USER/username=$LS_USER/password=$LS_PASS/isAutoLive=true" |
OlderNewer