This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What I'm having in Apache config (working) | |
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f | |
RewriteRule ^/(.*)$ balancer://diaspora%{REQUEST_URI} [P,QSA,L] | |
<Proxy balancer://diaspora> | |
BalancerMember http://127.0.0.1:3000 | |
</Proxy> | |
diaspora.yml : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 176.9.50.103:36212] AH01114: HTTP: failed to make connection to backend: httpd-UDS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Site Maintenance</title> | |
<style> | |
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; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Finding out the fastest way to loop through an array</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
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) |