in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
library(ggplot2) | |
new_theme_empty <- theme_bw() | |
new_theme_empty$line <- element_blank() | |
new_theme_empty$rect <- element_blank() | |
new_theme_empty$strip.text <- element_blank() | |
new_theme_empty$axis.text <- element_blank() | |
nCards <- 30 | |
ruleText <- c("Look for these on the field, in the stands, or in the commercials.\n\"\" indicate that you should listen for the broadcast team to say this phrase.") |
in OS X 10.4 to macOS sierra 10.12 and maybe higher!
Copy this entire code block and paste it into your terminal and push Return to create this file for you with correct permissions. It will (probably) ask for your password:
{ | |
"keys": ["tab"], | |
"command": "expand_abbreviation_by_tab", | |
// put comma-separated syntax selectors for which | |
// you want to expandEmmet abbreviations into "operand" key | |
// instead of SCOPE_SELECTOR. | |
// Examples: source.js, text.html - source | |
"context": [ | |
{ |
#!/bin/sh | |
# Configure homebrew permissions to allow multiple users on MAC OSX. | |
# Any user from the admin group will be able to manage the homebrew and cask installation on the machine. | |
# allow admins to manage homebrew's local install directory | |
chgrp -R admin /usr/local | |
chmod -R g+w /usr/local | |
# allow admins to homebrew's local cache of formulae and source files | |
chgrp -R admin /Library/Caches/Homebrew |
#!/usr/bin/env bash | |
osascript -e " | |
tell application \"Google Chrome\" | |
activate | |
set theUrl to \"$1\" | |
set found to false | |
set windowList to every window | |
repeat with aWindow in windowList | |
set tabList to every tab of aWindow |
brew update | |
brew link yasm | |
brew link x264 | |
brew link lame | |
brew link xvid | |
brew install ffmpeg | |
ffmpeg wiki: | |
https://trac.ffmpeg.org/wiki/Encode/MP3 |
// ---- | |
// libsass (v3.1.0-beta) | |
// ---- | |
// LibSass Configurable Objects Syntax 1 | |
// uses selector() to include content | |
// | |
// @author Spencer Gregson | |
// @credit http://hugogiraudel.com/2014/05/05/bringing-configuration-objects-to-sass/ - a modular way to build partials with signatures | |
// @credit map-merge-deep() - Pedr Browne (https://gist.github.com/Undistraction/681818d751b6dd06c0cc), edited for compatibility with libsass 3.0.2, no dependencies |
This article is now published on my website: Prefer Subshells for Context.
cd ~/Library/Application\ Support/Espresso/Sugars; | |
echo "Installing Sugars:"; | |
if [ ! -d ./CSS3.sugar ]; then | |
echo "Installing CSS3.sugar..."; | |
git clone -q git://github.com/minimalweb/CSS3.sugar.git ./CSS3.sugar; | |
else | |
echo "CSS3.sugar already installed, attempting update..."; | |
cd CSS3.sugar; |