Skip to content

Instantly share code, notes, and snippets.

Avatar

Tyler Larson tylerl

  • Google
  • Seattle-ish, WA
View GitHub Profile
@tylerl
tylerl / attiny7seg.cc
Last active Feb 9, 2018
7-segment-4-digit i2c display driver (designed for attiny2313)
View attiny7seg.cc
#include <Arduino.h>
#include <avr/io.h>
#include <Wire.h>
// Wire plan
// B7(SCL) B5(SDA) for I2C
//
// seg: A B C D E F G DP
// prt: D6 D5 D4 D3 D2 D1 D0 B4
// pin: 11 9 8 7 6 3 2 16
View keybase.md

Keybase proof

I hereby claim:

  • I am tylerl on github.
  • I am tylerl (https://keybase.io/tylerl) on keybase.
  • I have a public key whose fingerprint is 34C4 FE98 605C 8540 F00E 6A00 6A19 1C22 8E13 CAC9

To claim this, I am signing this object:

View designer.html
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
@tylerl
tylerl / rsa.py
Created Sep 24, 2011
RSA Explained in Python
View rsa.py
#!/usr/bin/env python
# This example demonstrates RSA public-key cryptography in an
# easy-to-follow manner. It works on integers alone, and uses much smaller numbers
# for the sake of clarity.
#####################################################################
# First we pick our primes. These will determine our keys.
#####################################################################