Skip to content

Instantly share code, notes, and snippets.

View dennmart's full-sized avatar

Dennis Martinez dennmart

View GitHub Profile
version: 2
jobs:
build:
working_directory: ~/airport_gap
docker:
- image: circleci/ruby:2.6.5-node
environment:
PGHOST: 127.0.0.1
PGUSER: airport_gap
@dennmart
dennmart / user_role_example.js
Created June 23, 2020 03:28
Example on how user roles work in TestCafe
import { Role } from "testcafe";
const user = Role("https://example.com/login", async t => {
// Steps for logging in go here.
});
fixture("My application")
.page("https://example.com/home")
.beforeEach(async t => {
await t.useRole(user);
@dennmart
dennmart / wanikani_lcd.md
Last active July 23, 2023 01:53
Get study queue information from WaniKani API and display on 20x4 LCD screen

Parts used

  • Raspberry Pi (Model B)
  • 20x4 LCD screen (like this one)
  • 10K Potentiometer (like this one)
  • Breadboard
  • Breadboard Wires
  • Breakout header pins (0.1-inch)

Hardware wiring instructions