View agregar_puntos.rb
def agregar_puntos cpf | |
cpf.split("-")[0].split(/(.{3})(.{3}$)/).join(".") | |
end |
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 |
View sidekq_push.rb
Sidekiq::Client.push('queue' => queue_name, 'class' => Worker, 'args' => [self.id]) |