Skip to content

Instantly share code, notes, and snippets.

View stinsonga's full-sized avatar
🚀

George S stinsonga

🚀
View GitHub Profile
@stinsonga
stinsonga / key.md
Created February 27, 2019 23:17
Twitter (un)official Consumer Key

Twitter Official Consumer Key

Twitter for Android

type:            PIN
Consumer key:    3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for iPhone

type:            PIN

Consumer key: IQKbtAYlXLripLGPWd0HUA

/* Copyright 2013 Google Inc.
Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0.html */
package com.example.latlnginterpolation;
import android.animation.ObjectAnimator;
import android.animation.TypeEvaluator;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.os.Build;
@stinsonga
stinsonga / pagination.md
Created February 2, 2016 13:11 — forked from mislav/pagination.md
"Pagination 101" by Faruk Ateş

Pagination 101

Article by Faruk Ateş, [originally on KuraFire.net][original] which is currently down

One of the most commonly overlooked and under-refined elements of a website is its pagination controls. In many cases, these are treated as an afterthought. I rarely come across a website that has decent pagination, and it always makes me wonder why so few manage to get it right. After all, I'd say that pagination is pretty easy to get right. Alas, that doesn't seem the case, so after encouragement from Chris Messina on Flickr I decided to write my Pagination 101, hopefully it'll give you some clues as to what makes good pagination.

Before going into analyzing good and bad pagination, I want to explain just what I consider to be pagination: Pagination is any kind of control system that lets the user browse through pages of search results, archives, or any other kind of continued content. Search results are the o

@stinsonga
stinsonga / AES.c
Created February 24, 2014 07:28 — forked from bricef/AES.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* MCrypt API available online:
* http://linux.die.net/man/3/mcrypt
*/
#include <mcrypt.h>
@stinsonga
stinsonga / gist:7148957
Last active December 26, 2015 12:09 — forked from anonymous/gist:7148897
/*
Author: King of Ashiya
Date: 10/23/13
Description:
Write a program that starts with the string variable 'first' set to your first
name and the string variable last set to your last name. Both names should be
all lowercase. Your program should then create a new string that contains your
full name in pig latin with the first letter capitalized for the first and last
name. Use only the pig latin rule of moving the first letter to the end of the
@stinsonga
stinsonga / README.md
Created October 12, 2013 13:43 — forked from nikcub/README.md
@stinsonga
stinsonga / AES.c
Created June 21, 2013 14:16 — forked from bricef/AES.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* MCrypt API available online:
* http://linux.die.net/man/3/mcrypt
*/
#include <mcrypt.h>