Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block rockkoca

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
rockkoca /
Last active Jun 14, 2019 — forked from tombigel/
How to Change Open Files Limit on OS X, macOS Sierra, and macOS Mojave (10.8 - 10.13)

How to Change Open Files Limit on OS X and macOS

This text is the section about OS X Yosemite (which also works for macOS Sierra) from

The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in's Wayback Machine

Mac OS X

To check the current limits on your Mac OS X system, run:

rockkoca /
Created Feb 18, 2019 — forked from drewkerrigan/
Setting open files limit in OSX 10.11.3

Download this gist, and then run:

chmod 755

Restart the system, and then run:

rockkoca /
Created Oct 27, 2018 — forked from thewellington/
Prevent CrashPlan from de-duplicating data on a Mac. Improves transfer speed! #mac #blog #crashplan
# for Macintosh OS X 10.9 (and probably earlier versions)
# This script will prevent CrashPlan from de-duplicating data on files greater than 1k.
# Based on information from
# NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup
# v1.1 2014-03-13 by
rockkoca /
Created Jun 16, 2018 — forked from BigglesZX/
Extract frames from an animated GIF, correctly handling palettes and frame update modes
import os
from PIL import Image
I searched high and low for solutions to the "extract animated GIF frames in Python"
problem, and after much trial and error came up with the following solution based
on several partial examples around the web (mostly Stack Overflow).
There are two pitfalls that aren't often mentioned when dealing with animated GIFs -
rockkoca / gist:6ff74aa8a51d8e3eb73f4e6ee9cf4582
Created Jan 1, 2017
Use Ubuntu server or NAS as Mac Time Capsule
View gist:6ff74aa8a51d8e3eb73f4e6ee9cf4582
1. If you want to use Ubuntu as the Time Capsule.
Go to here (Making Ubuntu Server A Mac Time Capsule)
You can’t perform that action at this time.