Skip to content

Instantly share code, notes, and snippets.

@gotoplanb
gotoplanb / Hartnett Command Performance
Created May 14, 2011 14:25 — forked from ryanpitts/Hartnett Command Performance
Let your Mac read you the latest @drunkhulk updates from Twitter
read -a choices <<<'Agnes Kathy Princess Vicki Victoria Bruce Fred Junior Ralph Albert Bahh Bells Boing Bubbles Cellos Deranged Hysterical Trinoids Whisper Zarvox'; n=${#choices[*]}; voice=${choices[$((RANDOM%n))]}; curl https://api.twitter.com/1/statuses/user_timeline.rss?screen_name=DRUNKHULK | grep '<description>.*</description>' | sed -e 's/<\/*description>//g' -e 's/ \/ DRUNKHULK//g' -e 's/DRUNKHULK: //g' | say -v $voice

How to think like a hacker.

Still think jailbreaking should be spelled with two words and involve police chases? Hackers have a different perspective on the world. Not what does this gadget do, but what can I make it do. This course introduces you to that mentality so you can start thinking like hacker.

What about doing some physical computing (arduino) stuff in an intro seminar? The objective being to install the hacking spirit with something tangible.

<!DOCTYPE html>
<html>
<head></head>
<body>
<script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://static.flowplayer.org/tools/css/tabs.css" />
<style>
https://www.google.com/calendar/ical/bosshardtrealty.com_5tbu3hqvucnh3eflakq7abcvas%40group.calendar.google.com/private-bc5c70bb36579b868dfc769522e0356a/basic.ics
@gotoplanb
gotoplanb / gist:818624
Created February 9, 2011 15:20
WCJB post copy -- app stores
<p>Apple created the concept of a device-specific app store for the iPhone. The concept is ubiquitous for smart phones and mobile devices. The next breed of app stores take the concept to your computer, Internet-streaming box and event the Web browser itself.</p>
<p>Dave Stanton of <a href="http://smartmediacreative.com">Smart Media Creative</a> tells David Snyder what different app stores are doing to help consumers find useful applications to make their devices more productive and fun. The TV segment talked primarily about mobile device apps stores. If you want to learn more about computer, streaming and browser apps stores, you can <a href="http://smartmediacreative.com/blog/apps-for-everything-a-review-of-how-different-app-stores-are-helping-consumers">read this blog post from Dave Stanton</a>.</p>
@gotoplanb
gotoplanb / Commercial Realty Flyer request
Created January 4, 2011 21:22
Based off suggestion of Jamie Kennedy
<iframe src="http://spreadsheets2.google.com/a/smartmediacreative.com/embeddedform?formkey=dEJnY0VvZUo5OXdFd0VnWl9rREh6aGc6MQ" width="760" height="2196" frameborder="0" marginheight="0" marginwidth="0">Loading...</iframe>
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
START=yes
# Which user runs PHP? (default: www-data)
EXEC_AS_USER=www-data
# Host and TCP port for FASTCGI-Listener (default: localhost:9000)
FCGI_HOST=localhost
FCGI_PORT=10005
@gotoplanb
gotoplanb / PHP Fastcgi config
Created December 28, 2010 19:58
Used for Project 185 server
#! /bin/sh
### BEGIN INIT INFO
# Provides: php-fastcgi
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop php-cgi in external FASTCGI mode
# Description: Start and stop php-cgi in external FASTCGI mode
### END INIT INFO
It's tough to pick out holiday gadget gifts. WCJB Gadgetologist Dave Stanton gives his picks for fun, useful and educational holiday gadgets. Visit <a href="http://blog.bosshardtrealty.com/the_bosshardt_blog/2010/12/dave-stantons-tv20-picks-for-holiday-gadgets.html" target="_blank">The Bosshardt Blog</a> for prices and links for all of the gadgets.