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
<Directory "/home/the directory_where_your_serverside_pages_is"> | |
Header set Access-Control-Allow-Origin "*" | |
AllowOverride all | |
Order allow,deny | |
Allow from all | |
</Directory> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#!/bin/bash | |
# | |
# processname: stargazer | |
# config: /etc/stargazer/stargazer.conf | |
# pidfile: /var/run/stargazer.pid | |
# Source function library. | |
. /etc/rc.d/init.d/functions | |
# Source networking configuration. |
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
<meta http-equiv="Imagetoolbar" content="no" /> | |
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /> | |
<meta name="format-detection" content="telephone=no" /> | |
<meta name="viewport" content="" /> |
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://www.facebook.com/sharer.php?u=<url to share>&t=<title of content>link or image</a> | |
<a href="http://www.twitter.com/share?url=http://www.google.com/>Tweet</a> |
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
gApplication.getMap().getCenter() |
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
var flag = false; | |
$(window).resize(function(){ | |
if(flag === false){ | |
setTimeout(function(){ | |
$( '.scroll-pane' ).jScrollPane(); | |
flag = false; | |
}, 300); | |
} | |
flag = true; | |
}); |
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://www.securityweek.com/hacked-mit-server-used-stage-attacks-scan-vulnerabilities | |
Using mod-rewrite in HTACCESS can filter these scans, redirecting them to your main domain or elsewhere, such as a 403 page. | |
RewriteCond %{REQUEST_URI} ^(.*)//+(.*)$ | |
RewriteRule / http: //www.example.com/%1/%2 [R=301,L] |
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
<?php | |
ini_set('memory_limit', '5120M'); | |
set_time_limit ( 0 ); | |
/*************************************************************************** | |
* sql_parse.php | |
* ------------------- | |
* begin : Thu May 31, 2001 | |
* copyright : (C) 2001 The phpBB Group | |
* email : [email protected] |
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
<input id="box-toggle" type="checkbox"> | |
<label for="box-toggle">Show geometry</label> |