Skip to content

Instantly share code, notes, and snippets.

View gvn's full-sized avatar
🥀
technopagan is the term

Gavin Suntop gvn

🥀
technopagan is the term
View GitHub Profile
@gvn
gvn / criterion.csv
Last active July 7, 2023 10:29
The Criterion Collection
Catalog Number Title Director Year
1 Grand Illusion Renoir,Jean 1937
2 Seven Samurai Kurosawa,Akira 1954
3 The Lady Vanishes Hitchcock,Alfred 1938
4 Amarcord Fellini,Federico 1974
5 The 400 Blows Truffaut,François 1959
6 Beauty and the Beast Cocteau,Jean 1946
7 A Night to Remember Baker,Roy Ward 1958
8 The Killer Woo,John 1989
9 Hard Boiled Woo,John 1992
@gvn
gvn / code-smell.md
Last active June 16, 2021 09:02
Eliminating Code Smell With Grunt

Eliminating Code Smell With Grunt

by Gavin Lazar Suntop @gvn

Intro

I love clean code. There, I said it. I pride myself on passing strict linting standards and keeping my code easy to read. It's not just a personal proclivity, but a choice I hope benefits other developers.

My general experience with teams has been that code style is something people care about and have strong personal preferences. Typically, at some point people get tired of dealing with inconsistency and a standardization meeting is called. This is, of course, an important discussion to have. The problem that tends to occur is either lack of documentation or lack of enforcement of the agreed upon style. Additionally, new team members or contributors may not have access to a clear set of rules.

@gvn
gvn / fatosxsort.md
Last active December 6, 2020 04:39
Sorting FAT disks via OSX
  1. brew install fatsort
  2. Run mount (note the /dev/MOUNTPOINT and /Volumes/DISKNAME)
  3. sudo umount /Volumes/DISKNAME
  4. sudo fatsort /dev/MOUNTPOINT
{
"spocs": [
{
"domain_affinities": {
"abc.go.com": 1,
"abcnews.com": 1,
"abcnews.go.com": 1,
"adweek.com": 1,
"alltop.com": 1,
"alphastreet.com": 1,
@gvn
gvn / pi-temp.sh
Created July 15, 2017 22:30
Get the CPU & GPU temperature of a Raspberry Pi
#!/bin/bash
cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$(hostname)"
echo "$(date)"
echo ""
echo "GPU: $(/opt/vc/bin/vcgencmd measure_temp | sed "s/'/°/g" | sed "s/temp=//g")"
echo "CPU: $((cpu/1000))°C"
@gvn
gvn / ubuntu-pms.md
Last active April 8, 2017 21:14
Upgrading Plex Media Server on Ubuntu Server

Manual

  1. In the Plex web client click Settings -> General.
  2. Copy target URL for "Please Install Manually".
  3. wget MANUAL_UPDATE_URL -O pms.deb
  4. sudo dpkg -i pms.deb
  5. rm pms.deb

Bash script

@gvn
gvn / npm-front-end.md
Created March 11, 2016 00:40
NPM for Front-end Libraries

NPM for Front-end Libraries

@gvn
gvn / radical.md
Last active February 20, 2016 17:50
🤘

Radical

Stuff I think is pretty dang rad. Inspired by Awesome – but more personal.

Code Libraries

Node.js

@gvn
gvn / ISSUE_TEMPLATE.md
Last active February 18, 2016 17:03
New Issue Template
*OS:* ALL
*Browser:* ALL
*Screenshot:*

**Repro Steps:**
1. STEP
2. STEP
3. STEP