Skip to content

Instantly share code, notes, and snippets.

View dveeden's full-sized avatar

Daniël van Eeden dveeden

View GitHub Profile
@dveeden
dveeden / Dockerfile
Created June 9, 2014 12:33
Docker file for infobright
FROM debian:wheezy
MAINTAINER Daniël van Eeden <docker@myname.nl>
RUN apt-get update
RUN apt-get install -y wget
RUN wget -qO /root/infobright-4.0.7-0-x86_64-ice.deb http://www.infobright.org/downloads/ice/infobright-4.0.7-0-x86_64-ice.deb
RUN dpkg -i /root/infobright-4.0.7-0-x86_64-ice.deb
@dveeden
dveeden / MySQL Bugs.ipynb
Last active August 29, 2015 14:02
mysql_bugs_csv
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dveeden
dveeden / example_output.txt
Last active August 29, 2015 14:11
MySQL XML to Key/Value
mysql> source xml_xpath_kv.sql
Query OK, 0 rows affected, 1 warning (0.00 sec)
Query OK, 0 rows affected, 1 warning (0.00 sec)
Query OK, 0 rows affected (0.02 sec)
Query OK, 0 rows affected (0.01 sec)
Query OK, 1 row affected (0.01 sec)
@dveeden
dveeden / MySQL Bug #73967 - Incorrect string value for sql_text.ipynb
Created January 13, 2015 11:46
MySQL Bug #73967 - Incorrect string value for sql_text
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dveeden
dveeden / mysqlbuglinks.user.js
Last active August 29, 2015 14:22
Greasemonkey script to add links to MySQL bugs on dev.mysql.com
#!/bin/bash
# Converts ogg vorbis to mp3 using gstreamer.
# Requires gstreamer-plugins-ugly for the lame mp3 encoding
if [ -z $1 ]; then
echo "Usage $0 <location>"
exit 1
fi
location=$1
mysql> SELECT 'Café' COLLATE utf8mb4_unicode_ci = 'Cafe' COLLATE utf8mb4_unicode_ci AS test1;
+-------+
| test1 |
+-------+
| 1 |
+-------+
1 row in set (0.00 sec)
mysql> SELECT '🍣 ' COLLATE utf8mb4_unicode_ci = '🍺 ' COLLATE utf8mb4_unicode_ci AS test2;
+-------+
@dveeden
dveeden / cext world bug.ipynb
Created December 26, 2015 09:47
Loading the world database with cext fails (MySQL Bug #79780)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.