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 | |
use strict; | |
use warnings; | |
use File::Find; | |
use Getopt::Long; | |
sub usage { | |
warn @_, "\n" if @_; |
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
'(erc-generate-log-file-name-function (quote erc-generate-log-file-name-network)) | |
'(erc-log-channels-directory "~/.erc/log") | |
'(erc-log-insert-log-on-open t) | |
'(erc-log-mode t) | |
'(erc-log-write-after-insert t) | |
'(erc-log-write-after-send t) | |
'(erc-modules (quote (autojoin button completion fill irccontrols log match menu netsplit noncommands readonly ring stamp track))) |
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@coral:~/ > ps -ef | grep mysql | |
root 23372 22497 0 11:52 pts/0 00:00:00 grep mysql | |
root@coral:~/ > mysqld_safe --skip-grant-tables --skip-networking & | |
[1] 23373 | |
root@coral:~/ > 120505 11:52:31 mysqld_safe Logging to syslog. | |
120505 11:52:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql | |
root@coral:~/ > mysqladmin flush-privileges | |
root@coral:~/ > mysqladmin password 'foobar' | |
mysqladmin: connect to server at 'localhost' failed |
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
--- m4/mp3splt.m4.orig 2012-12-18 21:13:05.124139636 +0000 | |
+++ m4/mp3splt.m4 2012-12-18 21:24:37.783700438 +0000 | |
@@ -20,9 +20,9 @@ | |
if test "x$mp3splt_libraries" != "x"; then | |
MP3SPLT_LIBS="-L$mp3splt_libraries" | |
elif test "x$mp3splt_prefix" != "x"; then | |
- MP3SPLT_LIBS="-L$mp3splt_prefix/lib" | |
+ MP3SPLT_LIBS="-L$mp3splt_prefix/${libdir#$exec_prefix/}" | |
elif test "x$prefix" != "xNONE"; then | |
- MP3SPLT_LIBS="-L$prefix/lib" |
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
$ gem list | |
*** LOCAL GEMS *** | |
bundler (1.2.4) | |
rake (10.0.3) | |
rubygems-bundler (1.1.1, 1.1.0) | |
rvm (1.11.3.6) | |
$ bundle exec gem list | wc -l | |
98 |
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 create_events | |
%% for repo, events in create_events|groupby("repo.name") | |
%% for type, elist in events|groupby("payload.ref_type") | |
%% trans count=elist|length | |
- created {{ count }} {{ type }} in {{ repo }}: {{ elist|first }} | |
%% pluralize | |
- created {{ count }} {{ type }}es in {{ repo }}: {{ elist|first }} | |
%% endtrans | |
%% endfor | |
%% endfor |
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 | |
read -p 'Enter event> ' event | |
google calendar add --user myaccount@gmail.com "${event// @ / at }" 2>&1 | \ | |
awk '{ print "* " $0 } | |
/^Event created: / { | |
system("url_handler.sh " substr($0, 16)) | |
}' |
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
[github] | |
- aspiers/barclamp-provisioner | |
+ created branch 'release/pebbles/master' | |
- crowbar/crowbar | |
+ opened pull request #1798 (show admin IP and network range during sanity check at setup time) | |
+ created comment on issue #1801 (more install-chef-suse.sh changes for pebbles) |
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 | |
ibs=aspiers@10.11.0.159:/mounts/dist/ibs | |
# should use http://download.suse.de/update/ not euklid? | |
# mairix:m:20120803222629.93475e8vgyyav9it@imap.suse.de | |
updates=aspiers@euklid.suse.de:/mirror/SuSE/zypp-patches.suse.de/x86_64/update | |
sles_updates=$updates/SLE-SERVER | |
cloud_updates=$updates/SUSE-CLOUD | |
dest=/data/install/mirrors |
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
diff --git a/scripts/create-vm.sh b/scripts/create-vm.sh | |
index fa3dc1b..5d71a5a 100755 | |
--- a/scripts/create-vm.sh | |
+++ b/scripts/create-vm.sh | |
@@ -69,7 +69,10 @@ main () { | |
else | |
echo "Creating $vm_disk as qcow2 image ..." | |
qemu-img create -f qcow2 "$vm_disk" 4G | |
- opts=( --pxe ) | |
+ opts=( |