- using
pkgutil
# list all your installed packages
pkgutil --pkgs
# show your package info
pkgutil --pkg-info | #!/bin/bash | |
| ############################################################ | |
| ### Shell script to uninstall Mac Os X packages ### | |
| ### Based on pkgutil. ### | |
| ### Created by Adam Wallner <adam.wallner at gmail.comu> ### | |
| ### V1.0.1 ### | |
| ############################################################ | |
| IFS=$'\n' | |
| function get_pkgid { |
| using System; | |
| using System.Text; | |
| namespace AlefCrypto | |
| { | |
| /// <summary> | |
| /// Table that holds subkey arrays for the Blowfish implementation. | |
| /// </summary> | |
| static class BlowfishTable | |
| { |
| #!/usr/bin/env python | |
| # | |
| # Shows GOP structure of video file. Useful for checking suitability for HLS and DASH packaging. | |
| # Example: | |
| # | |
| # $ iframe-probe.py myvideo.mp4 | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED | |
| # GOP: IPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP 60 CLOSED |
| """ | |
| SSL/TLS negotiation. | |
| """ | |
| import asyncore | |
| import logging | |
| import socket | |
| import ssl | |
Use case: You have repository A with remote location rA, and repository B (which may or may not have remote location rB). You want to do one of two things:
NB: Check out git subtree/git submodule and this Stack Overflow question before going through the steps below. This gist is just a record of how I solved this problem on my own one day.
Before starting, make sure your local and remote repositories are up-to-date with all changes you need. The following steps use the general idea of changing the remote origin and renaming the local master branch of one of the repos in order to combine the two master branches.
These rules are adopted from the AngularJS commit conventions.
| -- https://gist.github.com/mrienstra/8330528 | |
| -- Based on http://www.tuaw.com/2012/12/24/applescript-desktop-icon-race/ | |
| -- Inspired by http://namesakecomic.com/comic/happy-new-year-from-namesake/#comment-1182035013 | |
| -- Rearranges Desktop icons to flow from left to right, top to bottom. | |
| -- To have this run automatically every time files are added or removed from the Desktop, set this script to run as a Desktop "Folder Action". (See https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/reference/ASLR_folder_actions.html ) | |
| -- This is currently a rough proof-of-concept. It has only been tested with OS X 10.8.5 (Mountain Lion). |