git clone --recursive git://github.com/ganine/dotfiles.git ~/.dotfiles
for dotfile in `find ~/.dotfiles -mindepth 2 -not -iwholename '*.git*'`; do
ln -s "$dotfile" "~/.$(basename $dotfile)"
done
set nocompatible | |
filetype off | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
Bundle 'gmarik/vundle' | |
Bundle 'vim-scripts/ack.vim' | |
Bundle 'Lokaltog/vim-easymotion' |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "precise64" | |
config.vm.provision :shell, :privileged => false, :path => "bootstrap_ubuntu1204.sh" | |
end |
require 'nokogiri' | |
require 'open-uri' | |
require 'json' | |
module PsyCrawler | |
DOMAIN = "http://www.psydb.net" | |
def self.get_artists |
public List<ValidacaoException> validar() throws Exception { | |
List<ValidacaoException> problemas = new ArrayList<ValidacaoException>(); | |
for (Method method : this.getClass().getDeclaredMethods()) { | |
if (method.getName().startsWith("validar") && !method.getName().equals("validar")) { | |
try { | |
method.invoke(this); | |
} catch (InvocationTargetException e) { | |
problemas.add((ValidacaoException) e.getCause()); |