This file contains hidden or 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
javascript:(function() { [].forEach.call(document.querySelectorAll('.outdated-comment'), function(element) { | |
element.className += ' open'; | |
element.className += ' Details--on'; | |
}); } ()) |
This file contains hidden or 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
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM='gnome-256color'; | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM='xterm-256color'; | |
fi; | |
prompt_git() { | |
local s=''; | |
local branchName=''; |
This file contains hidden or 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
==> db1: Machine booted and ready! | |
==> db1: Checking for guest additions in VM... | |
==> db1: [vagrant-hostsupdater] Checking for host entries | |
==> db1: Configuring and enabling network interfaces... | |
The following SSH command responded with a non-zero exit status. | |
Vagrant assumes that this means the command failed! | |
/sbin/ifdown eth1 2> /dev/null | |
Stdout from the command: |
This file contains hidden or 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
# `rvm use default` to keep global gemset set to global | |
rvm use default && nvm use |
This file contains hidden or 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
each report, slug in public.reports._data | |
a(href="/reports/#{ slug }") | |
h2= report.title |
This file contains hidden or 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
find . -name "*[format]" | while read line; do expand -t 4 $line > $line.new; mv $line.new $line; done |
This file contains hidden or 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
server { | |
listen 80 default_server; | |
listen [::]:80 default_server ipv6only=on; | |
server_name HOSTNAME.com; | |
return 301 https://HOSTNAME.com$request_uri; | |
} |
This file contains hidden or 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
server { | |
#listening on port 443 | |
listen 443 ssl; | |
#set site root | |
root /var/www/HOSTNAME.com; | |
index index.php index.html; | |
#set key locations | |
ssl_certificate /etc/sslmate/HOSTNAME.com.chained.crt; |
This file contains hidden or 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
sudo wget -P /etc/apt/sources.list.d https://sslmate.com/apt/ubuntu1404/sslmate.list | |
sudo wget -P /etc/apt/trusted.gpg.d https://sslmate.com/apt/ubuntu1404/sslmate.gpg | |
sudo apt-get update | |
sudo apt-get install sslmate |
This file contains hidden or 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
gulp.task('test', function() { | |
return browserify().bundle() | |
.pipe(source('./test/test.js')) | |
.pipe(buffer()) | |
.pipe(gulp.dest('./dist/js/test')); | |
}) |
NewerOlder