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
Lastlog: | |
18:12 <+ ribo> https://github.com/mroth/lolcommits | |
20:52 <@ kyl> https://github.com/mroth/lolcommits | |
20:54 < jrick> https://github.com/mroth/lolcommits | |
20:55 <+ snk> lolcommits is awesome | |
21:05 <+ qbit_> brycec: yeah - check fo rthe first lolcommits :D | |
21:05 <@ brycec> 13:51 < jrick> https://github.com/mroth/lolcommits | |
End of Lastlog |
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
Reduced Functionality: | |
This version of wkhtmltopdf has been compiled against a version of QT without | |
the wkhtmltopdf patches. Therefore some features are missing, if you need | |
these features please use the static version. | |
Currently the list of features only supported with patch QT includes: | |
* Printing more then one HTML document into a PDF file. | |
* Running without an X11 server. | |
* Adding a document outline to the PDF file. |
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
los ☁ 0 ~ dig api.coderloop.com | |
; <<>> DiG 9.7.3-P3 <<>> api.coderloop.com | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25357 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;api.coderloop.com. IN A |
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/env perl | |
$flood = 0; | |
use Irssi; | |
use Image::Magick; | |
use warnings; | |
use vars qw($flood $VERSION %IRSSI); | |
$VERSION = '1.00'; |
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/env ruby | |
# Do not edit this script from the host, it is generated by chef | |
require 'rubygems' | |
require 'aws' | |
$aws_id = "REDACTED" | |
$aws_key = "REDACTED" | |
AWS.config(:access_key_id => $aws_id, :secret_access_key => $aws_key, :ec2_endpoint => "ec2.amazonaws.com") |
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
--- | |
# Utility server | |
- name: utility | |
env: production | |
retention: 3 | |
volumes: | |
- device: sda1 | |
id: vol-1c99ae73 | |
- device: sdf | |
id: vol-a087b5cf |
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 | |
SLD="<%= @domain %>" | |
AWSID="<%= @awsid %>" | |
AWSKEY="<%= @awskey %>" | |
SHORTHOST=`echo <%= node[:this_server] %> | sed 's/_/-/g' | sed "s/.${SLD}//"` | |
HOSTNAME="${SHORTHOST}.${SLD}" | |
cat > ~/.aws-secrets << EOF | |
%awsSecretAccessKeys = ( |
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
[ 12.063460] blkfront: barrier: empty write xvda op failed | |
[ 12.063475] blkfront: xvda: barrier or flush: disabled | |
[ 12.063495] end_request: I/O error, dev xvda, sector 13145 | |
[ 12.063529] end_request: I/O error, dev xvda, sector 13145 | |
[ 12.063554] Buffer I/O error on device xvda1, logical block 1643 | |
[ 12.063575] lost page write due to I/O error on xvda1 | |
[ 12.063615] Aborting journal on device xvda1. | |
[ 12.064315] EXT3-fs (xvda1): error: ext3_journal_start_sb: Detected aborted journal | |
[ 12.064362] EXT3-fs (xvda1): error: remounting filesystem read-only |
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 | |
### USAGE: | |
# execute from swatch and only swatch | |
# exec echo '$_' | swatchout.sh <NAME> <SECONDS> <WARNING_EVENTS> <CRITICAL_EVENTS> | |
EMAIL="[email protected]" | |
NAME=$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
watchfor /Error|ERROR|fail|FAIL|Fail|Fatal|fatal|FATAL|WARN|Warn|warn/ | |
exec echo '$_' | swatchout.sh backend_daily 34560 1 20000 | |
watchfor /Error|ERROR|fail|FAIL|Fail|error/ | |
exec echo '$_' | swatchout.sh backend_error 600 20 25 | |
watchfor /Fatal|FATAL|fatal/ | |
exec echo '$_' | swatchout.sh backend_fatal 5 1 1 | |
watchfor /warn|Warn|WARN/ |