Skip to content

Instantly share code, notes, and snippets.

View jlconlin's full-sized avatar

Jeremy Lloyd Conlin jlconlin

View GitHub Profile
@jlconlin
jlconlin / install.sh
Last active April 26, 2021 11:38
Install Dotfiles
#! /bin/zsh
## ZSH
git clone --recursive git@github.com:jlconlin/.zsh.git ~/.zsh
source ~/.zsh/install.sh
## Vim
git clone --recursive git@github.com:jlconlin/ViMConfig.git ~/.vim
vim +PluginInstall +qall
@jlconlin
jlconlin / poweroffDisplay.py
Last active March 25, 2021 12:27
Raspberry PI OLED Display
from board import SCL, SDA
import busio
import adafruit_ssd1306
# Create the I2C interface
i2c = busio.I2C(SCL, SDA)
disp = adafruit_ssd1306.SSD1306_I2C(128, 64, i2c)
disp.poweroff()
@jlconlin
jlconlin / Swatter.ino
Last active January 30, 2021 03:05
Snooze-Swatter
#include <Servo.h>
#include <Wire.h>
#include <DS3231.h>
#include <Adafruit_GFX.h> // Include Adafruit graphics library
#include <Adafruit_SSD1306.h> // Include Adafruit SSD1306 OLED driver
#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 64 // OLED display height, in pixels
// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)
@jlconlin
jlconlin / Readme.md
Last active March 16, 2020 15:47
Quick setup script

Setup

This script will set up my dotfiles on a new computer. Now, how can I just call something from a gist?