Skip to content

Instantly share code, notes, and snippets.

Tom Bigelajzen tombigel

Block or report user

Report or block tombigel

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
@tombigel
tombigel / README.md
Last active Nov 9, 2019 — forked from a2ikm/limit.maxfiles.plist
How to Change Open Files Limit on OS X and macOS Sierra (10.8 - 10.12)
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:

@tombigel
tombigel / border-radius-input.scss
Last active Oct 9, 2017
SCSS Functions to manipulate border radius values
View border-radius-input.scss
// ----
// libsass (v3.2.5)
// ----
$br: 1px 2px 3px;
@function blowup-border-radius($br) {
$long-br: $br;
@if length($br) == 1 {
$long-br: ($br $br $br $br);
@tombigel
tombigel / pre-commit
Created Jul 13, 2011
GIT pre-commit test for capital letters in image file names and for debug commands
View pre-commit
#!/bin/sh
#
# A hook script to verify that no images with capital letters are committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# Go through all the changed files (except for deleted and unmerged)
#
# Check for lines containing "debugger" "console." or "alert("
You can’t perform that action at this time.