This file contains hidden or 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
import socket | |
import requests | |
import sys | |
import os | |
name = socket.gethostname() | |
AUTH_TOKEN = 'YOUR_API_KEY_HERE' | |
PINBOARD_URL = 'https://api.pinboard.in/v1/posts/add' | |
FILE_NAME = './ipAddress' |
This file contains hidden or 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
#!/usr/bin/python | |
# Prep output from Scrivener for publication by Leanpub. | |
# By Nate Dickson <[email protected]> | |
# 1 August 2018 | |
import os, shutil, errno | |
# Remove the manuscript images folder before creating book.txt |
This file contains hidden or 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
-- Sideways Desktop Layout | |
-- Cord Comes Out Here Cord Comes Out Here | |
-- | |
-- │ │ | |
-- │ │ | |
-- ▼ ▼ | |
-- ┌────┬────┬────┬────┐ ┌────┬────┬────┬────┐ | |
-- │ 11 │ 8 │ 5 │ 2 │ │LED │ F6 │ F7 │ F8 │ <- Global Shortcuts, Purple | |
-- │ │ │ │ │ │I/O │ │ │ │ |
This file contains hidden or 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
function pre(text){ | |
// Headings | |
const h1m = /^#\s(.*\b)\s?(#)?$/gm; | |
const h1b = `[h1]$1[/h1]`; | |
text = text.replace(h1m,h1b); | |
const h2m = /^#{2}\s(.*\b)\s?(#{2})?$/gm; | |
const h2b = `[h2]$1[/h2]`; | |
text = text.replace(h2m,h2b); |
This file contains hidden or 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
# Christmas Tree with random lights | |
# By Nate Dickson | |
# 19 November 2024 | |
# This code is written in CircuitPython | |
# For a Raspberry Pi Pico 2040 | |
# But should work for any CircuitPython capable microcontroller. | |
import board | |
import digitalio | |
import time |
This file contains hidden or 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
# | |
# Module manifest for module 'Personal.GitCommands' | |
# | |
# Generated by: Nate Dickson | |
# | |
# Generated on: 12/6/2024 | |
# | |
@{ |
OlderNewer