Skip to content

Instantly share code, notes, and snippets.

kmichel kmichel

Block or report user

Report or block kmichel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kmichel
kmichel / gist:ca8b8239944c8221d87d
Created Apr 20, 2015
The Power Of Love: Cupid's Revenge - List of events
View gist:ca8b8239944c8221d87d
- Lucky guys : two people ascending to hapiness, the worst !
- Looked the wrong way: falling in the endless pit while searching for a potential lover
- Lack of priorities : falling in the endless pit while already in love
- Good bye, my love: one of two mutual lovers falls in the endless pit
- Love triangle : someones loves someone who loves someone else who loves the first
- The third wheel : someone loves one of the two people ascending to hapiness
- Schadenfreude : someone loves someone who loves someone else who dies, well deserved !
- The enemy of my enemy : someone loves someone who loves someone else who loves someone else who dies
- Forever alone : the last one alive
@kmichel
kmichel / dot.cpp
Created Jan 26, 2014
Ugly custom operator
View dot.cpp
#include <iostream>
class DotOp {
};
class LhsDotOp {
public:
int value;
explicit LhsDotOp(int value) : value(value) {}
@kmichel
kmichel / install_google_cloud.sh
Created Feb 26, 2013
OSX setup script for Google Cloud for Data Crunchers tutorial at StrataConf
View install_google_cloud.sh
#!/usr/bin/env bash
set -e
echo '****** Installing BigQuery ******'
sudo easy_install bigquery
echo '****** Installing gcutil ******'
curl https://google-compute-engine-tools.googlecode.com/files/gcutil-1.7.1.tar.gz | tar xvzpf -
echo "export PATH=\${PATH}:${PWD}/gcutil-1.7.1" >> ~/.bash_profile
source ~/.bash_profile
gcutil help
echo '****** Installing gsutil ******'
View Reddit.java
import java.io.*;
import java.net.*;
import java.util.*;
import com.sun.net.httpserver.*;
public class Reddit implements Serializable {
public String title;
public URL url;
public int rating;
public int id;
public static String htmlentities(String s) {
You can’t perform that action at this time.