This file contains 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
Section "DRI" | |
Group 0 | |
Mode 0666 | |
EndSection | |
Section "Extensions" | |
Option "Composite" "Enable" | |
EndSection | |
This file contains 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
require'rubygems';require'mechanize';a=Mechanize.new;p=a.get('http://tiny.cc/mv2mu'); | |
f=p.form_with(:action=>'http://daiphyer.com/index.php?/mvdlg/megavideo.com-to-megaupload.com-download-link-generator') | |
f.url=ARGV[0];p=a.submit(f);puts p.links_with(:href => /www.megaupload.com/) |
This file contains 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
# | |
# Automatically generated make config: don't edit | |
# Linux kernel version: 2.6.35-zen3 "Roger Roger" | |
# Tue Oct 5 09:01:45 2010 | |
# | |
CONFIG_64BIT=y | |
# CONFIG_X86_32 is not set | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y |
This file contains 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
require'mechanize';require'rss/2.0';a=Mechanize.new;p=a.get('http://italiansubs.net/') | |
f=p.form_with(:name=>'login');f.username=ARGV[0];f.passwd=ARGV[1] | |
p=a.submit(f);p=a.click p.link_with(:text=>"MY ITASA") | |
p=p.link_with(:href=>/favsub/).click;r=RSS::Parser.parse(p.body,false) | |
r.items.each_with_index{|l|puts"#{l.title} #{l.link}"} |
This file contains 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
require'open-uri';puts "gimme url";u=gets.chomp;if u[0..6] != "http://" ; | |
u="http://"+u;end;c=open(u);s=c.size;puts"Size: #{s}";while c.size == s; | |
puts "Size Now: #{c.size}";sleep(30);c=open(u);end;puts "YEAHHHH #{c.size}" | |
system('vlc /home/gildo/lol.mp4') |
This file contains 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
require'mechanize';require'open-uri' | |
a=Mechanize.new.get(ARGV[0]).link_with(:href=>/files/).href | |
b=a.split("/")[-1] | |
puts "Downloading #{b}" | |
system "wget '#{a}'" |
This file contains 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
require 'net/http' | |
puts Net::HTTP.get_response(URI.parse("http://wa.la/shorten.php?longurl=#{ARGV[0]}")).body |
This file contains 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/bin/ruby | |
abort("Enter a valid dir in ARGV")if ARGV[0].nil? | |
Dir["#{ARGV[0]}/*"].each{|d|Dir.chdir(d);puts"\npulling #{Dir.pwd.split("/").last}" | |
system("git pull");Dir.chdir("../")} |
This file contains 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
# v0.1 - initial import | |
# | |
# Description: | |
# | |
# Joins all files matched into one single file | |
# | |
# Usage: | |
# | |
# ruby jony.rb 2x21 | |
# |
OlderNewer