#Resources#
###Installation Profiles###
###Features##
###Drush & Makefiles###
#!/bin/bash | |
cows[1]=beavis.zen | |
cows[2]=bong | |
cows[3]=bud-frogs | |
cows[4]=bunny | |
cows[5]=cheese | |
cows[6]=cower | |
cows[7]=daemon | |
cows[8]=default |
javascript:(function inject(callback){var baseUrl="http://ajaxorg.github.com/ace-builds/textarea/src/";var load=window.__ace_loader__=function(path,module,callback){var head=document.getElementsByTagName('head')[0];var s=document.createElement('script');s.src=baseUrl+path;head.appendChild(s);s.onload=function(){window.__ace_shadowed__.require([module],callback);};};load('ace-bookmarklet.js',"ace/ext/textarea",function(){var ace=window.__ace_shadowed__;ace.options={mode:'javascript',theme:'monokai',gutter:'true',fontSize:'12px',softWrap:'off',showPrintMargin:'false',useSoftTabs:'true',showInvisibles:'true'};var Event=ace.require("ace/lib/event");baseUrl='';load('http://pastebin.com/raw.php?i=rP7LJZHD',"ace/keyboard/vim",function(){var vim=ace.require('ace/keyboard/vim').handler;var areas=document.getElementsByTagName("textarea");for(var i=0;i<areas.length;i++){Event.addListener(areas[i],"click",function(e){if(e.detail==3){var editor=ace.transformTextarea(e.target,load);editor.setKeyboardHandler(vim);}});}call |
#Resources#
###Installation Profiles###
###Features##
###Drush & Makefiles###
.search-box { | |
flex: 1; | |
-webkit-flex: 1; | |
width: 100%; | |
max-width: 40em; | |
min-width: 14em; | |
margin: 1rem; | |
box-sizing: border-box; | |
transition: margin 0.2s linear; | |
margin: auto; |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("mozilla.org"), | |
domain("mozilla.net"), | |
domain("mozdev.org"), | |
domain("mozillazine.org"), | |
domain("seamonkey-project.org"), | |
domain("drumbeat.org"), | |
domain("mozillapopcorn.org"), | |
domain("mozillalabs.com"), |
#!/bin/bash | |
#rofi -modi "run,ssh" -show run -auto-select | |
# ampersands at the end of the line will fork the application laucnhed so it | |
# shows init as its owner instead of this script. | |
j4-dmenu-desktop --dmenu="/usr/bin/rofi -m -2 -dmenu -i -p '' -modi "run,ssh" -show run" & |
#!/bin/bash | |
# Pass the password in the block instance | |
if [[ -n $BLOCK_INSTANCE ]]; then | |
password=("-h" "$BLOCK_INSTANCE@localhost") | |
fi | |
filter() { | |
echo -n '[' | |
tr '\n' ' ' | grep -Po '.*(?= \[playing\])|paused' | tr -d '\n' |
#!/bin/bash | |
# | |
# Author: Raphael P. Ribeiro <[email protected]> | |
MPCSTAT=`mpc | grep -v '^volume:'` | |
if [ -z "${MPCSTAT}" ]; then # if not playing, exit | |
echo "$line" || exit 1 | |
else | |
if [ $1 == '1' ]; then # if arg = 1, show music symbols | |
MPCSTAT2=`echo "${MPCSTAT}" | sed 's, *, ,g; 1h;1d;2G' | head -n1 | cut -d ']' -f 1 | tr -d [` |
#!/bin/sh | |
usage() { echo "Usage: $0 [-i enable icon]" 1>&2; exit 1; } | |
lock=" " | |
unlock=" " | |
icon=" " #rocket | |
text="VPN" | |
while getopts "d:i" o; |
#!/bin/bash | |
# Xorg window id | |
ID=$(xdpyinfo | grep focus | cut -f4 -d " ") | |
# SHELL id | |
PID=$(xprop -id $ID | grep -m 1 PID | cut -d " " -f 3) | |
# TERM id | |
TERM_ID=$(pgrep -P $PID) | |
#echo "ID: $ID" | |
#echo "PID: $PID" |