Skip to content

Instantly share code, notes, and snippets.

View geolessel's full-sized avatar
🏎️

Geoffrey Lessel geolessel

🏎️
View GitHub Profile
/****************************************************************************\
File: main.c
Date: 2020-06-22
Description:
Detect the edge of a button/switch on PortA Pin 2. Use that to toggle the
output of PortC Pin 13 (onboard LED).
USED PORTS:
- A2 (button input)
class App
@@windows : Array(Window) = [] of Window
def self.windows=(windows)
@@windows = windows
end
end
class Window; end
@geolessel
geolessel / gist:37ede6f7f961f862a604
Last active August 29, 2015 14:27 — forked from jimbojsb/gist:1630790
Code highlighting for Keynote presentations

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

@geolessel
geolessel / profile_viewer.html
Created October 28, 2014 16:47
First try at react.js
<html>
<head>
<script src="http://fb.me/react-0.11.2.js"></script>
<script src="http://fb.me/JSXTransformer-0.11.2.js"></script>
</head>
<body>
<h1>Facebook Profile Picture Loader</h1>
<p>Just enter the username of the user you'd like to see</p>
<div id='pic'></div>

Keybase proof

I hereby claim:

  • I am geolessel on github.
  • I am geo (https://keybase.io/geo) on keybase.
  • I have a public key whose fingerprint is 4636 C637 4224 E01B B1D5 3E1F C1CE 2B01 7487 DA76

To claim this, I am signing this object: