I hereby claim:
- I am samir on github.
- I am samirbraga (https://keybase.io/samirbraga) on keybase.
- I have a public key ASABzoxpWPW2ysmE2rf8--mmFKjWSxtyQcUCrFXMPh_JhAo
To claim this, I am signing this object:
# Unicorn tasks | |
namespace :unicorn do | |
def pid_path | |
"#{shared_path}/pids/unicorn.pid" | |
end | |
def socket_path | |
"#{shared_path}/sockets/unicorn.sock" | |
end |
# -*- encoding : utf-8 -*- | |
# Commonly used email steps | |
# | |
# To add your own steps make a custom_email_steps.rb | |
# The provided methods are: | |
# | |
# last_email_address | |
# reset_mailer | |
# open_last_email | |
# visit_in_email |
#!/bin/bash | |
find . -name "*.php" -type f -exec sed -i 's/<?php \/\*\*\/ eval(base64_decode(\"[a-z0-9A-Z\/\+]*\"));?>//g' {} \; | |
# or | |
find . -name "*.php" -type f -exec sed -i 's/<?php \/\*\*\/ eval(base64_decode(\"[^"]*\"));?>//g' {} \; |
CREATE DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci; |
module BusinessDay | |
def next_business_day | |
self.skip_weekends self, 1 | |
end | |
def previous_business_day | |
self.skip_weekends self, -1 | |
end | |
protected | |
def skip_weekends(date, inc) | |
date += inc |
I hereby claim:
To claim this, I am signing this object:
Alimentos e Bebidas | |
Arte e Antiguidades | |
Artigos Religiosos | |
Assinaturas e Revistas | |
Automóveis e Veículos | |
Bebês e Cia | |
Blu-Ray | |
Brindes / Materiais Promocionais | |
Brinquedos e Games | |
Casa e Decoração |