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/bash | |
if [[ -d /mnt/yavin/hoth ]]; then | |
nice -n15 /usr/bin/rdiff-backup --exclude=/boot --exclude=/dev --exclude=/**/.gvfs --exclude=/media --exclude=/mnt --exclude=/proc --exclude=/sys --exclude=/lib/udev --exclude=/tmp --exclude=/home/scott/.mozilla/firefox/jxg17tdp.default/Cache --exclude=/usr/portage/distfiles --exclude=/var/tmp/portage --exclude=/var/run --exclude=/home/scott/.VirtualBox/HardDisks/SQLData.vdi / /mnt/yavin/hoth/current | |
fi |
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
url.sub /_normal(\.[[:alnum:]]+)?$/, '\\1' |
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
ACCEPT_KEYWORDS="~amd64" | |
INPUT_DEVICES="evdev synaptics" | |
FEATURES="parallel-fetch" | |
LINGUAS="en_US" | |
ACCEPT_LICENSE=* | |
PORTDIR_OVERLAY=/usr/local/portage | |
APACHE2_MPMS=prefork | |
EMERGE_DEFAULT_OPTS="--quiet-build=y" | |
RUBY_TARGETS="ruby19" | |
USE="mmx sse sse2 -esd -swat -gnome -qt -qt3 -qt4 -kde laptop quicktime \ |
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
#assuming schema is | |
# table turbines | |
# id integer | |
# turbine_type_id integer | |
# table turbine_types | |
# id integer | |
# name string | |
class Turbine < ActiveRecord::Base |
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
E: Failed to fetch https://oss-binaries.phusionpassenger.com/apt/passenger/pool/trusty/main/n/nginx/nginx-common_1.8.0-8.5.0.23~trusty1_all.deb Could not resolve host: oss-binaries.phusionpassenger.com | |
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? | |
The command '/bin/sh -c apt-get update && /pd_build/redis.sh && apt-get upgrade -y -o Dpkg::Options::="--force-confold" && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100 |
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
(ns guestbook.test.handler | |
(:require [clojure.test :refer :all] | |
[ring.mock.request :refer :all] | |
[guestbook.handler :refer :all])) | |
(deftest test-app | |
(testing "main route" | |
(let [response (app (request :get "/"))] | |
(is (= 200 200))) | |
) |
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
scott@endor ~/dev/todo% http POST https://autodiscover.microsoft.com/autodiscover/autodiscover.xml (git)-[master] | |
HTTP/1.1 401 Unauthorized | |
Cache-Control: private | |
Content-Length: 0 | |
Date: Fri, 03 Jun 2016 22:02:29 GMT | |
Server: Microsoft-IIS/8.5 | |
WWW-Authenticate: Basic realm="autodiscover.microsoft.com" | |
WWW-Authenticate: Negotiate | |
WWW-Authenticate: NTLM | |
X-AspNet-Version: 4.0.30319 |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1 | |
mQGiBEK3TuERBAC32W5JMG1Yr0wFzkf0vT6GdhPyOvmb54kD14JWo0rS/aMAit6R | |
AYBhCLlit3hdJXP+yJx9nfjw74bTmjj0L/CS6EoBrQzxpW4W7rupeR095ny8zGaF | |
owJsK32+41f7UNgx3arNFV4wIl0LsRLMx56JCMyfRCrqHOwaW2qK89DE8wCgmvae | |
zh3lCVIyq9C2xyRlW59rYn8D/22UtZjrTI3OCtwsMlq/+9Rg+vuj+uVFTWrEMi5M | |
vZ9E18vjCXy+u7qDhKXo23/y4S1jIZS1j/yMCc6+NG2H1tcA+LxeqveokbWDH/rg | |
GQToy2sC62dPphQXBfyy/Nv7JeErfWJ3SyCV9S6EiHQCc5BQCTvvPhGh/mLVKusD | |
yKO9A/9wl3UVEeDTiz0ZvHtTIy/cahlYqQMEgHY+Tj2WFOKdWbzNYp7vqmXZKQVu |
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
# Install pre-built phantom | |
- name: Unarchive pre-built phantomjs | |
unarchive: src="https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2" dest=~/ remote_src=yes | |
fatal: [default]: FAILED! => {"failed": true, "msg": "file or module does not exist: /Users/scott/dev/drifter/https:/bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2"} |
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
(staging-web) root@ip-10-0-1-132 /var/log/nginx# cat /tmp/passenger_native_support-rmfgcc.log | |
# mkdir -p /home/neighborland/.passenger/native_support/4.0.48/ruby-2.1.2-x86_64-linux-gnu | |
# cd /home/neighborland/.passenger/native_support/4.0.48/ruby-2.1.2-x86_64-linux-gnu | |
# /usr/bin/ruby2.1 /usr/share/passenger/ruby_extension_source/extconf.rb | |
checking for alloca.h... *** /usr/share/passenger/ruby_extension_source/extconf.rb failed *** | |
Could not create Makefile due to some reason, probably lack of necessary | |
libraries and/or headers. Check the mkmf.log file for more details. You may | |
need configuration options. | |
Provided configuration options: |