Skip to content

Instantly share code, notes, and snippets.

*The camera.*
It freezes a moment in time and records it to film or a digital file.
Simply, it is a mechanical recreation of your eye.
The parts are all there and they operate the same way.
The eye has an iris, retina and eyelid.
The camera has a lens, film and shutter.
These control the amount of light, sensitivity to light, and duration of exposure.
@tkiefhaber
tkiefhaber / gist:1566341
Created January 5, 2012 17:50
TomKiefhaber_HungryAcademy

The Camera

It freezes a moment in time and records it to film or a digital file. But how?
Its components are a mechanical recreation of the human eye.

The eye has an iris, retina and eyelid. Respectively, the camera has a lens, film and shutter. Together these control the amount of light, sensitivity to light, and duration of exposure to light. When all three parts work together, they create the optimal image.

@tkiefhaber
tkiefhaber / gist:5881837
Last active December 19, 2015 02:18
joey
<?php
$limit = stripslashes(str_replace("'","''",$_REQUEST["limit"]));
if (!$limit) $limit = 360;
include "init.php";
connect();
$query = MYSQL_QUERY("SELECT * from settings");
$row = mysql_fetch_array($query);
$beerstring = $row['beerstring'];
?>
# Bob
Bob is a lackadaisical teenager. In conversation, his responses are very limited.
Bob answers 'Sure.' if you ask him a question.
He answers 'Woah, chill out!' if you yell at him (ALL CAPS).
He says 'Fine. Be that way!' if you address him without actually saying anything.
<!DOCTYPE html>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
</head>
<body>
<p id="demo">Click the button to get your coordinates:</p>
<p id="closest"></p>
<button onclick="getLocation()">Try It</button>
<script>
2014-08-13T19:20:02.316590+00:00 app[web.1]: Sent mail to [email protected] (375.2ms)
2014-08-13T19:20:06.366402+00:00 app[web.1]: Started GET
"/users/1/projects/2" for 173.79.107.182 at 2014-08-13 19:20:06 +0000
2014-08-13T19:20:06.612311+00:00 app[web.1]: Rendered layouts/_navigation.html.erb (0.8ms)
2014-08-13T19:20:26.349433+00:00 app[web.1]: Processing by VersionsController#create as HTML
2014-08-13T19:20:26.467313+00:00 app[web.1]: [paperclip] saving /versions/files/000/000/002/original/IMG_3738.mp4
2014-08-13T19:20:10.213090+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2014-08-13T19:20:10.213134+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/content_length.rb:14:in `call'
2014-08-13T19:20:10.213149+00:00 app[web.1]:
2014-08-13T19:20:10.213094+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:20:in `block in call'
<div class='row col-sm-12'>
<% version.comments.each do |comment| %>
<script>
Popcorn.player("baseplayer");
var popcorn = Popcorn( "#video-<%= version.id %>" );
popcorn.footnote({
start: <%= comment.start_time %>,
end: <%= comment.start_time + 5 %>,
target: "footer-<%= version.id %>",
@Jan Koszewski buckle up because i’ve got a story for you
ok, so in my dream last night you and john phillips were going to the bowling alley
all the dang time and were getting really good. lots of LS people woudl go and hang
out after work, but you guys were the kings of the lanes and were getting to be
super popular because of it. there was a girl who worked there who was the hot
red headed girl from game of thrones who always says “you know nothing john snow”
and she always wore flip flops and everybody loved her because she was beautiful and
aloof and she didn’t think we were cool but she always was really nice to you.
but i started to notice that her feet were weird and would move around in funny ways
/***************************************************
This is an example for the Adafruit CC3000 Wifi Breakout & Shield
Designed specifically to work with the Adafruit WiFi products:
----> https://www.adafruit.com/products/1469
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
03-02 12:01:16.154 1111-1127/com.example.tomk.geoquiz D/OpenGLRenderer﹕ Render dirty regions requested: true
03-02 12:01:16.162 1111-1111/com.example.tomk.geoquiz D/Atlas﹕ Validating map...
03-02 12:01:16.225 1111-1127/com.example.tomk.geoquiz I/OpenGLRenderer﹕ Initialized EGL, version 1.4
03-02 12:01:16.266 1111-1127/com.example.tomk.geoquiz D/OpenGLRenderer﹕ Enabling debug mode 0
03-02 13:06:07.126 4888-4888/com.example.tomk.geoquiz D/QuizActivity﹕ onStart() called
03-02 13:06:07.128 4888-4888/com.example.tomk.geoquiz D/QuizActivity﹕ onResume() called
03-02 13:06:07.150 4888-4905/com.example.tomk.geoquiz D/OpenGLRenderer﹕ Render dirty regions requested: true
03-02 13:06:07.162 4888-4888/com.example.tomk.geoquiz D/Atlas﹕ Validating map...
03-02 13:06:07.172 4888-4888/com.example.tomk.geoquiz D/QuizActivity﹕ onPause() called
03-02 13:06:07.272 4888-4905/com.example.tomk.geoquiz I/OpenGLRenderer﹕ Initialized EGL, version 1.4