Skip to content

Instantly share code, notes, and snippets.


Scott Alexander-Bown scottyab

View GitHub Profile
scottyab /
Created Oct 29, 2018 — forked from milosmns/
Android: Coloring (Helper Class)
package me.angrybyte.coloringdemo;
import static;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.res.ColorStateList;
scottyab /
Last active May 24, 2018 — forked from rodrigosetti/
Adds Copyright Notice to a bunch of Java and Kotlin files
scottyab / Contract Killer
Created Nov 24, 2017 — forked from malarkey/Contract Killer
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

package com.bizzby.utils;
import android.util.Log;
public class QLog
public class Repository extends SQLiteOpenHelper {
private static final int VERSION = 1;
private static final String DATABASE_NAME = "data.sqlite";
private static File DATABASE_FILE;
// This is an indicator if we need to copy the
// database file.
private boolean mInvalidDatabaseFile = false;
private boolean mIsUpgraded = false;
private Context mContext;
You can’t perform that action at this time.