—– BEGIN LICENSE —–
Andrew Weber
Single User License
EA7E-855605
813A03DD 5E4AD9E6 6C0EEB94 BC99798F
942194A6 02396E98 E62C9979 4BB979FE
91424C9D A45400BF F6747D88 2FB88078
90F5CC94 1CDC92DC 8457107A F151657B
This file contains hidden or 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
To find a string in a certain field and replace it with another string: | |
update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]'); |
This file contains hidden or 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 loadjscssfile(filename, filetype){ | |
if (filetype=="js"){ //if filename is a external JavaScript file | |
var fileref=document.createElement('script') | |
fileref.setAttribute("type","text/javascript") | |
fileref.setAttribute("src", filename) | |
} | |
else if (filetype=="css"){ //if filename is an external CSS file | |
var fileref=document.createElement("link") | |
fileref.setAttribute("rel", "stylesheet") | |
fileref.setAttribute("type", "text/css") |
This file contains hidden or 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 replaceSrc() | |
{ | |
var images = document.getElementsByTagName('img'); | |
for(var i = 0; i < images.length; i++) | |
{ | |
var img = images[i]; | |
This file contains hidden or 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
document.write('<div id="video" style="text-align:center;">'); | |
document.write('<embed src="http://www.dafk.net/what/lol.swf" hidden="true"></embed>'); | |
document.write('</div>'); | |
window.onmouseover=function() { | |
load(); | |
} | |
function timeout() { | |
setTimeout('load()',1000); |
This file contains hidden or 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(){ | |
function rotate(degrees) | |
{ | |
$('html').css({ | |
'-webkit-transform':'rotate(-' + degrees + 'deg)', | |
'-moz-transform':'rotate(-' + degrees + 'deg)', | |
'-ms-transform':'rotate(-' + degrees + 'deg)', | |
'-o-transform':'rotate(-' + degrees + 'deg)', | |
'transform':'rotate(-' + degrees + 'deg)', |
This file contains hidden or 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> | |
<br> | |
<p align="center"> <img src="http://2.bp.blogspot.com/-ZBx9Q8mei1k/VXaA--ZVAJI/AAAAAAAAMYE/q4Jsvap532s/s1600/opisis.jpg"> </p> | |
</br> |
This file contains hidden or 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
view-source:http://www.tellypass.com/pac/annie-3000 |
This file contains hidden or 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
http_port 9961 | |
http_access allow manager localhost | |
http_access allow all | |
http_access deny manager | |
via off | |
forwarded_for off | |
cache_dir diskd /tmp/ 600 16 256 | |
request_header_access Allow allow all | |
request_header_access Authorization allow all |
This file contains hidden or 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
openssl req -x509 -sha256 -nodes -days 365000 -newkey rsa:2048 -keyout /etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crt |