Skip to content

Instantly share code, notes, and snippets.

View xero's full-sized avatar
💭
🌃 💾

xero harrison xero

💭
🌃 💾
View GitHub Profile
@xero
xero / autostart
Created June 13, 2014 17:36
herbstluftwm - autostart *wip
#!/bin/bash
#
# ██ ██ ██ ██ ████ ██
# ░██ ░██ ░██ ░██ ░██░ ░██
# ░██ █████ ██████░██ ██████ ██████ ░██ ██ ██ ██████ ██████
# ░██████ ██░░░██░░██░░█░██████ ██░░░░ ░░░██░ ░██░██ ░██░░░██░ ░░░██░
# ░██░░░██░███████ ░██ ░ ░██░░░██░░█████ ░██ ░██░██ ░██ ░██ ░██
# ░██ ░██░██░░░░ ░██ ░██ ░██ ░░░░░██ ░██ ░██░██ ░██ ░██ ░██
# ░██ ░██░░██████░███ ░██████ ██████ ░░██ ███░░██████ ░██ ░░██
# ░░ ░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░ ░░░ ░░░░░░ ░░ ░░
@xero
xero / .stalonetrayrc
Created June 16, 2014 13:07
~/.stalonetrayrc
background "#101010"
decorations none
dockapp_mode none
fuzzy_edges 0
geometry 1x1+333 # position x:333 y:0
grow_gravity NW
icon_gravity NW
icon_size 16
log_level err
kludges force_icons_size
@xero
xero / monokai.html
Last active August 29, 2015 14:05
monokai color scheme hacking
<html>
<head>
<title>monokai color scheme hacking</title>
<style type="text/css">
body {
background: #272822;
color: #f8f8f2;
font-family: "Lucida Console", Monaco, monospace;
}
@xero
xero / preview-color.png
Last active August 29, 2015 14:07
placeholer
preview-color.png
@xero
xero / h9rbj
Created January 31, 2015 18:18
impressivewebs/HTML9-Responsive-Boilerstrap-js deobfuscated >> http://git.io/FdMF
var ꐓ = [
"<pre style='font-family: monospace; font-size: 50px;'>",
"write",
" OH HAI<br>",
" .\"\";._ _.---._ _.-\"\".<br>",
" /_.'_ '-' /`-` _ \\<br>",
" .' / `\\ \\ /` \\ '.<br>",
" .' / ; _ _ '-; \\ ;'.<br>",
" _.' ; / / \\ \\ / \\ ; '._;._<br>",
" .-'.--. | / | \\0|0/ \\ | '-.<br>",
Verifying that +xero is my blockchain ID. https://onename.com/xero
@xero
xero / .gitconfig
Created April 24, 2012 16:58
custom git log graph alias for .gitconfig
#fyi %x20 is a space.
[alias]
graph = log --graph --color --pretty=format:"%C(yellow)%H%C(green)%d%C(reset)%n%x20%cd%n%x20%cn%x20(%ce)%n%x20%s%n"
@xero
xero / dox.sh
Created August 30, 2012 19:40
working on automating my documentation generation. this script pulls out all the php files from a git repo, parses the names, and feeds them into doxphp and pipes that into doxphp2sphinx. which will make rst files from the inline phpdoc comments. the seco
#!/bin/sh
@echo "Making docs"
git ls-files | grep php | while read line; do filename=$(basename $line); newfile=docs/$filename; echo $newfile; doxphp
< $line | doxphp2sphinx > ${newfile/%.php/.rst}; done
@echo "deleting empty files"
rm -f $(find . -empty)
@xero
xero / git-logo-ascii.txt
Created September 4, 2012 20:17
GIT logo ascii art
xxx
xxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
xxx
xxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
@xero
xero / git-ascii.sh
Created January 3, 2013 20:15
git ascii splash screen. name the file git-ascii.sh, and add it on it's own line to ~/.bashrc this will auto-run the splash screen every time your git terminal starts up.
#!/bin/sh
clear
echo -e " "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m xxx \e[01;33m welcome to GIT"
echo -e " \e[00;32m xxxxxxxxxxxxx \e[01;33m the information manager from hell"
echo -e " \e[00;32m xxxxxxxxxxxxx "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m xxx "
echo -e " \e[00;32m \e[01;37m" $(git --version)