I hereby claim:
- I am dbalexandre on github.
- I am dbalexandre (https://keybase.io/dbalexandre) on keybase.
- I have a public key whose fingerprint is B007 F5DB 70FD B4D4 B0A7 A25C 4DC4 A918 C347 CAC9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Monokai Soda.tmTheme", | |
"drag_text": false, | |
"draw_white_space": "all", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".tags", |
@william o que vcs usam no CSS para alinhar verticalmente 2 elementos (img e p) no meio de uma div? | |
@shiota display: table-cell + vertical-align: middle ou, se for só uma linha de texto, setar o line-height do p com a altura da img. |
$ git show --pretty="format:" --name-only bd61ad98 | |
index.html | |
javascript/application.js | |
javascript/ie6.js | |
The --no-commit-id suppresses the commit ID output. | |
The --pretty argument specifies an empty format string to avoid the cruft at the beginning. | |
The --name-only argument shows only the file names that were affected. |
## | |
# Raises error if missing translation key | |
## | |
config.before(:all, type: :controller) do | |
@_i18n_exception_handler = I18n.exception_handler | |
I18n.exception_handler = lambda { |*args| raise args.first.to_s } | |
end | |
config.after(:all, type: :controller) do | |
I18n.exception_handler = @_i18n_exception_handler |
<!-- Fonte: mussumipsum.com --> | |
<snippet> | |
<content><![CDATA[ | |
Mussum ipsum cacilds, vidis litro abertis. Consetis adipiscings elitis. Pra lá , depois divoltis porris, paradis. Paisis, filhis, espiritis santis. Mé faiz elementum girarzis, nisi eros vermeio, in elementis mé pra quem é amistosis quis leo. Manduma pindureta quium dia nois paga. Sapien in monti palavris qui num significa nadis i pareci latim. Interessantiss quisso pudia ce receita de bolis, mais bolis eu num gostis. | |
Suco de cevadiss, é um leite divinis, qui tem lupuliz, matis, aguis e fermentis. Interagi no mé, cursus quis, vehicula ac nisi. Aenean vel dui dui. Nullam leo erat, aliquet quis tempus a, posuere ut mi. Ut scelerisque neque et turpis posuere pulvinar pellentesque nibh ullamcorper. Pharetra in mattis molestie, volutpat elementum justo. Aenean ut ante turpis. Pellentesque laoreet mé vel lectus scelerisque interdum cursus velit auctor. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam ac mauris lectus, non scelerisque augu |
# -*- encoding : utf-8 -*- | |
namespace :heroku do | |
namespace :deploy do | |
PRODUCTION_APP = 'nomedoprojeto-production' | |
STAGING_APP = 'nomedoprojeto-staging' | |
def run(*cmd) | |
system(*cmd) | |
raise "Command #{cmd.inspect} failed!" unless $?.success? | |
end |
# -*- encoding : utf-8 -*- | |
namespace :integration do | |
namespace :heroku do | |
task :add_remote do | |
sh "git remote add staging [email protected]:nomedoprojeto-staging.git" if `git remote |grep staging`.strip.blank? | |
sh "git remote add production [email protected]:com:nomedoprojeto-production.git" if `git remote |grep production`.strip.blank? | |
end | |
task :check do | |
var = `heroku config -s --app nomedoprojeto-staging|grep INTEGRATING_BY` |
#!/bin/bash | |
heroku auth:login | |
heroku create $1 --stack cedar | |
heroku sharing:add [email protected] | |
heroku sharing:add [email protected] | |
heroku sharing:add [email protected] | |
heroku addons:add shared-database:5mb | |
heroku addons:add custom_domains:basic | |
heroku addons:upgrade logging:expanded |