Skip to content

Instantly share code, notes, and snippets.

View iandouglas's full-sized avatar

w. ian douglas iandouglas

View GitHub Profile
@iandouglas
iandouglas / README.md
Last active November 28, 2020 23:41
Debugging PostgreSQL problems

I got 99 problems and PostgreSQL is EVERY SINGLE ONE OF THEM!

I put together these notes to help diagnose and repair PostgreSQL installations and other problems.

Step One -- how did you install the app?

You either installed it via Homebrew, or you installed it via download at postgresapp.com. Either is fine. Most problems I see with PostgreSQL come from Homebrew.

If you installed BOTH you need to decide which one to remove.

@iandouglas
iandouglas / linkedin-intros.md
Last active June 22, 2025 04:04
Can an Instructor introduce me to someone at a company via LinkedIn?

LinkedIn Introductions

If you find a company where you're interested in applying for work, here are some steps you can follow to see if any of your instructors know someone at the company, or know someone who knows someone, etc.

(instructions are accurate as of late August 2020, but subject to change if LinkedIn changes their UI)

  1. Connect with your instructor via LinkedIn. (eg, https://linkedin.com/in/iandouglas736)
  2. Once connected, click on your instructor's profile.
  3. In their profile you should see how many connections they have (or just "500+ connections"). Click on that as a link. (it won't be a clickable link until you're directly connected with your instructor)
  4. Click on the "Current companies" dropdown at the top, and type in the name of the company and click Apply.
@iandouglas
iandouglas / readme.md
Last active October 5, 2025 23:28
Use LinkedIn to get Introductions through your network

LinkedIn Introductions

If you find a company where you're interested in researching to eventually apply for work, here are some steps you can follow to see if any of your existing LinkedIn connections know someone at the company, or know someone who knows someone, etc.

Instructions

(instructions are accurate as of late May 2022, but subject to change if LinkedIn changes their UI)

  1. View a LinkedIn profile of someone in your network. (eg, https://linkedin.com/in/iandouglas736)
  2. Near the top of their profile you should see how many connections they have (or just "500+ connections" if they have a big network). Click on that as a link. (it won't be a clickable link unless you're already connected with them)
@iandouglas
iandouglas / scene-switch.py
Created June 1, 2022 20:53
scene switcher in OBS
import obspython as obs
import random
def cycle():
# get a list of all scenes from OBS
scenes = obs.obs_frontend_get_scenes()
# get current scene
current_scene = obs.obs_frontend_get_current_scene()