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 | |
# START SAFE AD ROTATE | |
echo '<html><head><title>Ad</title><meta name="robots" content="noindex"></head><body>'; | |
# how to serve it safely | |
# <iframe sandbox="allow-forms allow-scripts allow-same-origin allow-pointer-lock allow-popups" width="300" height="250" frameBorder="0" scrolling="no" style="padding:0;margin:0;" src="http://abc.com/safe-ad.php?ad-id=123id></iframe> | |
$ad_id = $_GET['ad-id']; | |
if ($ad_id == '123'){ |
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/sh | |
SHORTCUT="[Desktop Entry] | |
Name=Sublime Text 3 | |
Comment=Edit text files | |
Exec=/opt/subl3/sublime_text | |
Icon=/opt/subl3/Icon/128x128/sublime-text.png | |
Terminal=false | |
Type=Application | |
Encoding=UTF-8 | |
Categories=Utility;TextEditor;" |