Block or Report
Block or report shakhal
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned Loading
-
Find values in JSON by key, recursively
Find values in JSON by key, recursively 1function findValues(obj, key){
2return findValuesHelper(obj, key, []);
3}
45function findValuesHelper(obj, key, list) {
-
Extracting Your Own Location Informa...
Extracting Your Own Location Information From Google 1// Today's time is needed to get the bounding for the request
2$currentTime = time();
34// Beginning and end of the day
5$startTime = strtotime("midnight", $currentTime);
-
Call JSONP
Call JSONP 1function callJsonp(url, callbackFunc){
2var callbackName;
34if (callbackFunc == null || callbackFunc.length == 0){
5callbackName = "dummy";
-
Cytoscape js layout switcher
Cytoscape js layout switcher 1$(function(){ // on dom ready
23var html = layouts.reduce(function(a,e,i){return a+"<a onclick='setLayout("+i+")'>"+e+"</a> - "},"Layouts:")
4$("#cy").before(html);
5 -
Yearly Quarters math, add, subtract,...
Yearly Quarters math, add, subtract, increase etc... 12var Quarter = function(year, quarter){
34this.year = year;
5this.quarter = quarter;
-
clone.sh
clone.sh 1#!/bin/bash
23if [ -z "$1" ]; then
4echo "missing org name"
5exit 1
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.