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
sudo port install glib2 | |
sudo port install gtk-doc # might have to stop, clean broken and restart | |
cd loudmouth | |
LIBTOOLIZE=glibtoolize LIBTOOL=glibtool ./autogen.sh --with-ssl=no --prefix=/opt/local | |
make | |
sudo make install | |
cd .. | |
cd loudmouth-ruby | |
# edit extconf.rb, comment pkg-config require and have_package lines | |
ruby extconf.rb |
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
spark dpeterson % ls -la /etc | |
lrwxr-xr-x@ 1 root admin 11 Jul 17 03:22 /etc@ -> private/etc | |
spark dpeterson % irb | |
>> require 'pathname' | |
=> true | |
>> p = Pathname.new('/etc') | |
=> #<Pathname:/etc> | |
>> puts p.realpath | |
/private/etc | |
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/sh | |
input=$1 | |
output="$(dirname $input)/$(basename $input .mkv).avi" | |
vbitrate=4096 | |
if [ ! -e "$output" ]; then | |
mencoder $input -ffourcc XVID -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=$vbitrate:mbd=2:trell=yes:v4mv=yes -oac mp3lame -o $output | |
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
SCREEN_SSH_AUTH_SOCK="$HOME/.screen-ssh-auth-sock" | |
[ "$SSH_AUTH_SOCK" != "$SCREEN_SSH_AUTH_SOCK" ] && | |
ln -sf $SSH_AUTH_SOCK $SCREEN_SSH_AUTH_SOCK | |
export SCREEN_SSH_AUTH_SOCK |
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
>> s = "what about for aaaa {{ foo }} dasdfsa {{ bar }} adfdfasf" | |
=> "what about for aaaa {{ foo }} dasdfsa {{ bar }} adfdfasf" | |
>> s.scan(/\{\{(.*?)\}\}/) | |
=> [[" foo "], [" bar "]] |
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 -urN openssh-5.1p1/channels.h openssh-5.1p1.danp/channels.h | |
--- openssh-5.1p1/channels.h 2008-06-15 18:59:23.000000000 -0300 | |
+++ openssh-5.1p1.danp/channels.h 2008-11-01 22:43:33.000000000 -0300 | |
@@ -148,9 +148,9 @@ | |
/* default window/packet sizes for tcp/x11-fwd-channel */ | |
#define CHAN_SES_PACKET_DEFAULT (32*1024) | |
-#define CHAN_SES_WINDOW_DEFAULT (64*CHAN_SES_PACKET_DEFAULT) | |
+#define CHAN_SES_WINDOW_DEFAULT ((datafellows & SSH_BUG_WINDOWSIZE) ? (4*CHAN_SES_PACKET_DEFAULT) : (64*CHAN_SES_PACKET_DEFAULT)) | |
#define CHAN_TCP_PACKET_DEFAULT (32*1024) |
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
ssh-dss AAAAB3NzaC1kc3MAAAEBAODLOSbmzx2mJEThE008NqdEAvtNraknBrnve9RDGl32IXwsceJI6kyejEqWPPZF9aVUphTMcsnifYoeGEg2cOIlQK2whyDCjV5Fiox5lX0mOfRiP8pdms0gCQv2pkvq6yipCnSiEz1jPsVaRX1xfzh/m3jWRiS+7LFnQYgS5K4U3rvT+uecPbPok2xP/opIL6sja6S02z+MwrrlJ64uaP9NFovBRt3OKsffB3YntupZgX4dMw61WeJOz/nrJrfA9tRnLG67Nu9p2SKrtgxrsjcydHnXQzAQ9nQEdW6rtkyYk5c1fPtjWIpIHiPK5Eov38bh4eBebdADgpMhFm1NdJkAAAAVAKcNDbZrwQJDwgVquSptvcnowDpzAAABADe2r3eVdB2tozAw7Eoj3tK0gAwJkoCSY0dxAIZxN/P3j1N6nffZTQvdHBkF9sjcTlFG3TOr+SBemLm2QNWi8ahBtFp8Y8oYMHCQ1LiIN6eZxDyrh0j75k01PBWLYSjCHonzhBP3MaxTRR3wtH/e4doM6+R1dQlZwh0elH6slipjHHzjz+rsDGJhUItmGEWRs6coz/AgCa8+edk/Nte8R6eFjh949CAHTX7TZYHNCrKyPq/Ec0bXAT6FWN3ZZ740qsRZpCf8AVLT3pbwuy3XNBnFpCnlHYOHikl5wsKx7vmXWH7mUcMPKs5rqq5FR+eFgsACDn+dblP/eud5KFj4V40AAAEBANH1Q33aqVez2cVVGEHrDNET9dMZxGvititAdOO6yxatAdFns2p4+nxwH1mTZNMg3tI0CpgQhJX/HfLkfVrKw/R/JWsdnTc0sNOl1f7MUS+CiqVE+P+agFOmP1KYNqsj12xEloqIDmLRZr6wg1igXhDT8XoVEV6GhM79b+7oTH/0nMPo4XcTRy6i4kXD8zuwRXQuJGDihxpOooR8lJ2H+4mlwrA3aPYbvCtK4PGPsQDHYSgRefnvSbwYH4ZUoyG4PrFbV/CYL2LU |
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 -u linux-2.6.20.y/net/ipv4/ipvs/Kconfig linux-2.6.27.y/net/ipv4/ipvs/Kconfig | |
--- linux-2.6.20.y/net/ipv4/ipvs/Kconfig 2009-02-16 11:57:22.000000000 -0400 | |
+++ linux-2.6.27.y/net/ipv4/ipvs/Kconfig 2009-02-16 12:56:22.000000000 -0400 | |
@@ -1,10 +1,7 @@ | |
# | |
# IP Virtual Server configuration | |
# | |
-menu "IP: Virtual Server Configuration" | |
- depends on NETFILTER | |
- |
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
DEFAULT gentoo | |
LABEL gentoo | |
kernel mboot.c32 | |
append xen/xen-3.1.4.gz dom0_mem=1536m nmi=dom0 --- gentoo/vmlinuz-2.6.18 root=/dev/ram --- gentoo/initrd.gz |
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
# emerge -vpt -kb mysql-community | |
These are the packages that would be merged, in reverse order: | |
Calculating dependencies... done! | |
[ebuild R ] dev-db/mysql-community-5.0.51 USE="berkdb big-tables perl ssl -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal (-selinux) -static" 26,534 kB [1] | |
Total: 1 package (1 reinstall), Size of downloads: 26,534 kB | |
Portage tree and overlays: | |
[0] /engineyard/portage |
OlderNewer