Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block JimTim

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
/** Example from
import java.util.Scanner;
import com.github.scribejava.core.builder.ServiceBuilder;
import com.github.scribejava.core.model.OAuth1AccessToken;
import com.github.scribejava.core.model.OAuth1RequestToken;
import com.github.scribejava.core.model.OAuthRequest;
import com.github.scribejava.core.model.Response;
import com.github.scribejava.core.model.Verb;
import com.github.scribejava.core.oauth.OAuth10aService;
JimTim / gamers4refugees.js
Last active Sep 3, 2015 — forked from MasterofJOKers/gamers4refugees.js
OBS new donations
View gamers4refugees.js
var donations = 0,
lastCheck = 0,
lastFollower = "",
project_id = 24307;
function checkForNew(){
$.getJSON(""+project_id+"/opinions.json?order=created_at:DESC&facets=has_donation:true&per_page=1", function(data){
donations = data.total_entries;
if(donations > lastCheck && lastCheck!=0){
View java-properties.php
* return a position of needles
* credits goes to "msng" (
* @param String $haystack
* @param array of $needles
* @param number $offset
* @return Ambigous <boolean, number>|boolean|number
private static function strpos_array ($haystack, $needles, $offset = 0)
You can’t perform that action at this time.