Skip to content

Instantly share code, notes, and snippets.

View fredericorecsky's full-sized avatar

Frederico Recsky fredericorecsky

View GitHub Profile
#!/usr/bin/env python
import collections
import sys
import lxml.html
import requests
import pyalpm
@creaktive
creaktive / mysqldump2csv.pl
Last active August 29, 2015 14:27
convert MySQL dump to CSV
#!/usr/bin/env perl
use 5.010;
use strict;
use warnings;
my $schema;
my $table;
while (my $line = <>) {
my @csv = ();
if ($line =~ m{^ CREATE \s+ TABLE \s+ `(?<table> \w+)`}ox) {
Perl is a powerful and flexible language/tool for creating awesome software.
The YAPC (Yet Another Perl Conference) is is an annual continental event hosted by the Perl community including talks, workshops and debates about everything Perl.
This year, YAPC::Brasil will be hosted at Taubaté, a countryside town in the State of São Paulo, in September 18th through 20. Several of the great local and international names of the Perl community will be attending.
Given that 2015 celebrates the 15th birthday of CPAN, the Comprehensive Perl Archive Network, our focus will be on the more than 130 thousand modules available in the archive. The celebration will include a hackathon to fix existing modules as well as creating and submitting new ones.
We invite you to come check out what is new and modern about productive software development using the Perl language.
@preaction
preaction / update.pl
Created October 24, 2012 02:04
update.pl - Create a release metadata file from git tags
#!perl
# Copyright 2012 - Double Cluepon Software Corp.
# This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself
use strict;
use warnings;
use Pod::Usage;
use Getopt::Long;
use XML::LibXML;
use File::Spec::Functions qw( catdir catfile );
@avar
avar / 30-income-calculon.pl
Last active February 12, 2024 18:34
Calculate your income in The Netherlands with and without a 30% ruling.
# To check if this is up-to-date with the tax rates go to
# http://www.expatax.nl/tax-rates-2016.php and see if there's anything
# newer there.
#
# I make no guarantees that any of this is correct. I calculated this
# at the time and have been updating it when new tax rates come along
# because people keep finding this useful.
#
# There's also an interactive JS version of this created by
# @stevermeister at