Skip to content

Instantly share code, notes, and snippets.

@0xjac
0xjac / private_fork.md
Last active November 2, 2025 13:27
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@daxxog
daxxog / libspotify-fix-osx.sh
Created December 10, 2014 15:34
fix libspotify on osx "dyld: Library not loaded: /usr/local/opt/libspotify/lib/libspotify"
#!/bin/sh
ln -s /usr/local/opt/libspotify/lib/libspotify.dylib /usr/local/opt/libspotify/lib/libspotify
@ryanemmm
ryanemmm / bouncewifi
Last active December 28, 2015 19:29
turns wifi off, then on.
#AppleScript
#- bounce wifi: turn it off, then turn it on
#- open AppleScript Editor, paste lines 4,5,6, save as application
#- ** oh be sure to set the network_device -- en0 in my case to the correct interface
set network_device to "en0"
do shell script "networksetup -setairportpower " & network_device & " off"
do shell script "networksetup -setairportpower " & network_device & " on"
@jbenet
jbenet / simple-git-branching-model.md
Last active July 21, 2025 21:02
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active August 25, 2025 12:52 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.