Skip to content

Instantly share code, notes, and snippets.

View xero's full-sized avatar
๐Ÿ’พ

xero harrison xero

๐Ÿ’พ
View GitHub Profile
@xero
xero / .conkyrc
Last active December 28, 2015 08:59
horizontal conky system monitor script (#!) screenshot: http://i.imgur.com/iFbyi0J.png
# conky configuration
#
# screenshot: http://i.imgur.com/iFbyi0J.png
#
##############################################
# Settings
##############################################
background yes
use_xft yes
xftfont Monospace:size=10
@xero
xero / autostart
Created June 13, 2014 17:36
herbstluftwm - autostart *wip
#!/bin/bash
#
# โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆ
# โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘ โ–‘โ–ˆโ–ˆ
# โ–‘โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ
# โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘ โ–‘โ–ˆโ–ˆโ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘ โ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘
# โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘ โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ
# โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–‘โ–‘โ–‘โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ
# โ–‘โ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–ˆโ–ˆโ–ˆ โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–‘โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–‘โ–ˆโ–ˆ โ–‘โ–‘โ–ˆโ–ˆ
# โ–‘โ–‘ โ–‘โ–‘ โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘ โ–‘โ–‘โ–‘ โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘ โ–‘โ–‘ โ–‘โ–‘
@xero
xero / panel
Created June 13, 2014 17:37
herbstluftwm - panel *wip
#!/bin/bash
hc() { "${herbstclient_command[@]:-herbstclient}" "$@" ;}
monitor=${1:-0}
geometry=( $(herbstclient monitor_rect "$monitor") )
if [ -z "$geometry" ] ;then
echo "Invalid monitor $monitor"
exit 1
fi
# geometry has the format W H X Y
@xero
xero / screenfetch-custom-arch.sh
Created June 13, 2014 19:05
screenfetch - custom arch logo
#!/usr/bin/env bash
# screenFetch - a CLI Bash script to show system/theme info in screenshots
# Copyright (c) 2010-2014 Brett Bohnenkamper <kittykatt@kittykatt.us>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
@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 / ascii.cheatsheet
Created January 31, 2015 07:47
box drawing cheat sheet for ascii art
โ•“โ”€โ”€โ”€โ”€โ”€[ box drawing cheat sheet ]
โ•™โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”€ โ”€
โ”€ โ” โ”‚ โ”ƒ โ”„ โ”… โ”† โ”‡ โ”ˆ โ”‰ โ”Š โ”‹ โ”Œ โ” โ”Ž โ”
โ” โ”‘ โ”’ โ”“ โ”” โ”• โ”– โ”— โ”˜ โ”™ โ”š โ”› โ”œ โ” โ”ž โ”Ÿ
โ”  โ”ก โ”ข โ”ฃ โ”ค โ”ฅ โ”ฆ โ”ง โ”จ โ”ฉ โ”ช โ”ซ โ”ฌ โ”ญ โ”ฎ โ”ฏ
@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>",
@xero
xero / todo.sh
Last active December 9, 2017 10:38
todo.sh
#!/bin/bash
#
# simple todo script
#
# โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“
# โ–‘โ–“ author โ–“ xero <x@xero.nu>
# โ–‘โ–“ code โ–“ http://code.xero.nu/todo
# โ–‘โ–“ mirror โ–“ http://git.io/todo
# โ–‘โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“โ–“
# โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘