Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Letterboxd IMDb/TMDB ID Copier
// @author calliah333
// @namespace https://letterboxd.com/
// @version 1.0.0
// @description Copy a film's IMDb or TMDB ID by Shift-clicking its IMDb or TMDB button.
// @match https://letterboxd.com/film/*
// @grant GM_setClipboard
// @run-at document-start
// ==/UserScript==
@calliah333
calliah333 / update_route53_ip.sh
Last active April 5, 2022 20:56
Update Route53's IP to the server's current IP
#!/bin/bash
ZONE_ID="[REDACTED]"
NAME="[REDACTED]"
AWS_IP=`aws route53 list-resource-record-sets --hosted-zone-id $ZONE_ID | jq '(.ResourceRecordSets[] | select(.Name | test("'$NAME'")) | [.ResourceRecords] )' | jq -r '.[0][0].Value'`
RETVAL=$?
if [ $RETVAL -ne 0 ]; then # Check if exit code doesn't equal 0
exit 0

Best practices for PCB Design

Schematics

  • Power symbols should point upwards
  • Ground symbols should point downards
  • Sections should be labeled
  • Nets should generally not cross
  • Nets should be labeled
  • Either global or regular labels are fine