Skip to content

Instantly share code, notes, and snippets.

View dveeden's full-sized avatar

Daniël van Eeden dveeden

View GitHub Profile
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;
+-------+
#!/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
@dveeden
dveeden / mysqlbuglinks.user.js
Last active August 29, 2015 14:22
Greasemonkey script to add links to MySQL bugs on dev.mysql.com
@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 / 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 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 / 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