This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
############################################################################### | |
# Homebrew | |
############################################################################### | |
echo "Installing command line utilities" | |
# Check for Homebrew, | |
# Install if we don't have it |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
############################################################################### | |
# XCode | |
############################################################################### | |
echo "Setting up XCode" | |
xcodebuild -license | |
xcode-select --install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bash_profile | |
export PATH=/Users/rpearce/bin:$PATH | |
export PATH="/usr/local/sbin:$PATH" | |
eval "$(rbenv init -)" | |
eval "$(hub alias -s)" | |
alias brewup="brew update && brew upgrade && brew cleanup" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[data-has-tooltip] { | |
position: relative; | |
display: inline-block; | |
box-sizing: border-box; | |
border-bottom: 0.167rem dashed #b4e7f8; | |
cursor: help; | |
} | |
[data-tooltip], | |
[data-tooltip]:after { | |
visibility: hidden; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p> | |
Slow-carb Tumblr High Life biodiesel, stumptown keytar art party mumblecore PBR next level chillwave McSweeney's meh butcher Bushwick. | |
Twee try-hard meditation viral, master cleanse butcher pour-over Pitchfork Vice <span data-tooltip="This is a wide tooltip">farm-to-table</span> paleo Portland brunch. | |
Ugh plaid lomo YOLO food truck, mustache migas +1 viral health goth tousled. Tofu chambray Portland chillwave chia authentic. | |
Typewriter hoodie freegan Intelligentsia fashion axe. <span data-tooltip="Something to say here">Listicle +1 craft beer tattooed mlkshk jean</span> shorts, Banksy ethical selfies Pitchfork Portland irony. | |
Tattooed four loko cardigan, ugh cold-pressed heirloom ennui meditation fap literally authentic migas. | |
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`make clean;` | |
`make setup;` | |
Dir.glob('./*.pdf') do |pdf_file| | |
`pdftotext #{pdf_file} -raw;` | |
end | |
require 'pry' | |
require 'csv' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.7) | |
// Compass (v1.0.1) | |
// ---- | |
@mixin dimensions($width, $height: 0) | |
@if $height == 0 | |
width: $width | |
height: $width | |
@else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="wrapper"> | |
<div class="box"></div> | |
<div class="box content">Some text</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(window).on('load', function(e) { | |
if (window.location.hash == '#_=_') { | |
window.location.hash = ''; // for older browsers, leaves a # behind | |
history.replaceState('', document.title, window.location.pathname); // nice and clean | |
e.preventDefault(); // no page reload | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
transform: translateZ(0); | |
} |