Skip to content

Instantly share code, notes, and snippets.

View gonter's full-sized avatar

Gerhard Gonter gonter

View GitHub Profile
#!/usr/bin/perl
use strict;
use Util::JSON;
use Data::Dumper;
$Data::Dumper::Indent= 1;
use FileHandle;
@gonter
gonter / mysql_queries.md
Last active October 28, 2019 18:29
mysql query mystery

Question

Why does query 1 not return the same items as query 2? Effectively, it works the same as query 4.

background

MySQL Server version: 5.1.73-log Source distribution

mysql client Ver 14.14 Distrib 5.7.22, for Linux (x86_64) using EditLine wrapper

#!/usr/bin/perl
use strict;
use LWP::Simple;
use Data::Dumper;
$Data::Dumper::Indent= 1;
use FileHandle;
@gonter
gonter / README.textile
Last active August 8, 2017 06:52
wkt_hack1
@gonter
gonter / .gitignore
Last active May 14, 2016 02:37
postgres aligned output files
*.csv
*.sql
@gonter
gonter / README.textile
Last active April 26, 2021 13:52
TSM (Tivoli Storage Manager) on Ubuntu 16.04

DMP Stuff

Files related to the “DMPonline” application by the Digital Curration Centre (DCC) 1.
The software itself can be found on GitHub 2. The University of Alberta provides
an interesting fork 3.

Two mailing lists might be of interest:

  • dmponline-user-group 4 for general discussion
  • dmponline-dev 5 for development related discussion
#!/usr/bin/perl
use strict;
use JSON;
my @out=();
FILE: foreach my $file (@ARGV)
{
my $json;
@gonter
gonter / .gitignore
Last active November 30, 2016 21:08
MongoDB backup
dump/
201?????T??????.zip
@gonter
gonter / README.md
Last active December 3, 2015 13:13
sort test

test sort function