Skip to content

Instantly share code, notes, and snippets.

View stevequinn's full-sized avatar

Steve Quinn stevequinn

View GitHub Profile
@stevequinn
stevequinn / timezones
Created April 20, 2021 03:28 — forked from ykessler/timezones
JSON list of time zones (Based on Olson tz database)
[
{"group":"US (Common)",
"zones":[
{"value":"America/Puerto_Rico","name":"Puerto Rico (Atlantic)"},
{"value":"America/New_York","name":"New York (Eastern)"},
{"value":"America/Chicago","name":"Chicago (Central)"},
{"value":"America/Denver","name":"Denver (Mountain)"},
{"value":"America/Phoenix","name":"Phoenix (MST)"},
{"value":"America/Los_Angeles","name":"Los Angeles (Pacific)"},
{"value":"America/Anchorage","name":"Anchorage (Alaska)"},
@stevequinn
stevequinn / Shrink.md
Created February 5, 2021 05:06 — forked from umardx/Shrink.md
How to Shrink the Cloned Raspberry Pi Image (Linux-only)

How to Shrink the Cloned Raspberry Pi Image (Linux-only)

These methods create an image file that is equal to the total capacity of the SD card. For example, cloning an SD card with a capacity of 32GB will create an image file of 32 GB, even if only 5 GB is actually in use on the card. This is fine if you only have one or two such images, but any more than that (especially if you use an SSD) will cause you to run out of space. Unfortunately, this tool is only available on Linux. If you do not have Linux installed, you can install the latest version of Ubuntu or Linux Mint in a virtual machine, and run this script there:

shrink.sh

#!/bin/bash