These are the JavaScript rules I've been living by and don't expect you to agree or follow them.
I use it. If you don't, read these:
My iTunes Match Track upgrading and process info: | |
If you have less than 25,000 tracks: | |
1. First let iTunes Match do its things and find all possible matches in your library and finish uploading any non-matching tracks. | |
2. Once its done, make a new Smart Playlist (I made a folder for all my Smart iTunes Match Related Playlists) | |
Name this one: iCloud-Upgradeable | |
Criteria: | |
MATCH ALL: | |
Bit Rate is less than 256kbps |
These are the JavaScript rules I've been living by and don't expect you to agree or follow them.
I use it. If you don't, read these:
if defined?(Bundler) | |
# If you precompile assets before deploying to production, use this line | |
# Bundler.require *Rails.groups(:assets => %w(development test)) | |
# If you want your assets lazily compiled in production, use this line | |
Bundler.require(:default, :assets, Rails.env) | |
end |
This script installs a patched version of ruby 1.9.3-p125 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84). It also includes the new backported GC from ruby-trunk.
Huge thanks to funny-falcon for the performance patches.
# You can check if current symbol is equivalent the question string | |
# | |
# e.g.: | |
# :symbol.symbol? # => true | |
# :symbol1.symbol1? # => true | |
# :sym_bol.sym_bol? # => true | |
# :"sym-bol".sym_bol? # => true | |
# :"sym bol".sym_bol? # => true | |
class Symbol | |
def method_missing(meth, *args, &blk) |
!default.mode1v3 | |
!default.mode2v3 | |
!default.pbxuser | |
!default.perspectivev3 | |
!default.xcworkspace | |
*.mode1v3 | |
*.mode2v3 | |
*.moved-aside | |
*.pbxuser | |
*.perspectivev3 |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Mathieu 'p01' Henri <http://www.p01.org/releases/> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
#------------------------------------------------------------------------------ | |
# Rotinas para verificação de CPF e CNPJ | |
# Linguagem: Ruby | |
# Escrito por: André Camargo < andre@boaideia.inf.br > http://blog.boaideia.inf.br | |
# Use, copie, melhore a vontade! Patches são bem-vindos... | |
#------------------------------------------------------------------------------ | |
def check_cpf(cpf=nil) | |
return false if cpf.nil? | |
nulos = %w{12345678909 11111111111 22222222222 33333333333 44444444444 55555555555 66666666666 77777777777 88888888888 99999999999 00000000000} |
# | |
# Pra quem ficou com preguiça de ficar dando refresh na página da polícia | |
# federal na hora de solicitar o passaporte | |
# | |
require 'rubygems' | |
require 'net/http' | |
require 'uri' | |
cpf = "1234567890" |
pt-BR: | |
errors: | |
messages: | |
expired: 'expirou, por favor solicite um novo' | |
not_found: 'não encontrado' | |
already_confirmed: 'já foi confirmado, por favor tente fazer login' | |
not_locked: 'não estava bloqueado' | |
not_saved: | |
one: "1 erro impediu que %{resource} fosse salvo:" | |
other: "%{count} erros impediram que %{resource} fosse salvo:" |