Skip to content

Instantly share code, notes, and snippets.

Ege Kuzubasioglu egek92

Block or report user

Report or block egek92

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
hleinone / CreditCardNumberFormattingTextWatcher.kt
Created Jul 8, 2016
Android EditText TextWatcher for formatting credit card number made with Kotlin
View CreditCardNumberFormattingTextWatcher.kt
class CreditCardNumberFormattingTextWatcher : TextWatcher {
private var current = ""
override fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int) {
override fun beforeTextChanged(s: CharSequence, start: Int, count: Int, after: Int) {
override fun afterTextChanged(s: Editable) {
Ferrmolina /
Created May 24, 2016
Get Name, ID and Email - Facebook SDK - Android
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
callbackManager.onActivityResult(requestCode, resultCode, data);
GraphRequest request = GraphRequest.newMeRequest(
new GraphRequest.GraphJSONObjectCallback() {
public void onCompleted(
FrantisekGazo /
Last active Aug 14, 2019
Retain & restore recycler view scroll position
package eu.f3rog.ui.custom;
import android.content.Context;
import android.os.Bundle;
import android.os.Parcelable;
import android.util.AttributeSet;
aggrolite /
Last active Aug 13, 2019
Writing a reddit bot with Go and OAuth2
egslava /
Created Aug 12, 2014
Wrap content height ViewPager (Android)
package org.cnii.layoutloader.ui;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
* Special thanks to Daniel López Lacalle for his response
* (
staltz /
Last active Oct 15, 2019
The introduction to Reactive Programming you've been missing
jxson /
Created Feb 10, 2012 template


At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.


jimbojsb / gist:1630790
Created Jan 18, 2012
Code highlighting for Keynote presentations
View gist:1630790

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

You can’t perform that action at this time.