Skip to content

Instantly share code, notes, and snippets.

@bobbygrace
bobbygrace / trello-css-guide.md
Last active May 15, 2024 16:01
Trello CSS Guide

Hello, visitors! If you want an updated version of this styleguide in repo form with tons of real-life examples… check out Trellisheets! https://github.com/trello/trellisheets


Trello CSS Guide

“I perfectly understand our CSS. I never have any issues with cascading rules. I never have to use !important or inline styles. Even though somebody else wrote this bit of CSS, I know exactly how it works and how to extend it. Fixes are easy! I have a hard time breaking our CSS. I know exactly where to put new CSS. We use all of our CSS and it’s pretty small overall. When I delete a template, I know the exact corresponding CSS file and I can delete it all at once. Nothing gets left behind.”

You often hear updog saying stuff like this. Who’s updog? Not much, who is up with you?

@jtadeulopes
jtadeulopes / mask.rb
Created August 30, 2011 23:24
ruby exercícios
#
# Deve completar a máscara de acordo com o número informado
#
mask("125")
=> "00012-500"
mask("385002")
=> "38500-200"
By Klaus Wuestefeld
1) Torne-se excelente.
Seja realmente bom em alguma coisa. Não fique só choramingando ou
querendo progredir às custas dos outros. Não pense q pq vc sentou 4
anos numa faculdade ouvindo um professor falar sobre software q vc
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo
aula. Ele pratica. Instrumentistas geniais nao aprendem a tocar tendo
aula. Eles praticam. Pratique. Chegue em casa depois do trabalho e da
@jtadeulopes
jtadeulopes / gist:753877
Created December 24, 2010 03:44
dls for backup!
#
# Backup of mysql, files, whatever...
#
# example 1
backup.start do
new :mysql => {:host => '0.0.0.0', :user => 'root', :password => 'mypass'}
new :mysql => {:host => '0.0.0.0', :user => 'root', :password => 'mypass'}
new :archive => {:host => '0.0.0.0', :user => 'root', :password => 'mypass', :remote_file => ''}
end