Skip to content

Instantly share code, notes, and snippets.

Avatar

Daniël van Eeden dveeden

View GitHub Profile
@dveeden
dveeden / Dockerfile
Created Jun 9, 2014
Docker file for infobright
View Dockerfile
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 Aug 29, 2015
mysql_bugs_csv
View MySQL Bugs.ipynb
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 Aug 29, 2015
MySQL XML to Key/Value
View example_output.txt
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 Jan 13, 2015
MySQL Bug #73967 - Incorrect string value for sql_text
View MySQL Bug #73967 - Incorrect string value for sql_text.ipynb
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 Aug 29, 2015
Greasemonkey script to add links to MySQL bugs on dev.mysql.com
View mysqlbuglinks.user.js
View convert-to-mp3.sh
#!/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
View gist:e5fac8f206a5bf52b5d6
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 Dec 26, 2015
Loading the world database with cext fails (MySQL Bug #79780)
View cext world bug.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MySQL Connector Python versus MySQLdb.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View MySQL Connpy and ssl_ca.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.