Skip to content

Instantly share code, notes, and snippets.

View ekchang's full-sized avatar

Erick C ekchang

View GitHub Profile
@ekchang
ekchang / Contract Killer 3.md
Created June 19, 2016 13:17 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

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

@ekchang
ekchang / solarized-dark.css
Created May 22, 2016 19:17 — forked from nicolashery/solarized-dark.css
Solarized theme stylesheets for Jekyll and Pygments
/* Solarized Dark
For use with Jekyll and Pygments
http://ethanschoonover.com/solarized
SOLARIZED HEX ROLE
--------- -------- ------------------------------------------
base03 #002b36 background
base01 #586e75 comments / secondary content
@ekchang
ekchang / TypefaceSpannableFactory.java
Created March 14, 2016 20:18
TypefaceSpannableFactory drop in replacement for Html.fromHtml
import android.app.Application;
import android.content.res.AssetManager;
import android.graphics.Typeface;
import android.text.Html;
import android.text.SpannableStringBuilder;
import android.text.Spanned;
import android.text.style.StyleSpan;
import uk.co.chrisjenx.calligraphy.CalligraphyTypefaceSpan;
import uk.co.chrisjenx.calligraphy.TypefaceUtils;
@ekchang
ekchang / DividerItemDecoration.java
Last active December 6, 2015 15:02 — forked from alexfu/DividerItemDecoration.java
An ItemDecoration that draws dividers between items. Pulled from Android support demos. Factor in child animation in getTranslationX/Y
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software