Skip to content

Instantly share code, notes, and snippets.

View schappim's full-sized avatar
🎯
Focusing

Marcus Schappi schappim

🎯
Focusing
View GitHub Profile
<html lang="en"><head>
<script async="" defer="true" src="https://static.olark.com/jsclient/jquery.js"></script><script async="" defer="true" src="https://api.olark.com/2.0/sites/4728-501-10-9212/visits?_callback=_olark_callback_1416325803379&amp;_method=POST&amp;_data=%7B%22conversation_id%22%3A%22A652k76mNuoHxzKG2L9Bo6DLBE6O5E3k%22%7D"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/plugins/ga/inpage_linkid.js" id="undefined"></script><script type="text/javascript" defer="" async="" src="https://analytics.sparkfun.com/piwik/piwik.js"></script><script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script><script src="//cdn.optimizely.com/js/2005040085.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- mobile mode if small screen device -->
<meta name="description" content="KIT-12060: The SparkFun Inventor
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
raspistill -t 50 -o image.jpg
raspistill -w 640 -h 480 -q 5 -o /tmp/stream/pic.jpg -tl 1 -t 999999 -th 0:0:0
#!/usr/bin/env ruby
require 'rubygems'
require 'sinatra'
get '/' do
"hello world"
end
#!/usr/bin/env ruby
require 'rubygems'
require 'sinatra'
set :bind, '0.0.0.0'
set :port, 80
get '/' do
sensor = '28-000005314719'

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

Usage:

Have a Raspberry Pi connected to a TV by composite video in PAL mode.

Build the programs:

make

Twiddle the registers:

Successfully installed net-http-persistent-2.9.4
Successfully installed netrc-0.10.2
Successfully installed rest-3.0.3
Successfully installed iron_core-1.0.5
Successfully installed bundler-1.8.0
Successfully installed rubyzip-1.1.7
Successfully installed iron_worker_ng-1.6.2
7 gems installed
I, [2015-02-11T05:16:41.895906 #17] INFO -- IronWorkerNG: Found workerfile with path='import_staged_bulk_import.worker'
I, [2015-02-11T05:16:41.896031 #17] INFO -- IronWorkerNG: Adding ruby gem dependency with name='shopify_api' and version='>= 0'
@schappim
schappim / gist:541872ae71a16c6486c6
Created February 26, 2015 04:09
crazy-ones.txt
“Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differently. They're not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. About the only thing you can't do is ignore them. Because they change things. They push the human race forward. And while some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do.”
― Apple Inc.