Skip to content

Instantly share code, notes, and snippets.

View edp8489's full-sized avatar

Eric Peters edp8489

View GitHub Profile
@FunctionDJ
FunctionDJ / linux-debian-ubuntu.md
Last active September 7, 2026 19:38
Useful Linux / Debian / Ubuntu commands and stuff

Upgrade a Postgres DB in Docker (e.g. for paperless-ngx)

services:
  old:
    image: postgres:13
    container_name: pg13
 volumes:
@leblancfg
leblancfg / tableau_10.scss
Created October 6, 2020 13:41
Tableau 10 Color Palette Hex Codes
// Tableau 10 color theme
$themes: (
blue: #5778a4,
orange: #e49444,
red: #d1615d,
teal: #85b6b2,
green: #6a9f58,
yellow: #e7ca60,
purple: #a87c9f,
pink: #f1a2a9,
@stahta01
stahta01 / build_cross_gcc.sh
Last active October 16, 2022 20:38 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
@isti03
isti03 / adb-linux.md
Last active July 10, 2026 21:35
Install ADB (Android Debug Bridge) on Linux and useful snippets

Getting ADB (Android Debug Bridge) working on linux can be a bit harder than on other operating systems. This guide aims to help with that.

Installation

1. Install the adb package

Just use your package manager

2. Add yourself to the plugdev group

@preshing
preshing / build_cross_gcc
Last active March 17, 2026 11:33
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.