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 bash | |
echo '=========================== ' | |
echo 'This script will attempt to install on a blank Debian Lenny / Squeeze: ' | |
echo ' ' | |
echo 'RVM with Ruby 1.9.2 ' | |
echo 'NodeJS v0.4.10 with NPM and Coffee-Script ' | |
echo 'MongoDb for the DB ' | |
echo 'Imagemagick for the MiniMagick gem ' | |
echo 'Passanger with nginx ' |
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 bash | |
# Create a git repo in the root git dir, and grant ownership to this user | |
if [ -z $1 ] | |
then | |
echo "Usage: $0 <repo name> [checkout_path]" | |
echo "Missing repo name" | |
exit $E_MISSING_POS_PARAM | |
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
~ ❯ cd Developer/couchbase | |
couchbase ❯ rake | |
Setting otp_keep="*" for building plugins | |
Making file task: /Users/gyulalaszlo/Developer/couchbase/dependencies/geocouch | |
file /Users/gyulalaszlo/Developer/couchbase/build/lib/couchdb/plugins/geocouch => /Users/gyulalaszlo/Developer/couchbase/dependencies/geocouch | |
/Users/gyulalaszlo/Developer/couchbase/build/bin/autoconf2.59 => /Users/gyulalaszlo/Developer/couchbase/build/bin/autoconf | |
/Users/gyulalaszlo/Developer/couchbase/build/bin/autoheader2.59 => /Users/gyulalaszlo/Developer/couchbase/build/bin/autoheader | |
/Users/gyulalaszlo/Developer/couchbase/build/bin/autom4te2.59 => /Users/gyulalaszlo/Developer/couchbase/build/bin/autom4te | |
./otp_build autoconf |
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
See any operating system documentation about shared libraries for | |
more information, such as the ld(1) and ld.so(8) manual pages. | |
---------------------------------------------------------------------- | |
test -z "/Users/gyulalaszlo/Developer/couchbase/install/bin" || config/install-sh -c -d "/Users/gyulalaszlo/Developer/couchbase/install/bin" | |
/bin/sh ./libtool --mode=install /usr/bin/install -c vbuckettool vbucketkeygen '/Users/gyulalaszlo/Developer/couchbase/install/bin' | |
libtool: install: /usr/bin/install -c .libs/vbuckettool /Users/gyulalaszlo/Developer/couchbase/install/bin/vbuckettool | |
libtool: install: /usr/bin/install -c .libs/vbucketkeygen /Users/gyulalaszlo/Developer/couchbase/install/bin/vbucketkeygen | |
test -z "/Users/gyulalaszlo/Developer/couchbase/install/share/man/man3" || config/install-sh -c -d "/Users/gyulalaszlo/Developer/couchbase/install/share/man/man3" | |
test -z "/Users/gyulalaszlo/Developer/couchbase/install/share/man/man4" || config/install-sh -c -d "/Users/gyulalaszlo/Developer/couchbase/ins |
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
Removing libtool | |
Removing m4/libtool.m4 | |
Removing m4/ltoptions.m4 | |
Removing m4/ltsugar.m4 | |
Removing m4/ltversion.m4 | |
Removing m4/lt~obsolete.m4 | |
Removing m4/version.m4 | |
Removing src/.deps/ | |
Removing src/.dirstamp | |
Removing src/config.h |
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
#encoding: UTF-8 | |
require 'rubygems' | |
require 'builder' | |
#Started POST "/gyorskereso/repjegy/purchase?url=http%3A%2F%2Fflight1.onlinetravel.ch%2Fcgi-bin%2Fflightmore" for 188.36.35.62 at 2011-12-03 04:11:57 +0000 | |
REQUEST_LINE = /^Started ([A-Z]+) "(.*?)" for ([0-9\.]+) at (.*?)$/ | |
LAYOUT_RENDER_LINE = /^Rendered (.*?) within (.*?) \(/ | |
ABINGO_BINGO = /ABingo#bingo!/ |
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
from_date_strings = (s1, s2)-> | |
s2 = "0#{s2}" if s2 < 10 | |
"#{s2}.#{s1[4..5]}.#{s1[0..3]}" | |
$(-> | |
$('#repcsi_es_szallas form').submit -> | |
self = this | |
t = (sc)-> $(sc, self) |
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
# Script to watch a directory for any changes to a haml file | |
# and compile it. | |
# Copyright © 2013 Gyula László. Code released under the DWTFYW License. | |
require 'fssm' | |
require 'haml' | |
class HamlWatch < Thor |
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
class Task | |
attr_reader :key, :deps, :block, :all_dependencies | |
# Creates a new task | |
def initialize key, &to_do_block | |
@key, @deps, @all_dependencies = key, [], [] | |
@block = to_do_block.to_proc if to_do_block | |
end | |
# Mark the dependencies of this task |
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
; Takes a list of tasks and their dependencies, solves a DAG | |
; and returns the order in which the tasks | |
; should be run, grouping the paralellizable tasks into lists. | |
; | |
; Transforms this task list: | |
; {:sql_1 [] | |
; :sql_sum [:sql_1] | |
; :sql_3 [] | |
; :view [:sql_1 :sql_sum]} | |
; |
OlderNewer