This script will set up my dotfiles on a new computer. Now, how can I just call something from a gist?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
## ZSH | |
git clone --recursive [email protected]:jlconlin/.zsh.git ~/.zsh | |
source ~/.zsh/install.sh | |
## Vim | |
git clone --recursive [email protected]:jlconlin/ViMConfig.git ~/.vim | |
vim +PluginInstall +qall |