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
.fc-segunda-view .fc-list-item:nth-child(n+4):not(.keynote-entry) { background-color: lightyellow; } | |
.fc-segunda-view .fc-list-item:nth-child(n+8):not(.keynote-entry) { background-color: lightblue; } | |
.fc-segunda-view .fc-list-item:nth-child(n+12):not(.keynote-entry) { background-color: lightyellow; } | |
.fc-segunda-view .fc-list-item:nth-child(n+16):not(.keynote-entry) { background-color: lightblue; } | |
.fc-segunda-view .fc-list-item:nth-child(n+20):not(.keynote-entry) { background-color: lightyellow; } | |
.fc-segunda-view .fc-list-item:nth-child(n+24):not(.keynote-entry) { background-color: lightblue; } | |
.fc-terca-view .fc-list-item:nth-child(n+3):not(.keynote-entry) { background-color: lightyellow; } | |
.fc-terca-view .fc-list-item:nth-child(n+7):not(.keynote-entry) { background-color: lightblue; } | |
.fc-terca-view .fc-list-item:nth-child(n+11):not(.keynote-entry) { background-color: lightyellow; } |
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/bash | |
shopt -s nullglob # won't error if a glob has no match | |
wallpaper_dir="$HOME/Dropbox/Photos/Wallpapers" | |
cd $wallpaper_dir | |
files=(*jpg *jpeg *png *bmp) | |
for file in "${files[@]}" | |
do read -r width height <<< $(sips -g pixelWidth -g pixelHeight "$file" | awk '/pixel(Width|Height)/ {print $2}') |
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
beforeEach(function() { | |
this.addMatchers({ | |
flunk: function(description) { | |
this.message = function() { return "Flunk: " + description + "."; } | |
return false; | |
} | |
}); | |
}); | |
function flunk(description) { |
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
do shell script "bless -mount /Volumes/BOOTCAMP/ -legacy -setBoot -nextonly" with administrator privileges | |
tell application "System Events" to restart |
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
Prêmio Migrante: @knorrium | |
Prêmio Hipster: @rafalemos | |
Prêmio Sumido: @diegomclima | |
Prêmio Tod Dog: @dipnlik | |
Prêmio #Apapu: @macari | |
Prêmio Luis Fernando Veríssimo: @soulomaeda | |
Prêmio Avatar Eterno: @emarx | |
Prêmio Fiscal do Metrô: @r0cc0 | |
Prêmio Psico: Avatar do @srninja | |
Prêmio #corrainibeijadoritos: @caiocorraini |
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/bash | |
# Don't forget to check environments and deploy paths before using this script. | |
function deploy { | |
echo "INFO: Deploying to $environment environment." | |
mkdir -p $DEPLOY_PATH | |
GIT_WORK_TREE=$DEPLOY_PATH git checkout -f $environment | |
} |
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
# -*- encoding: utf-8 -*- | |
Gem::Specification.new do |s| | |
s.name = %q{composite_primary_keys} | |
s.version = "2.3.5.1" | |
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | |
s.authors = ["Dr Nic Williams"] | |
s.date = %q{2010-02-12} | |
s.description = %q{Composite key support for ActiveRecords} |
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
/* reduz altura das linhas da tabela de emails */ | |
tr.zA > td { padding-top:2px!important; padding-bottom:2px!important; } | |
/* não preciso mais de link de preview */ | |
span#\:qz { display:none!important; } | |
/* lista de emails mais próxima dos botões acima dela | |
div.qRauBc { margin-top:0!important; } | |
*/ |
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
export PATH="$HOME/Development/bin:\ | |
/opt/local/bin:/opt/local/sbin:\ | |
/usr/local/jruby/bin:\ | |
/usr/local/mongodb/bin:\ | |
/usr/local/mysql/bin:\ | |
$PATH" | |
# rvm | |
if [[ -s $HOME/.rvm/scripts/rvm ]] ; then source $HOME/.rvm/scripts/rvm ; fi |
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/local/jruby/bin/jruby | |
require "rubygems" | |
require "celerity" | |
@browser = Celerity::Browser.new(:browser => :firefox) | |
lord_eternal_id = "33125302527857541563" | |
@browser.goto "http://colirios.capricho.abril.com.br/batalha.php?idColirio=#{lord_eternal_id}" | |
puts "@browser ready." |