Skip to content

Instantly share code, notes, and snippets.

💭
🌃 💾

x0 xero

💭
🌃 💾
View GitHub Profile
@xero
xero / autostart
Created Jun 13, 2014
herbstluftwm - autostart *wip
View autostart
#!/bin/bash
#
# ██ ██ ██ ██ ████ ██
# ░██ ░██ ░██ ░██ ░██░ ░██
# ░██ █████ ██████░██ ██████ ██████ ░██ ██ ██ ██████ ██████
# ░██████ ██░░░██░░██░░█░██████ ██░░░░ ░░░██░ ░██░██ ░██░░░██░ ░░░██░
# ░██░░░██░███████ ░██ ░ ░██░░░██░░█████ ░██ ░██░██ ░██ ░██ ░██
# ░██ ░██░██░░░░ ░██ ░██ ░██ ░░░░░██ ░██ ░██░██ ░██ ░██ ░██
# ░██ ░██░░██████░███ ░██████ ██████ ░░██ ███░░██████ ░██ ░░██
# ░░ ░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░ ░░░ ░░░░░░ ░░ ░░
@xero
xero / .stalonetrayrc
Created Jun 16, 2014
~/.stalonetrayrc
View .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 Aug 29, 2015
monokai color scheme hacking
View monokai.html
<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 / h9rbj
Created Jan 31, 2015
impressivewebs/HTML9-Responsive-Boilerstrap-js deobfuscated >> http://git.io/FdMF
View h9rbj
var ꐓ = [
"<pre style='font-family: monospace; font-size: 50px;'>",
"write",
" OH HAI<br>",
" .\"\";._ _.---._ _.-\"\".<br>",
" /_.'_ '-' /`-` _ \\<br>",
" .' / `\\ \\ /` \\ '.<br>",
" .' / ; _ _ '-; \\ ;'.<br>",
" _.' ; / / \\ \\ / \\ ; '._;._<br>",
" .-'.--. | / | \\0|0/ \\ | '-.<br>",
View gist:46a78dcc2611c4ff8a7e
Verifying that +xero is my blockchain ID. https://onename.com/xero
@xero
xero / .gitconfig
Created Apr 24, 2012
custom git log graph alias for .gitconfig
View .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 Aug 30, 2012
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
View dox.sh
#!/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 Sep 4, 2012
GIT logo ascii art
View git-logo-ascii.txt
xxx
xxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
xxx
xxx
xxxxxxxxxxxxx
xxxxxxxxxxxxx
@xero
xero / git-pretty-options.txt
Created Oct 1, 2012
git pretty format options
View git-pretty-options.txt
git pretty format options
-------------------------
- '%x20': space
- '%H': commit hash
- '%h': abbreviated commit hash
- '%T': tree hash
- '%t': abbreviated tree hash
- '%P': parent hashes
- '%p': abbreviated parent hashes
- '%an': author name
You can’t perform that action at this time.