Skip to content

Instantly share code, notes, and snippets.

theapache64 theapache64

Block or report user

Report or block theapache64

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
View gist:851f76f7e5f5ea53b10eeea848df51c2
; About php.ini ;
; PHP's initialization file, generally called php.ini, is responsible for
; configuring many of the aspects of PHP's behavior.
; PHP attempts to find and load this configuration from a number of locations.
; The following is a summary of its search order:
package lab;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
theapache64 / gist:e7ebf9154f22ce75fad5
Created Nov 26, 2015
Quora - HideTopContent Script
View gist:e7ebf9154f22ce75fad5
$('div.EventHeader').each(function(i, heading) {
var headingData = heading.innerHTML;
console.log("Heading is "+headingData);
var hasTopContent = headingData.indexOf("Top Content on Quora")!=-1;
console.log("Has top content = "+hasTopContent);
theapache64 / gist:1745fabda7744c2350c8
Created Sep 12, 2015
The below jQuery script will alert if the viewCount of a stackoverflow question changed.
View gist:1745fabda7744c2350c8
var prevViewCount = 0;
var isFirst = 1;
var url = window.location.href;
if(url.indexOf("/questions/") > -1){
console.log("Question found");
You can’t perform that action at this time.