Skip to content

Instantly share code, notes, and snippets.

@windyinsc
windyinsc / iPadAir-USB-repair.md
Last active October 23, 2016 09:24
Troubleshooting Ideas for Mom's rMBP. Issue at hand: iPad Air > USB > iTunes "On & Off" Connectivity Issues to iTunes (entire MacBook Pro).

Troubleshooting Mom's iPad Air & iTunes Issue

😠 Current Issue 😡

When connecting any apple provided USB (all ports affected) from Mom's iPad Air to her MacBook Pro the following issue happens.

The MacBook Pro will connect & disconnect to the iPad Air every second. Example: First connection to MBP is successful and iTunes (or any other .app for that matter) recognizes it. +01 seconds into the connection it disconnects the +02 seconds it reconnects. This pattern will continune until the USB is disconnected from the MBP.

==Impt Note== This does not occur and there are no issues when connecting her other iOS devices (iPhone 6 & iPad mini).

@windyinsc
windyinsc / createinstallmedia.md
Last active March 6, 2025 05:58
Create a bootable installer for macOS

Create a bootable installer for macOS

The following instructions were predominantly sourced via this Apple Support Document.

With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.

The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction and &&say Installation commands.

I. Overview

macOS 10.12 Sierra Setup

Custom recipe to get macOS 10.12 Sierra running from scratch, setup applications and developer environment. This is very similar (and currently mostly the same) as my 10.11 El Capitan setup recipe and 10.10 Yosemite setup recipe. I am currently tweaking this for 10.12 Sierra and expect to refine this gist over the next few weeks.

I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. I generally reinstall each computer from scratch every 6 months, and I do not perform upgrades between releases.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your o

@windyinsc
windyinsc / happy_git_on_osx.md
Created March 11, 2017 01:30 — forked from trey/happy_git_on_osx.md
Creating a Happy Git Environment on OS X

Creating a Happy Git Environment on OS X

Step 1: Install Git

brew install git bash-completion

Configure things:

git config --global user.name "Your Name"

git config --global user.email "[email protected]"

@windyinsc
windyinsc / vlc_ts_error_fix.md
Created March 19, 2017 00:12
Fix for VLC: ts error: libdvbpsi error (PSI decoder): TS duplicate

FIX FOR VLC ERROR BELOW

The following changes to VLC were successful in fixing all playback issues.

  • VLC Version 2.2.4 Weatherwax (Intel 64bit) on OS X 10.9

ISSUE:

ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 0 ts error: libdvbpsi error (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095

@windyinsc
windyinsc / _verify-repair-permissions-disk.md
Created April 15, 2017 14:23 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@windyinsc
windyinsc / ffmpeg-cheatsheet.md
Last active January 30, 2025 08:40 — forked from larvata/ffmpeg-cheatsheet.md
ffmpeg notes

ffmpeg Cheatsheet

  • Join TS Files
  • Convert TS to MP4
  • Download Online AES-128 Encrypted HLS video
  • Convert Video to GIF
  • Extract Audio and Convert it to MP3
  • Burn Subtitles into Video

Join TS Files

@windyinsc
windyinsc / env_variables.md
Created August 17, 2017 14:16
What the hell is env variables and how to add to path
@windyinsc
windyinsc / gist:5e9824ccc5045566e2a4243d2e9e3ee4
Created September 5, 2017 02:20 — forked from CristinaSolana/gist:1885435
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@windyinsc
windyinsc / Brewfile
Created September 23, 2017 11:54 — forked from lludlow/Brewfile
brewfile
##
# Brewfile by Joel Parker Henderson and SixArm.com
#
# CAUTION: THIS IS A WORK IN PROGRESS. USE AT YOUR OWN RISK.
#
# We use this Brewfile for our teams and their developer laptops.
#
# This file installs many apps, including office suites, multimedia suites,
# programming langauges and IDEs, unix utilities, and sysadmin tools.
#