This file contains hidden or 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 | |
# | |
# Credits go to | |
# http://earlruby.org/2010/02/adding-an-external-encrypted-drive-with-lvm-to-ubuntu-linux/ | |
if [[ root != $(whoami) ]] ; then | |
sudo $0 $@ | |
exit 0 | |
fi |
This file contains hidden or 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 | |
LIBDIR=/usr/lib64 | |
BINDIR=/usr/bin | |
TMPDIR=/tmp/mozup | |
FTP_BASE=ftp://releases.mozilla.org/mirror/mozilla | |
FTP_PATH=releases/latest/linux-x86_64/de | |
rm -rf $TMPDIR | |
mkdir $TMPDIR | |
cd $TMPDIR |
This file contains hidden or 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(global) { | |
var getGlobalProps = function() { | |
var prop, globalProps = {}; | |
for (prop in global) { | |
globalProps[prop] = true; | |
} | |
return globalProps; | |
}, | |
getGlobalPropsDiff = function(globalProps) { |
This file contains hidden or 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 | |
CMDS="php-fpm nginx memcached php java beam.smp|epmd" | |
OUTFILE=$(tty) | |
cmd_values=() | |
cmd_prev_value="" | |
function get_stats() | |
{ |
This file contains hidden or 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-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDmz9PTY5CCnZV2DT3AzZf/csON1STGPma4ZRARrHft22BTlRiyXvQjopDsRsPfrTdGPo2XgLe+2LWkD6cmWzS6qMu63FbFnJt5mD61iwZX16nFKSWO1qb7yTq+G8iIjU4CkGoQh4XV15BjbD1+CR/V5MhjwmKzIdpjnKArX1cljRCGDft+Ld6lXVvLp9mTuGEBSVwvP8NpNJ3RzI7Ck/675viQ2eLJM0d2g9d2RBuTKlYSpZfY+CXc4Hh6BepVpUv73f3n0MVqHquFijtD8i3n3CP7jGOuBRC5FR8QBGCTnBxFI4Ue9DZqfpA6/gttRxlN8qsQWDBKYVK/Kx1+Xyov [email protected] |
This file contains hidden or 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(){ | |
$('.monthyearpicker').datepicker({ | |
dateFormat: 'mm.yy', | |
changeMonth: true, | |
changeYear: true, | |
durration: 0, | |
beforeShow: function(input, instance) { | |
var dates = instance.input.val().split('.'), | |
nows = $.datepicker.formatDate('mm.yy.dd', new Date()).split('.'); | |
$.extend(dates, { |
This file contains hidden or 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
" Vim completion script | |
" Language: PHP | |
" Original Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl ) | |
" Maintainer: Christian Albrecht ( alab1001101 at gmail ) | |
" Last Change: 2010 June 1 | |
" | |
" TODO: | |
" - Class aware completion: | |
" a) caching? | |
" - Switching to HTML (XML?) completion (SQL) inside of phpStrings |
This file contains hidden or 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 | |
# This script takes four different actions | |
# | |
# import | |
# imports updatet svn_dir trunk into git_dir master | |
# and pushs git master after that rebases git_branch | |
# | |
# export | |
# calls import and then exports git_branch |