Skip to content

Instantly share code, notes, and snippets.

// ==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==
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();
nmap ; :
set nocompatible
"nmap <C-b> :.!bash
set ai
set rtp +=~/.vim/bundle/Vundle.vim
set path+=**
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'
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")
(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"
#! /bin/sh
xmodmap ~/.xmodmap
xset m 2 0
xset r rate 140 60
/home/jdm/.fehbg
sxhkd &
#plank &
#
# my keys
#
super + Tab
bspc desktop -f next
super + shift + Tab
bspc desktop -f prev
XF86AudioLowerVolume
[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
#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