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
External tools used for image shrinking. | |
JPEG: | |
* jpegtran (http://jpegclub.org/jpegtran/; included in libjpeg-progs package | |
on Ubuntu) | |
- centos6, repo base, libjpeg-turbo | |
* Jpegoptim (http://www.kokkonen.net/tjko/projects.html) | |
- no package | |
- requires libjpeg >= v6a (http://www.ijg.org/) |
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
0x6D pageup | |
0x6E pagedown | |
0x69 enter | |
0x6B esc | |
0x68 screenlock # toolbox | |
0x6c direction # rotate screen |
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 | |
REPORT_DATES="2013-02-28 2013-03-01 2013-03-02 2013-03-03 2013-03-04 2013-03-05" | |
LOGDIR=logs | |
function total() { | |
for date in $REPORT_DATES ; do | |
echo "Report for $date ========================" | |
awk "/^${date} [0-9:]* .* (==|=>)/ {print \$5}" ${LOGDIR}/* | | |
sort | |
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
import boto.ec2 | |
boto.ec2.regions() |
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
Grupo Taric busca una persona para ayudar en la modernización de su infraestructura. | |
Una organizacion con un énfasis real en 'personas' y 'cultura', aun a | |
costa de eficiencia (-eficiencia, +resiliencia). | |
El pequeño equipo de sistemas se encarga de mantener los sistemas y procesos históricos | |
del grupo así como de dar soporte a las nuevas necesidades de infraestructura. | |
Buscamos una persona que ayude en la comunicación del equipo con el resto de la | |
organización. | |
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
function sshagent_findsockets { | |
find /tmp -uid $(id -u) -type s -name agent.\* 2>/dev/null | |
} | |
function sshagent_testsocket { | |
if [ ! -x "$(which ssh-add)" ] ; then | |
echo "ssh-add is not available; agent testing aborted" | |
return 1 | |
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
## Knife plugin to generate an OpenSSH config file from a Chef search | |
# From Harvest. www.getharvest.com | |
# Modified for EC2 usage by Scott Likens | |
# | |
# Source: https://github.com/harvesthq/knife-plugins | |
# | |
# See http://wiki.opscode.com/display/chef/Knife+Plugins | |
# See http://www.openbsd.org/cgi-bin/man.cgi?query=ssh_config&sektion=5 | |
# | |
## Install |
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 -w | |
# This script is essentially copied from /usr/share/lintian/checks/scripts, | |
# which is: | |
# Copyright (C) 1998 Richard Braakman | |
# Copyright (C) 2002 Josip Rodin | |
# This version is | |
# Copyright (C) 2003 Julian Gilbey | |
# | |
# This program is free software; you can redistribute it and/or modify |
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 | |
####################################################################### | |
# Update the HE (Hurricane Electric) ipv6-tunnel | |
####################################################################### | |
# original at: http://pugio.net/2009/01/enable-ipv6-on-mac-os-x-the-tu.html | |
# Interfaces to try, in order: en1 = Airport, en0 = Ethernet | |
MYIFS="en0 en1" | |
# leave as is | |
IPCACHE="/Library/Caches/ipv6scriptIP" |
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
scyldinga@Tarena-3 ls ~/.rvm/gems/ruby-1.8.7-p330\@test-gemset/ | |
/Users/scyldinga | |
scyldinga@Tarena-3 rvm info | |
ruby-1.8.7-p330@test-gemset: | |
system: | |
uname: "Darwin Tarena-3.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh" | |
bash: "/bin/bash => GNU bash, version 3.2.17(1)-release (powerpc-apple-darwin9.0)" | |
zsh: "/bin/zsh => zsh 4.3.4 (i386-apple-darwin9.0)" |