Skip to content

Instantly share code, notes, and snippets.

Avatar

Erick C ekchang

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

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 — forked from nicolashery/solarized-dark.css
Solarized theme stylesheets for Jekyll and Pygments
View solarized-dark.css
/* 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 Mar 14, 2016
TypefaceSpannableFactory drop in replacement for Html.fromHtml
View TypefaceSpannableFactory.java
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 Dec 6, 2015 — forked from alexfu/DividerItemDecoration.java
An ItemDecoration that draws dividers between items. Pulled from Android support demos. Factor in child animation in getTranslationX/Y
View DividerItemDecoration.java
/*
* 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