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' | |
require 'uri' | |
require 'CSV' | |
class FifaScrape | |
attr_reader :baseUrl, :mech | |
def initialize(url, proxy) | |
@mech = Mechanize.new | |
@baseUrl = url |
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/perl | |
foreach my $arg (@ARGV) { | |
#print $arg, "\n"; | |
my $found = 0; | |
foreach my $dir (split(/\;/, $ENV{"PATH"})) { | |
foreach my $ext ('', split(/\;/, $ENV{"PATHEXT"})) { | |
$fqpath = $dir . "\\" . $arg . $ext; | |
#print $fqpath, "\n"; | |
if (-f $fqpath) { |
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/env ruby | |
## disconnect | |
# ./disconnect.rb -u yourusername [-o /your/path] [-p yourhttpproxyserver] | |
# | |
# This is a command-line utility for the bulk-downloading of run data from | |
# the connect.garmin.com web application, which has lackluster export | |
# capabilities. | |
# |