Skip to content

Instantly share code, notes, and snippets.

@idcrook
idcrook / use-package_neotree.el
Last active September 18, 2018 18:15
neotree 26.1 display-line-numbers-mode
;; sidebar and dired in one
(use-package neotree
:bind
("<f8>" . neotree-toggle)
:config
;; needs package all-the-icons
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
;; Disable line-numbers minor mode for neotree
(add-hook 'neo-after-create-hook
@idcrook
idcrook / tiny_f_gen_16x2_LCD_char.ino
Created March 10, 2018 06:14
Code customized ATtiny85 PLL DDS (Direct Digital Synthesis) function generator and 16x2 LCD HD44780 with i2c backpack
/*
* Adapted by @idcrook for
* - Adafruit LCD 16x2 I2C/SPI Backpack
* - KY-040 Rotary Encoder with a switch
*
* Tiny Function Generator with Sine Wave
David Johnson-Davies - www.technoblogy.com - 7th March 2018
ATtiny85 @ 8 MHz (internal PLL; BOD disabled)
@idcrook
idcrook / tiny_i2c_lcd_rotary_encoder.ino
Last active January 25, 2024 17:43
ATtiny85 and i2c LCD backpack plus rotary encoder
/*
Demonstration sketch for Adafruit LCD backpack
using MCP23008 I2C expander
Uses the ATTiny 85 (replaces Trinket below)
Also hooked up a rotary encoder with a button.
The circuit:
* 5V to Arduino 5V pin
* GND to Arduino GND pin
* Display i2c backpack CLK to Trinket GPIO #2 (Arduino pin 2/attiny85 pin 7)
@idcrook
idcrook / tiny_i2c_lcd.ino
Last active March 9, 2018 17:19
Using I2C and ATtiny85 with Adafruit I2C / SPI LCD Backpack
/*
Demonstration sketch for Adafruit LCD backpack
using MCP23008 I2C expander
Uses the ATTiny 85 (replaces Trinket below)
The circuit:
* 5V to Arduino 5V pin
* GND to Arduino GND pin
* Display i2c backpack CLK to Trinket GPIO #2 (Arduino pin 2/attiny85 pin 7)
* Display i2c backpack DAT to Trinket GPIO #0 (Arduino pin 0/attiny85 pin 5)

Keybase proof

I hereby claim:

  • I am idcrook on github.
  • I am idcrook (https://keybase.io/idcrook) on keybase.
  • I have a public key ASAiUjUO9xqm396RIfHRpXxgwTqytz2iPsAJtqT3f6sGAAo

To claim this, I am signing this object:

brew install java
brew install jenkins
brew pin jenkins

Create a hidden user for daemon

@idcrook
idcrook / jenikns_ci_on_osx.md
Last active August 29, 2015 14:27 — forked from ostinelli/jenkins_ci_on_osx.md
Setup Jenkins CI on OSX.

Jenkins CI on OSX

Instructions on how to setup a secured Jenkins CI on a Mac.

Download & Install dependencies

All of these operations are done with your admin user.

Developer tools

Install the command line developer tools.