Skip to content

Instantly share code, notes, and snippets.

View BrianSigafoos's full-sized avatar

Brian Sigafoos BrianSigafoos

View GitHub Profile
# Word and Character Count service for Mac OS X
# Adds a Word and Character Count option to the text selection context menu
# Use Automator.app to create a new service, and then select the Run AppleScript
# action. Paste in this code and save as Word and Character Count. Now switch to
# a new app, select some text, and open the context menu to find the new option.
# Copyright 2012, Noah Slater <nslater@apache.org>
@BrianSigafoos
BrianSigafoos / .bash_profile
Last active September 15, 2017 16:48
Bash Profile
export PATH=~/bin:$PATH
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
txtblk='\e[0;30m' # Black - Regular
txtred='\e[0;31m' # Red
txtgrn='\e[0;32m' # Green
txtylw='\e[0;33m' # Yellow
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Verifying myself: My Bitcoin username is +briansigafoos. https://onename.io/briansigafoos
@BrianSigafoos
BrianSigafoos / sf-coworking
Last active August 29, 2015 14:02 — forked from gabriel/gist:6998753
SF Co-working spaces & prices
Parisoma @ 11th & Howard
http://www.parisoma.com/startups/#dedicated
$595
Sandbox Suites @ 10th & Mission
http://www.sandboxsuites.com/coworking/
$495, $595 (skybox)
Hub @ 5th & Mission
https://bayarea.impacthub.net/join-us/
#chat-box.ubuntu.hidden-xs
.closed
.pull-right
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-chevron-up').html_safe, 'chat.show()'
.m-l-small
= link_to_function 'Chat with us', 'chat.show()'
.opened{style: 'display: none'}
.header
.pull-right
= link_to_function content_tag(:i, nil, class: 'glyphicon glyphicon-plus-sign').html_safe, 'chat.maximize()', class: 'maximize', style: 'display: none'