Skip to content

Instantly share code, notes, and snippets.

Mario Lavandero mlavandero

Block or report user

Report or block mlavandero

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mlavandero
mlavandero / sidekq_push.rb
Created Nov 11, 2014
Sidekiq Client Push
View sidekq_push.rb
Sidekiq::Client.push('queue' => queue_name, 'class' => Worker, 'args' => [self.id])
@mlavandero
mlavandero / remove_open_with.bash
Created May 13, 2013
Clear Duplicate / Old / Wrong Open With apps from contextual menus. Got it from: http://itpixie.com/2011/05/fix-duplicate-old-items-open-with-list/#.UZDuPpVNLyI
View remove_open_with.bash
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/\
LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local\
-domain system -domain user
@mlavandero
mlavandero / agregar_puntos.rb
Created Jan 19, 2013
Agregar puntos a CPF
View agregar_puntos.rb
def agregar_puntos cpf
cpf.split("-")[0].split(/(.{3})(.{3}$)/).join(".")
end
You can’t perform that action at this time.