Skip to content

Instantly share code, notes, and snippets.

@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.
#
@windyinsc
windyinsc / Modify PATH
Created October 21, 2017 09:35 — forked from nellynette/Modify PATH
nothing new. just to remember some commands on OS X
#to set the variable PATH to the value /bin:/sbin:/user/bin:/user/sbin:/system/Library/, you would enter the following command in a Terminal window:
$ PATH=/bin:/sbin:/user/bin:/user/sbin:/system/Library/ export PATH
#This modifies the environment variable PATH with the value assigned.
#To view all environment variables, enter:
$ env
@windyinsc
windyinsc / bsitowu.py
Created March 24, 2018 22:19 — forked from cmplant3210/bsitowu.py
BloomSky image uploader for Wunderground. Set cron job to upload as often as you'd like.
import urllib.request
import json
import ftplib
url = 'http://api.bloomsky.com/api/skydata/'
api = '<insert your api from dashboard.bloomsky.com>'
req = urllib.request.Request(url,headers={'Authorization':api})
response = urllib.request.urlopen(req)