Skip to content

Instantly share code, notes, and snippets.

View freakynit's full-sized avatar

Nitin Bansal freakynit

View GitHub Profile
@freakynit
freakynit / LoggerFilter
Created June 7, 2016 11:04 — forked from calo81/LoggerFilter
Filter for reading and logging HttpServletRequest body, and resetting the input stream
package com.paddypower.financials.market.management.rest.logging;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import javax.servlet.Filter;
import javax.servlet.FilterChain;
@freakynit
freakynit / introrx.md
Created May 24, 2016 11:58 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@freakynit
freakynit / connectHTMLelements_SVG.png
Created February 23, 2016 06:29 — forked from alojzije/connectHTMLelements_SVG.png
Connect two elements / draw a path between two elements with SVG path (using jQuery)
connectHTMLelements_SVG.png
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Applications/Android Studio.app/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
Applications:
Books & Reference
Business
Comics
Communication
Education
Entertainment
Finance
Health & Fitness
Libraries & Demo
@freakynit
freakynit / GoogleHackMasterList.txt
Last active May 29, 2017 06:54 — forked from cmartinbaughman/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
var eles = document.getElementsByClassName("detail");
function doNext(curIndex){
var ab= eles[curIndex].getElementsByTagName('a');
if(ab[0].innerHTML.indexOf("Free") > -1) ab[0].click();
setTimeout(function(){
if(curIndex < (eles.length - 1)) {
doNext(curIndex + 1);
}
}, 500);
id hash_name demo_item_category pre_html_content post_html_content context publish_rules_json demo_order creation_tstamp last_modified_tstamp
1 welcome welcome <div id="pre-info-box" class="info-box-common">
\n <div class="info-box-header" style="text-align:center;">
\n <span class="info-box-header-heading">Welcome to WebEngage Demo</span>
\n </div>
\n <div style="border-top: 1px solid #eee;margin-top: 20px;margin-bottom: 30px;"></div>
\n <div style="text-align:centre;"><input type="button" id="start-demo-button" value="Click here to start the demo!" style="margin: 0px; margin-bottom:20px;">
\n </div> web_demo [{
\n "preInfoBoxDuration": 0,
\n "widgetDuration": 0,
var _weq = _weq || {};
_weq['webengage.licenseCode'] = '76aa1cd';
_weq['webengage.widgetVersion'] = "4.0";
_weq['webengage.feedback.defaultRender'] = false;
_weq['webengage.onReady'] = function(){
if(!(webengage.BrowserDetect.isMobile() || webengage.util.isSmallScreen())) {
webengage.feedback.render();
}