Forked from http://rectangleworld.com/
Forked from Max Xiong's Pen Generative Fractal Lines.
Forked from Max Xiong's Pen Generative Fractal Lines.
@echo off | |
"C:\Program Files\Microsoft Office 15\root\office15\groove.exe" /clean /all |
#!/bin/bash | |
mysql -uroot -ppassword -e "SHOW PROCESSLIST;" |
<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> |
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/ |
Forked from http://rectangleworld.com/
Forked from Max Xiong's Pen Generative Fractal Lines.
Forked from Max Xiong's Pen Generative Fractal Lines.
<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 |
<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> |
<?xml version='1.0' encoding='utf-8'?> | |
<tomcat-users> | |
<!-- | |
NOTE: By default, no user is included in the "manager-gui" role required | |
to operate the "/manager/html" web application. If you wish to use this app, | |
you must define such a user - the username and password are arbitrary. | |
--> | |
<role rolename="tomcat"/> | |
<role rolename="admin"/> | |
<role rolename="manager-gui"/> |
<?php | |
$now = time(); | |
$then = strtotime("2014-11-21 18:15:00"); | |
$diffTime = ($then-$now); | |
$day = floor($diffTime / (24*3600)); | |
$diffTime = $diffTime % (24*3600); | |
$houre = floor($diffTime / (60*60)); | |
$diffTime = $diffTime % (60*60); | |
$min = floor($diffTime / 60); |
<?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)) { |