Skip to content

Instantly share code, notes, and snippets.

View tjstyle's full-sized avatar

Teguh Sobirin tjstyle

View GitHub Profile
/*
* Sidr
* https://github.com/artberri/sidr
*
* Copyright (c) 2013 Alberto Varela
* Licensed under the MIT license.
*
* Using fixed version (curtesy of MaddinXx) compatible with jQuery 1.8+ found at: https://raw.github.com/MaddinXx/sidr/master/src/jquery.sidr.js
* tested with jQuery 1.10.2
*/
@tjstyle
tjstyle / client.java
Last active December 15, 2015 18:29 — forked from nurularifins/client.java
package com.example.serverclient;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
@tjstyle
tjstyle / gist:3802610
Created September 28, 2012 23:34 — forked from mosabua/gist:1316903
ExpandableListFragment
package android.support.v4.app;
import android.os.Bundle;
import android.os.Handler;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.Gravity;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnCreateContextMenuListener;