aka HHG
- You can read about markdown syntax in markdown cheatsheet, but generally you will need these:
- *italics*
- **bold**
- [link name](http://link.com)
- 
- >Quote text
aka HHG
* { box-sizing: border-box; } | |
html { font-family: ProximaNova-Regular, "Proxima Nova","Open Sans","Gill Sans MT","Gill Sans",Corbel,Arial,sans-serif; } | |
.text-center { text-align: center; } | |
.logo { | |
display: block; | |
} | |
.logo__icon, | |
.logo__text { | |
display: inline-block; | |
vertical-align: middle; |
aaa |
I have spent quite a bit of time figuring out automounts of NFS shares in OS X...
Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:
/etc/auto_master (see last line):
#
# Automounter master map
#
+auto_master # Use directory service
command-shift-P > Package > Package Generator: Generate Syntax Theme > mypackage | |
cd ~/.atom/packages/mypackage | |
apm login | |
apm develop mypackage | |
cd ~/github/mypackage | |
sudo chown -R username:wheel . | |
git commit -a -m 'checking everything in' | |
apm publish --tag v2.5.0 minor |
#!/usr/bin/env bash | |
# Check for Homebrew, install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Update homebrew recipes | |
# brew update |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
$.ajaxSetup({crossDomain : true}); | |
var url = 'https://your-url-is-here.com'; | |
var handleSuccess = function(resp) { | |
$('.loader').hide(); | |
$('.email_input').val(''); | |
$('.thanks').show(); | |
}; | |
var handleError = function(resp) { |
#!/bin/bash | |
target_branch="production" | |
working_tree="PATH_TO_DEPLOY" | |
while read oldrev newrev refname | |
do | |
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | |
if [ -n "$branch" ] && [ "$target_branch" == "$branch" ]; then | |
function isPalindromic(textStr) { | |
if (!textStr) { return new Error('Missing string parameter.'); } | |
if (typeof textStr !== 'string') { return new Error('Parameter must be a string.'); } | |
return textStr.split('').reverse().join('') === textStr; | |
} |