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
LoadModule auth_ntlm_module modules/mod_authn_ntlm.so | |
<Location /auth> | |
#AllowOverride None | |
AuthName "Private location" | |
AuthType SSPI | |
NTLMAuth On | |
NTLMAuthoritative On | |
<RequireAll> | |
<RequireAny> | |
Require valid-user |
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
<html> | |
<head> | |
</head> | |
<body> | |
<?php | |
$current_ip = $_SERVER["REMOTE_ADDR"]; | |
#echo '<b>' . $current_ip .'</b><br>'; | |
# ip address first bloc 41,196,197,102,105,154 are Africa, rest is Europe (e.g. 41.0.0.0 etc.) |
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
//JAVA-Script Code for ioTemplateEditor.asp | |
//Author: Joerg Trautmann | |
var cScriptVersionTemplateEditor = "6.75"; | |
var cRed = "#ff0000"; | |
var cBlack = "#000000"; | |
var cBlue = "#0000ff"; | |
var cGreen = "#00ff00"; | |
var cGray = "#a0a0a0"; |
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
<?php | |
/* | |
Array | |
( | |
[0] => Array | |
( | |
[hashtag] => a7e87329b5eab8578f4f1098a152d6f4 | |
[title] => Flower | |
[order] => 3 | |
) |
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
<?php | |
/** | |
* @param mixed $string The input string. | |
* @param mixed $replacement The replacement string. | |
* @param mixed $start If start is positive, the replacing will begin at the start'th offset into string. If start is negative, the replacing will begin at the start'th character from the end of string. | |
* @param mixed $length If given and is positive, it represents the length of the portion of string which is to be replaced. If it is negative, it represents the number of characters from the end of string at which to stop replacing. If it is not given, then it will default to strlen( string ); i.e. end the replacing at the end of string. Of course, if length is zero then this function will have the effect of inserting replacement into string at the given start offset. | |
* @return string The result string is returned. If string is an array then array is returned. | |
*/ | |
function mb_substr_replace($string, $replacement, $start, $length=NULL) { | |
if (is_array($string)) { |
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
<VirtualHost *:443> | |
DocumentRoot C:/www/ | |
ServerName example.com | |
ServerAlias www.example.com | |
<Directory C:/www/> | |
Options Indexes FollowSymlinks Multiviews ExecCGI | |
AllowOverride None | |
<RequireAll> | |
Require all granted | |
</RequireAll> |
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
<IfModule mod_headers.c> | |
Header always set Strict-Transport-Security "max-age=15553000" | |
</IfModule> | |
SSLUseStapling Off | |
SSLSessionCache shmcb:/opt/apache2/logs/ssl_gcache_data(512000) | |
SSLStaplingCache shmcb:/opt/apache2/logs/ssl_stapling_data(512000) | |
SSLOptions +StrictRequire +StdEnvVars -ExportCertData | |
SSLProtocol -all +TLSv1 +TLSv1.1 +TLSv1.2 | |
SSLCompression Off | |
SSLHonorCipherOrder On |
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
x64 | |
http://subversion.apache.org/download/#recommended-release | |
get sqlite-amalgamation from http://www.sqlite.org/download.html | |
put NOT Compiled zlib into the source tree | |
http://code.google.com/p/serf/downloads/list | |
needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe ) | |
Look for http://sourceforge.net/p/win32svn/code/HEAD/tree/ |
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
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\UpgradeExperienceIndicators" /v UpgEx | findstr UpgEx | |
if "%errorlevel%" == "0" GOTO RunGWX | |
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Appraiser" /v UtcOnetimeSend /t REG_DWORD /d 1 /f | |
schtasks /run /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" | |
:CompatCheckRunning | |
schtasks /query /TN "\Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" | |
Powershell -Command "Get-ScheduledTask -TaskName 'Microsoft Compatibility Appraiser' -TaskPath '\Microsoft\Windows\Application Experience\'" | Find "Ready" | |
if NOT "%errorlevel%" == "0" ping localhost >nul &goto :CompatCheckRunning | |
:RunGWX | |
schtasks /run /TN "\Microsoft\Windows\Setup\gwx\refreshgwxconfig" |
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
<IfModule mod_headers.c> | |
Header always set X-Frame-Options "SAMEORIGIN" | |
Header always set X-XSS-Protection "1; mode=block" | |
Header always set X-Content-Type-Options "nosniff" | |
</IfModule> |
OlderNewer