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 | |
https://serf.apache.org/download | |
needs scons ( https://bitbucket.org/scons/scons/downloads/scons-2.3.5.win-amd64.exe ) | |
open zlib\win32\Makefile.msc | |
replace line 20 with |
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
@echo off | |
net stop w32time | |
w32tm /config /syncfromflags:manual /manualpeerlist:"0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org" | |
w32tm /config /reliable:yes | |
net start w32time | |
w32tm /query /configuration | |
w32tm /resync |
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
#!/usr/bin/perl | |
# Copyright 2012 - Jean-Sebastien Morisset - http://surniaulula.com/ | |
# | |
# This script is free software; you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software | |
# Foundation; either version 3 of the License, or (at your option) any later | |
# version. | |
# | |
# This script is distributed in the hope that it will be useful, but WITHOUT |
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
@echo off | |
echo Content-Type: text/plain | |
echo. | |
dir |
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
diff --git a/Makefile b/Makefile | |
index 429f3f9..92ce02b 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,8 +1,19 @@ | |
-APACHEDIR=C:\Apache_24_Module\httpd-2.4.10 | |
-MSVCDIR=C:\Program Files (x86)\\Microsoft Visual Studio 11.0\VC | |
-PLATSDKDIR=C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A | |
+#APACHEDIR=C:\Apache_24_Module\httpd-2.4.10 | |
+#MSVCDIR=C:\Program Files (x86)\\Microsoft Visual Studio 11.0\VC |
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
function heidiDecode(hex) { | |
var str = ''; | |
var shift = parseInt(hex.substr(-1)); | |
hex = hex.substr(0, hex.length - 1); | |
for (var i = 0; i < hex.length; i += 2) | |
str += String.fromCharCode(parseInt(hex.substr(i, 2), 16) - shift); | |
return str; | |
} | |
document.write(heidiDecode('755A5A585C3D8141786B3C385E3A393')); |
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
#!/bin/env sh | |
lines=$(tput lines) | |
cols=$(tput cols) | |
awkscript=' | |
{ | |
letters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()" | |
lines=$1 |
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
## shortcut for iptables and pass it via sudo# | |
alias ipt='sudo /sbin/iptables' | |
# display all rules # | |
alias iptlist='sudo /sbin/iptables -L -n -v --line-numbers' | |
alias iptlistin='sudo /sbin/iptables -L INPUT -n -v --line-numbers' | |
alias iptlistout='sudo /sbin/iptables -L OUTPUT -n -v --line-numbers' | |
alias iptlistfw='sudo /sbin/iptables -L FORWARD -n -v --line-numbers' | |
alias firewall=iptlist |
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
<?phpMage::app('default'); | |
Mage::getSingleton('core/session', array('name'=>'frontend')); | |
$sessionCustomer =Mage::getSingleton("customer/session"); | |
if ($sessionCustomer->isLoggedIn()) { | |
return "Logged"; | |
} else { | |
return "Not Logged"; | |
} |
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
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | grep -v "ls" | grep -v "cd" | grep -v "exit" | column -c3 -s " " -t | sort -nr | nl | head -n10 |