Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| // Change font (ctrl a) | |
| var font_name, | |
| select_one_textlayer = false; | |
| function check_layer(layer){ | |
| log("Checking layer " + layer + " of klass: " + [layer class]) | |
| switch ([layer class]) { | |
| case MSTextLayer: | |
| log("Found text layer!") | |
| layer.setFontPostscriptName(font_name); |
| # Pass the env-vars to MYCOMMAND | |
| eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
| # … or ... | |
| # Export the vars in .env into your shell: | |
| export $(egrep -v '^#' .env | xargs) |
| #!/bin/sh | |
| # | |
| # list the given file's filesize next to each commit | |
| # usage: git-fs-history path/to/file | |
| # | |
| if [ $# -ne 1 ]; then | |
| echo "Error: invalid number of arguments." | |
| exit 1 |
| //Map Collect function | |
| // Since the builtin map-merge function in Sass only take 2 arguments, it can only merge 2 maps at a time. | |
| // The map-collect function below allows you to combine multiple maps together in a cleaner way. | |
| @function map-collect($maps...) { | |
| $collection: (); | |
| @each $map in $maps { | |
| $collection: map-merge($collection, $map); | |
| } |
| #!/bin/bash | |
| if [ "$#" -ne "1" ]; then | |
| echo "Usage: $0 package_list" | |
| exit 1 | |
| fi | |
| cat $1 | xargs -I {} bash -c "echo {}; brew deps {}" | sort | uniq > /tmp/brew_keep | |
| comm -23 <(brew list -1 | sort) <(cat /tmp/brew_keep) > /tmp/brew_rm | |
| lines=$(cat /tmp/brew_rm | wc -l | sed -e 's/ //g') |
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/