Skip to content

Instantly share code, notes, and snippets.

@admiral0
admiral0 / import.pl
Created May 9, 2013 11:20
import.pl for solder. Imports all mods and versions into the solder DB. License: MIT
#!/usr/bin/perl
use warnings;
use strict;
use DBI();
##EDIT HERE##
my $c_database = "database";
my $c_host = "localhost";
my $c_dbuser="dbuser";
@admiral0
admiral0 / lib32.pl
Created January 26, 2012 22:13
lib32 perl
use strict;
use warnings;
use DBI;
use SQLite::DB;
use LWP::Simple;
use Data::Dumper;
my $exit=0;
my $db=SQLite::DB->new("packages.sqlite");
@admiral0
admiral0 / naviperl.pl
Created January 18, 2012 22:22
Perl downloader for Nokia N9 firmware.
#!/usr/bin/perl
use LWP::UserAgent;
use HTTP::Request;
use HTTP::Cookies;
use SOAP::Lite;
print "-----------------------------------\n";
print "- Nokia N9 Firmware Downloader -\n";
print "-----------------------------------\n";
print "Downloading product list...\n";
@admiral0
admiral0 / gist:671261
Created November 10, 2010 18:21
Coloured issue
We couldn’t find that file to show.