I hereby claim:
- I am jesusangelm on github.
- I am jesusangelm (https://keybase.io/jesusangelm) on keybase.
- I have a public key whose fingerprint is 7867 1133 740C 53E5 7AD3 481E 73EF F2EC 327A 7FB0
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[Desktop Entry] | |
Name=Skype | |
Comment=Skype Internet Telephony | |
Exec=env PULSE_LATENCY_MSEC=60 LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype %U | |
Icon=skype.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Network;Application; | |
MimeType=x-scheme-handler/skype; |
require 'nokogiri' | |
require 'open-uri' | |
class ParserClasificados | |
def urls(type) | |
case type | |
when :apartment_rent | |
return "http://www.elsoldemargarita.com.ve/clasificados/index/fsection:1" | |
when :house_rent |
#Script para obtener los Mb enviados y recibidos por | |
#una interfaz de red determinada. | |
#incluye una funcion para convertir Bytes a MB | |
#tiene unas pequeñas fallas que pronto arreglare! :) | |
def bytestomb bytes | |
mb = bytes.to_f / (1024*1024) | |
mb | |
end |
#!/usr/bin/env ruby | |
#coding: utf-8 | |
# Felicitador V2.0 POO | |
class Cumple | |
def initialize(nombre, anios) | |
@minombre = nombre | |
@mianios = anios | |
end |
#!/usr/bin/env ruby | |
# coding: utf-8 | |
puts "Favor ingresa tu nombre" | |
nombre = gets.chomp | |
puts "#{nombre} cuantos años cumples???" | |
anios = gets.chomp.to_i | |
anios.times do |num| | |
puts "#{num.to_s} Feliz Cumpleaños #{nombre}!!!" |
# based on the import script by icebreaker, which is based on mojombo's | |
# https://github.com/mojombo/jekyll/blob/master/lib/jekyll/migrators/wordpress.rb | |
# https://gist.github.com/303570 | |
# edited to rewrite image URLs to use my CloudFront URL | |
require 'rubygems' | |
require 'sequel' | |
require 'fileutils' | |
require 'yaml' |
#!/usr/bin/env ruby | |
def leer archivo | |
File.foreach(archivo).with_index do |linea, indice | | |
puts "#{indice}: #{linea}" | |
end | |
end | |
if ARGV.size > 1 | |
puts "Este script solo admite un argumento!" |
# Ignore bundler config | |
/.bundle | |
# Ignore the default SQLite database. | |
/db/*.sqlite3 | |
# Ignore all logfiles and tempfiles. | |
/log/*.log | |
/tmp |