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
// ==UserScript== | |
// @name cell.sh friend map | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @require https://cdn.socket.io/socket.io-1.4.5.js | |
// @description try to take over the world! | |
// @author Jake Mayeux | |
// @match http://cell.sh/* | |
// @run-at document-end | |
// ==/UserScript== |
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
var sh = Screen.main().frame().height; | |
var sw = Screen.main().frame().width; | |
var menuBarHeight = 23; | |
var lastWindow = { | |
position: 'left or right', | |
hash: 'the window hash' | |
} | |
Key.on('left', [ 'ctrl', 'shift' ], function(){ | |
setLeft(); |
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
nmap ; : | |
set nocompatible | |
"nmap <C-b> :.!bash | |
set ai | |
set rtp +=~/.vim/bundle/Vundle.vim | |
set path+=** |
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
alias helpless='--help | less' | |
alias hideFiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
alias showFiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
alias vim="mvim" | |
alias basic-www='cp ~/templates/basic-www/* ./' | |
alias gate-sftp='sftp jmayeux@gateway.coe.neu.edu' | |
alias gate-ssh='ssh jmayeux@gateway.coe.neu.edu' | |
alias list-bin='echo $PATH | sed -e $'"'"'s/:/\\\n/g'"'"'' | |
alias todo='todo.sh' |
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
icon = hs.menubar.new() | |
-- icon2 = hs.menubar.new() | |
icon:setMenu({ | |
{ title = hs.battery.capacity().." mAh"}, | |
}) | |
icon:setTitle(hs.battery.amperage().." mAh") | |
function mAhUpdate() | |
icon:setTitle(hs.battery.amperage().." mAh") |
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
(define SHEEP .) | |
(define SCENE (empty-scene 500 500)) | |
(define CAR .) | |
(define BALLOON .) | |
(define CAKE .) | |
;;Exercise 3 | |
(define (letter-grade score) | |
(if (> score 90) "A" | |
(if (> score 80) "B" |
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 | |
xmodmap ~/.xmodmap | |
xset m 2 0 | |
xset r rate 140 60 | |
/home/jdm/.fehbg | |
sxhkd & | |
#plank & |
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
# | |
# my keys | |
# | |
super + Tab | |
bspc desktop -f next | |
super + shift + Tab | |
bspc desktop -f prev | |
XF86AudioLowerVolume |
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
[bar/bspc] | |
;background = #242a34 | |
background = #242424 | |
foreground = #b7bdca | |
width = 2560 | |
height = 32 | |
modules-left = time | |
modules-center = bspwm | |
modules-right = battery | |
font-0 = Sans-Regular:size=8;0 |
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 "themes/chalk" | |
*.foreground: #d7ddea | |
Xft.dpi: 227 | |
//Xft.dpi: 113 | |
//Xft.autohint: 0 | |
//Xft.lcdfilter: lcddefault | |
//Xft.hintstyle: hintfull | |
//Xft.hinting: 0 | |
//Xft.antialias: true |
OlderNewer