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
| require 'thor' | |
| class Ebuild < Thor | |
| desc 'all', 'clean, compile and generate edoc for all modules' | |
| def all | |
| clean | |
| compile | |
| doc | |
| end |
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
| %% | |
| %% Restfulierl, a member of Restfulie initiative. | |
| %% | |
| %% @author Leandro Silva <[email protected]> | |
| %% @copyright 2009 Leandro Silva. | |
| %% | |
| %% See more about Restfulie initiative on http://restfulie.caelum.com.br. | |
| %% | |
| %% @doc start point to use Restfuilerl. |
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
| -module(sample_erlang_bdd). | |
| -include_lib("eunit/include/eunit.hrl"). | |
| %%--- Spec 1 --------------------------- | |
| describe_truth_test_() -> | |
| [fun should_be_true/0, | |
| fun should_be_false/0]. | |
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
| // | |
| // NSArray+Functional.h | |
| // DynamicFeatures | |
| // | |
| // Created by Leandro Silva on 4/10/10. | |
| // Copyright 2010 __MyCompanyName__. All rights reserved. | |
| // | |
| #import <Cocoa/Cocoa.h> |
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
| # | |
| # TERMINAL SETTINGS ########################################################### | |
| # | |
| # Define how Bash prompt looks like | |
| export PS1='\n\[\e[0;32m\]\u@\h \[\e[0;33m\]\w \[\e[0;35m\]$(__git_ps1 "(%s)")\n\[\e[0;32m\]\$ \[\e[0;37m\]' | |
| # Cli Colors | |
| export CLICOLOR=1 |
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
| %% | |
| %% Load balancer | |
| %% | |
| %% Author: Krzysztof KliÅ› <[email protected]> | |
| %% | |
| %% This program is free software: you can redistribute it and/or modify | |
| %% it under the terms of the GNU General Public License as published by | |
| %% the Free Software Foundation, either version 3 of the License, or | |
| %% (at your option) any later version. | |
| %% |
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/sh -x | |
| #This script removes Mono from an OS X System. It must be run as root. | |
| rm -r /Library/Frameworks/Mono.framework | |
| rm -r /Library/Receipts/MonoFramework-* | |
| for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man5; do | |
| (cd ${dir}; |
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
| # Install Mono from SVN trunk | |
| # 1- Get the code | |
| $ svn co svn://anonsvn.mono-project.com/source/trunk/mono | |
| $ svn co svn://anonsvn.mono-project.com/source/trunk/mcs | |
| # 2- Configure the build |
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
| source :rubygems | |
| source :rubyforge | |
| gem 'sinatra' | |
| gem 'sinatra-mongoid', :require => 'sinatra/mongoid' | |
| gem 'bson_ext' | |
| gem 'activesupport' | |
| group :test do | |
| gem 'rspec' |
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
| #!/usr/bin/env ruby | |
| # | |
| # A little sugar to use Mono C# 4.0 compiler. | |
| # | |
| # Author: Leandro Silva | |
| # . [email protected] | |
| # . http://leandrosilva.com.br | |
| # . @codezone | |
| # |