This is kind of an esoteric programming language. The goal is to be as ugly as possible.
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
git_wrap_r() { | |
git `echo $@ | cut -b 1 --complement` | |
} | |
git_wrap_l() { | |
letter=$1 | |
shift | |
git $letter$@ | |
} |
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
use std::f64::consts::PI; | |
fn main() { | |
for y in (-25..25).filter(|x| x % 2 == 0) { | |
for x in -25..25 { | |
let r = ((x * x + y * y) as f64).sqrt() as i32; | |
let t = (((y as f64 / x as f64).atan() + PI / 2.0) * PI) - PI / 2.0; | |
if r < 25 && r > 12 { | |
let diff = 25 - r; | |
let line = (if t < 0.0 { | |
1.0 - (-t / PI / 2.0) |
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
"_vimrc - Zack Hixon, cheezgi at github | |
"last updated 2016-03-24 | |
" maps {{{ | |
filetype plugin on | |
" let nvim use python | |
"let g:python_host_prog='C:/Python27/python.exe' | |
let g:python3_host_prog='C:/Users/Zack/AppData/Local/Programs/Python/Python37/python.exe' |
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
;; | |
;; esmb.ahk | |
;; Author: Erik Elmore <[email protected]> | |
;; Version: 1.1 (Aug 16, 2005) | |
;; | |
;; Emulate scrolling/middle button | |
;; | |
;; Enables you to use any key with cursor movement | |
;; to emulate a scrolling middle button. While |
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
#!/bin/zsh | |
function popup() { | |
# how long bar stays open | |
duration=4 | |
# color of bar | |
bar_bg='#4265f4' | |
# bar position |
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
# adapted and annotated from rosettacode | |
# https://rosettacode.org/wiki/Voronoi_diagram#Python | |
# pillow library | |
from PIL import Image | |
import random | |
import math | |
# cells is synonymous with sites | |
def generate_voronoi_diagram(width, height, num_cells, name): |
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 "planck.h" | |
#include "action_layer.h" | |
#include "eeconfig.h" | |
extern keymap_config_t keymap_config; | |
// zackh planck layout - too many tri-layers? nah m9 | |
// raise + lower = roll | |
// spin + flap = screw |
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
"_vimrc - Zack Hixon, cheezgi at github | |
"last updated 2016-03-24 | |
"pre-installed options, not going to touch | |
set nocompatible | |
source $VIMRUNTIME/vimrc_example.vim | |
source $VIMRUNTIME/mswin.vim | |
behave mswin | |
set diffexpr=MyDiff() |