Skip to content

Instantly share code, notes, and snippets.

View gabsoftware's full-sized avatar

Gabriel Hautclocq gabsoftware

View GitHub Profile
gabsoftware / GoogleHackMasterList.txt
Created April 6, 2016 21:55 — 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
"parent directory" +proftpdpasswd
Duclassified" "DUware All Rights reserved"
What I'm having in Apache config (working)
RewriteRule ^/(.*)$ balancer://diaspora%{REQUEST_URI} [P,QSA,L]
<Proxy balancer://diaspora>
diaspora.yml :
BalancerMember unix://home/diaspora/diaspora/tmp/diaspora.sock|http://
with result :
[Mon Aug 29 15:55:06.673806 2016] [proxy:error] [pid 1491:tid 140114049025792] (2)No such file or directory: AH02454: HTTP: attempt to connect to Unix domain socket /diaspora/diaspora/tmp/diaspora.sock () failed
[Mon Aug 29 15:55:06.673843 2016] [proxy:error] [pid 1491:tid 140114049025792] AH00959: ap_proxy_connect_backend disabling worker for () for 60s
[Mon Aug 29 15:55:06.673853 2016] [proxy_http:error] [pid 1491:tid 140114049025792] [client] AH01114: HTTP: failed to make connection to backend: httpd-UDS
gabsoftware / maintenance.html
Last active December 2, 2016 11:04 — forked from pitch-gist/gist:2999707
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
gabsoftware / index.html
Last active August 9, 2017 08:55
Finding out the fastest way to loop through an array ( #jsbench #jsperf
<!DOCTYPE html>
<meta charset="utf-8"/>
<title>Finding out the fastest way to loop through an array</title>
<script src=""></script>
<script src="./suite.js"></script>
<h1>Open the console to view the results</h1>
gabsoftware / TemplateLoader.ts
Last active February 18, 2021 18:27 — forked from amirgalor/templateLoader.js
Kendo UI - "Template Loader" - improved and in TypeScript !
This defines a class that can load external templates.
It handles multiple "Templates" (Or "Views") loading,
by operating on an array of JSON objects of type {url: "url to file", id: "id of the script's tag to attach to DOM"}
This way you can load multiple templates, each with it's own tag so they can be referenced seperatly,
Templates can be written in a much "cleaner" manner - as they are not wrapped by a "script" tag, IDE's will recognize the html.
A promise will be resolved after template loading has completed (loading & attaching to DOM)