Skip to content

Instantly share code, notes, and snippets.

rockkoca

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
rockkoca / README.md
Last active Jun 14, 2019 — forked from tombigel/README.md
How to Change Open Files Limit on OS X, macOS Sierra, and macOS Mojave (10.8 - 10.13)
View README.md

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 https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x

The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/

Mac OS X

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

@rockkoca
rockkoca / README.md
Created Feb 18, 2019 — forked from drewkerrigan/README.md
Setting open files limit in OSX 10.11.3
View README.md

Download this gist, and then run:

chmod 755 open_files_limit_mac.sh
./open_files_limit_mac.sh

Restart the system, and then run:

@rockkoca
rockkoca / crashplanFixup.sh
Created Oct 27, 2018 — forked from thewellington/crashplanFixup.sh
Prevent CrashPlan from de-duplicating data on a Mac. Improves transfer speed! #mac #blog #crashplan
View crashplanFixup.sh
#!/bin/bash
#
# crashplanFixup.sh 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 http://networkrockstar.ca/2013/09/speeding-up-crashplan-backups/
#
# NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup
#
# v1.1 2014-03-13 by bill@wellingtonnet.net
@rockkoca
rockkoca / gifextract.py
Created Jun 16, 2018 — forked from BigglesZX/gifextract.py
Extract frames from an animated GIF, correctly handling palettes and frame update modes
View gifextract.py
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
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)
https://fzhu.work/blog/mac/making-ubuntu-server-a-mac-time-capsule.html
You can’t perform that action at this time.