Skip to content

Instantly share code, notes, and snippets.

View koffisani's full-sized avatar

Koffi SANI koffisani

View GitHub Profile
koffisani / gist:43350052e8f04994eb0eb76286f96220
Last active May 8, 2020 09:46 — forked from jasoet/gist:3843797
Database Connection Singleton
* To change this template, choose Tools | Templates
* and open the template in the editor.
package org.secondstack.db;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
1. install openjdk
`sudo apt-get install openjdk-7-jdk`
2. install `android sdk`
# download android sdk
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
koffisani / mysql_countries.sql
Created January 22, 2018 14:04 — forked from kamermans/mysql_countries.sql
MySQL Dump - continents and countries with 2 and 3 char codes, names and full names - Braintree compatible as of Dec 2011
* Continents and Countries MySQL Tables compiled from Wikipedia, Braintree Payments documentation
* and a couple other places I don't recall at the moment. This data is compatible with the Braintree
* Payment API as of Dec 2011
* Compiled by Steve Kamerman, 2011
-- ----------------------------