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
# fpm --gem-gem /usr/bin/gem1.9.1 -s gem -t deb --verbose multi_json | |
Trying to download {"level":"info","gem":"multi_json","version":null} | |
Fetching: multi_json-1.3.6.gem (100%) | |
Using gem file {"level":"info","path":"/var/lib/gems/1.8/cache/multi_json-1.3.6.gem"} | |
Successfully installed multi_json-1.3.6 | |
1 gem installed | |
Setting from flags: epoch= {"level":"info"} | |
Setting from flags: iteration= {"level":"info"} | |
Converting gem to deb {"level":"info"} | |
Package name includes underscores, converting to dashes {"level":"info","name":"rubygem-multi_json"} |
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
if( req.url ~ "^/login" || req.url ~ "^/widget" ){ | |
return (pass); | |
} | |
else { | |
unset req.http.Cookie; | |
return(lookup); | |
} |
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
if (beresp.status >= 500) { | |
set beresp.saintmode = 60s; | |
std.log("XX: i haz 5xx! " + beresp.status + req.url); | |
return(restart); | |
} |
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
input { | |
stdin { type => "stdin-type"} | |
# syslog { | |
# type => syslog | |
# port => 5544 | |
# } | |
tcp { | |
port => 10514 | |
type => "syslog" |
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
location /resize { | |
alias /tmp/nginx/resize; | |
set $width 150; | |
set $height 100; | |
set $dimens ""; | |
if ($uri ~* "^/resize_(\d+)x(\d+)/(.*)" ) { | |
set $width $1; | |
set $height $2; | |
set $image_path $3; |
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
root@wheezybuild64:~/hest/awesant# debuild -us -uc | |
This package has a Debian revision number but there does not seem to be | |
an appropriate original tar file or .orig directory in the parent directory; | |
(expected one of awesant_0.7.orig.tar.gz, awesant_0.7.orig.tar.bz2, | |
awesant_0.7.orig.tar.lzma, awesant_0.7.orig.tar.xz or awesant.orig) | |
continue anyway? (y/n) y | |
dpkg-buildpackage -rfakeroot -D -us -uc | |
dpkg-buildpackage: warning: using a gain-root-command while being root | |
dpkg-buildpackage: source package awesant | |
dpkg-buildpackage: source version 0.7-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
#!/usr/bin/perl | |
# NAME wifi-check.pl | |
# AUTHOR Kronalias | |
# PROVIDES Checks to see if WiFi has a network IP and if not restarts WiFi | |
# | |
# CRONTAB Run wifi-check.pl every minute | |
# */1 * * * * /home/pi/my/scripts/wifi-check.pl >> /mnt/ramdisk/wifi-check.log | |
# | |
# HISTORY |
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
HTTP/1.1 500 Internal Server Error | |
Vary: Accept-Encoding | |
Server: MochiWeb/1.1 WebMachine/1.10.0 (never breaks eye contact) | |
Date: Mon, 07 Oct 2013 10:08:29 GMT | |
Content-Type: text/html | |
Content-Length: 1009 | |
<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1>The server encountered an error while processing this request:<br><pre>[{webmachine_resource,do,3,[{file,"src/webmachine_resource.erl"},{line,142}]}, | |
{webmachine_decision_core,resource_call,1, | |
[{file,"src/webmachine_decision_core.erl"}, |
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
On tap at CROW: | |
1. Scream Ale | |
2. India Vienna Lager | |
3. Dead Canary Lager (Keller/Zwickelbier) | |
4. Crow Experimental IPA #4 (KIWI HOPS) | |
5. Last of the Kakako | |
6. Black CROW lager | |
7. Flying Couch Bastard (Amber Ale) | |
8. Red Rice Ale |
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
ub vcl_recv { | |
if (req.backend.healthy) { | |
set req.grace = 5m; | |
} else { | |
set req.grace = 1h; | |
} | |
if ( req.url ~ "/static/" ) { | |
unset req.http.Cookie; |
OlderNewer