Skip to content

Instantly share code, notes, and snippets.

View dwallraff's full-sized avatar

Dave Wallraff dwallraff

View GitHub Profile
@dwallraff
dwallraff / raspberrypi_chromebook.md
Last active January 12, 2024 20:25
Setting up a Raspberry Pi-Hole using a chromebook

Setup a Pi-Hole from a Chromebook

Create the image

@dwallraff
dwallraff / openpgp.md
Created August 13, 2022 16:29
keyoxide proof
@dwallraff
dwallraff / op_gpg.md
Last active January 12, 2024 20:27
Use 1password `op` to encrypt/decrypt with gpg
@dwallraff
dwallraff / convert_to_pdf
Last active November 12, 2023 20:23
Convert jpeg's to pdf/a with OCR and encrypts them
#! /usr/bin/env bash
#-- Dave Wallraff
# First things first, I'm the realest...
### convert scans to OCR'd PDF/A, and encrypt them
# curl -sL dwallraff.com/scanned | bash
# wrap in a function for curl|bash
do_stuff() {
@dwallraff
dwallraff / videos.html
Last active March 12, 2022 05:15 — forked from simonhaenisch/video-player.html
Play local video files in the browser (HTML5 video player) with playlist, speed control and keyboard shortcuts for pause (spacebar) and 5 second jump (left/right arrow). Created to watch Wes Bos tutorials offline. Playback speed defaults to 2x.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Local HTML5 Video Player</title>
</head>
<body>
<style>
* { box-sizing: border-box; }
@dwallraff
dwallraff / unidentified_developer.sh
Created January 28, 2022 22:18
osx Unidentified developer fix
# add file to quarentine to be able to run via cli
xattr -dr com.apple.quarantine <binary>
@dwallraff
dwallraff / puzzles.sh
Last active January 28, 2024 19:16
Download puzzle pdfs for remarkable
#! /usr/bin/env bash
#-- Dave Wallraff
# First things first, I'm the realest...
### Download puzzles for reMarkable
# curl -sL dwallraff.com/puzzles | bash
# wrap in a function for curl|bash
do_stuff() {

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@dwallraff
dwallraff / yubikey.md
Last active January 11, 2024 01:50
Use chromebook to configure your yubikeys

Yubikey setup on a Chromebook

First get a secure-ish linux env

  • Get the chromebook recovery app
  • Download the latest xubuntu iso
  • Zip the iso
  • Use the chrome recovery app to create a bootable USB
  • Put chromebook into dev mode (esc+refresh+power)
  • Press Ctrl + D when the warning pops up
@dwallraff
dwallraff / local_admin.sh
Created September 17, 2020 21:43
mac laptop changes for better admin
#! /usr/bin/env bash
# mac laptop changes for better admin
# You need to have local admin and be on the VPN
# Check this with a successful 'sudo su'
# If that command fails, so will this script
echo "$USER ALL=(ALL:ALL) ALL" | sudo tee --append /etc/sudoers
sudo mkdir -p /Library/Developer/CommandLineTools