Skip to content

Instantly share code, notes, and snippets.

View mix3's full-sized avatar

mix3@サタデーナイトフィーバー mix3

View GitHub Profile
@mix3
mix3 / gist:1907353
Created February 25, 2012 08:36 — forked from shin1ogawa/GDataCalendarExample.java
GDataOAuth2Example.java
import java.io.*;
import java.net.*;
public class GDataOAuth2Example {
static final String CLIENT_ID = "";
static final String CLIENT_SECRET = "";
static final String REDIRECT_URI = "urn:ietf:wg:oauth:2.0:oob"; // InstalledApplication
static final String SCOPES = "https://www.googleapis.com/auth/userinfo.profile"
@mix3
mix3 / fixes-5.3.sh
Last active December 25, 2015 02:48 — forked from nojimage/fixes-5.3.sh
#!/bin/bash
# Fix the 64bit c++ patch for PHP5.3
# https://bugs.php.net/bug.php?id=48795
#
# install to {path_to_php-build}/share/php-build/before-install.d/
function version { echo "$@" | awk -F. '{ printf("%d.%d.%d\n", $1,$2,$3); }'; }
phpver=$(basename "`pwd`")
@mix3
mix3 / github.css
Last active August 29, 2015 13:56 — forked from andyferra/github.css
#preview body {
font-family: Helvetica, arial, sans-serif;
font-size: 14px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
#preview body > *:first-child {