Skip to content

Instantly share code, notes, and snippets.

View ScottJWalter's full-sized avatar
🔮
Particle. Wave. It's all data.

Scott Walter ScottJWalter

🔮
Particle. Wave. It's all data.
View GitHub Profile

DietPi Give your Single-board computer some Lightweight justice. What you'll need:

4GB or greater Micro SD card.
Internet Access (Ethernet or Wifi, required to complete the DietPi setup).
Dedicated USB Drive is highly recommended (Allows DietPi-Software installations to utilize USB over SD).

Step 1 (Download DietPi Image): Download - dietpi.com

@srebalaji
srebalaji / git-hard-delete
Last active October 10, 2023 13:10
Examples of git custom command
#!/bin/sh
branch=$1
if [ ! -z "$1" ]
then
git branch -D $branch
git push -d origin $branch
else
echo "Branch name is not specified"
@jtpio
jtpio / README.md
Last active January 8, 2024 00:39
p5.js Sketch in a Jupyter Notebook

p5.js Sketch in a Jupyter Notebook

Binder

@kvnxiao
kvnxiao / awesome-selfhosted-sorted-by-stars.md
Last active April 18, 2025 09:31
awesome-selfhosted-sorted-by-stars.md

Awesome-Selfhosted

Awesome

Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.

This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.

See Contributing.

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active April 20, 2025 05:41
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@fanuch
fanuch / home_assistant_quick_settings_tile.xml
Created February 25, 2018 00:56
Tasker quick settings tile that uses a single tile to turn on, and off lights! Link: https://goo.gl/Uxq5KN
<TaskerData sr="" dvi="1" tv="5.0u7m">
<Task sr="task71">
<cdate>1519374941058</cdate>
<edate>1519519907982</edate>
<id>71</id>
<nme>Demo</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%url</Str>
@calendee
calendee / .bash_profile
Last active May 14, 2021 23:29
NVM Automatic Switching
# NVM version shortcut
# change title name of tab in terminal
function title {
    echo -ne "\033]0;"$*"\007"
}
cd() {
  builtin cd "$@" || return
  #echo $PREV_PWD
  if [ "$PWD" != "$PREV_PWD" ]; then
@alexellis
alexellis / k8s-pi.md
Last active December 13, 2024 23:24
K8s on Raspbian
@adamar
adamar / client.py
Created April 6, 2017 06:37
Simple Websocket Client & Server Example (Python)
import websocket
import thread
import time
import sys
port = sys.argv[1]
def on_message(ws, message):
@judy2k
judy2k / parse_dotenv.bash
Created March 22, 2017 13:34
Parse a .env (dotenv) file directly using BASH
# Pass the env-vars to MYCOMMAND
eval $(egrep -v '^#' .env | xargs) MYCOMMAND
# … or ...
# Export the vars in .env into your shell:
export $(egrep -v '^#' .env | xargs)