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
class Homestead | |
def Homestead.configure(config, settings) | |
# Configure The Box | |
config.vm.box = "laravel/homestead" | |
config.vm.hostname = "homestead" | |
# Configure A Private Network IP | |
config.vm.network :private_network, ip: settings["ip"] ||= "192.168.10.10" | |
# Configure A Few VirtualBox Settings |
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
# Set PATH variable | |
pathdirs=( | |
$HOME/bin | |
$HOME/.composer/vendor/bin | |
$HOME/.rbenv/bin | |
) | |
for dir in $pathdirs; do | |
if [ -d $dir ]; then | |
path+=$dir |
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
[global_config] | |
enabled_plugins = LaunchpadCodeURLHandler, APTURLHandler, Logger, LaunchpadBugURLHandler | |
title_transmit_bg_color = "#2d2d2d" | |
inactive_color_offset = 1.0 | |
[keybindings] | |
[profiles] | |
[[Tomorrow Night Eighties Blue]] | |
scrollbar_position = hidden | |
use_system_font = False | |
background_darkness = 0.33 |
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 | |
# libffi-dev is required for later versions of Ruby | |
echo "Installing libffi-dev" | |
apt-get install -y libffi-dev | |
echo "Installing Htop" | |
apt-get install -y htop | |
echo "Installing pv" |
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
" {{{ Auto Commands | |
" Automatically cd into the directory that the file is in | |
autocmd BufEnter * execute "chdir ".escape(expand("%:p:h"), ' ') | |
" Remove any trailing whitespace that is in the file | |
autocmd BufRead,BufWrite * if ! &bin | silent! %s/\s\+$//ge | endif | |
" Restore cursor position to where it was before | |
augroup JumpCursorOnEdit |
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
<h1>Error</h1> | |
<h2>Another error</h2> |
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
#nav-handle:checked { | |
+ #mobile-menu + ul { | |
max-height: 400; | |
} | |
+ #mobile-menu { | |
color: gray; | |
} | |
} |
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
@mixin betterBoxShadow($distance:0px, $blur:10, $color:#000, $opacity:.75) { | |
-webkit-box-shadow: 0px $distance $blur 0px rgba($color, $opacity); | |
-moz-box-shadow: 0px $distance $blur 0px rgba($color, $opacity); | |
box-shadow: 0px $distance $blur 0px rgba($color, $opacity); | |
} |
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
{ | |
"name": "project_name", | |
"version": "0.0.1", | |
"dependencies": { | |
"normalize.scss": "~2.2.0", | |
"susy": "~2.1.2", | |
"breakpoint-sass": "~2.4.2", | |
"jquery": "~2.1.1" | |
}, | |
"private": true |
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
{ | |
"name": "project_name", | |
"version": "0.1.0", | |
"private": true, | |
"devDependencies": { | |
"grunt": "~0.4.5", | |
"grunt-contrib-watch": "~0.6.1", | |
"grunt-contrib-compass": "~0.8.0", | |
"grunt-contrib-sass": "~0.7.3", | |
"grunt-contrib-uglify": "~0.4.0" |
NewerOlder