Skip to content

Instantly share code, notes, and snippets.

Nathan Wong esteluk

Block or report user

Report or block esteluk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Contract Killer

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

esteluk / styles.css
Created May 14, 2012
CSS Styles for greyscale image hover
View styles.css
.image {
filter: url(filters.svg#grayscale); /* Firefox 3.5+ */
filter: gray; /* IE6-9 */
-webkit-filter: grayscale(1); /* Webkit Nightlies & Google Chrome Canary */
.image:hover {
filter: none; /* Applies to FF + IE */
-webkit-filter: grayscale(0);
esteluk / filters.svg
Created May 14, 2012
Greyscale layer for an image
View filters.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
esteluk / layout.xml
Created Aug 5, 2011
Example XML file using ModifiedScrollView
View layout.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android=""
<RelativeLayout android:id="@+id/topLayout"
<ImageView android:id="@+id/backgroundImage"
esteluk /
Created Aug 5, 2011
Scrollview allowing for a fixed lower background that can be interacted with
package com.gravitywell.examples;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.ScrollView;
* This class is used on the about screen when we have a background layer that
* requires interaction but a scrollview above it that can slide to cover this
View gist:740773
public class DownloadPicker extends PreferenceActivity {
DatabaseHelper locationData;
public void onCreate(Bundle savedInstanceState) {
PreferenceScreen root = getPreferenceManager().createPreferenceScreen(this);
root.setTitle("Choose clock packs");
You can’t perform that action at this time.