#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| # robots.txt for Magento 1.9.x / v1.6 2018-08-19 / Peeter Marvet | |
| # (original version from 2015, edited in 2017 to add filter query parameter disallow samples + some wildcards, | |
| # edited in 2018 to add query params blocking to Yandex as named User-agent does not read *) | |
| # based on: | |
| # http://inchoo.net/ecommerce/ultimate-magento-robots-txt-file-examples/ | |
| # http://www.byte.nl/blog/magento-robots-txt/ | |
| # https://astrio.net/blog/optimize-robots-txt-for-magento/ | |
| # | |
| # comment and clone at https://gist.github.com/petskratt/016c9dbf159a81b9d6aa | |
| # Keep in mind that by standard robots.txt should NOT contain empty lines, except between UA blocks! |
| #!/usr/bin/env bash | |
| #################################################################################### | |
| # Slack Bash console script for sending messages. | |
| #################################################################################### | |
| # Installation | |
| # $ curl -s https://gist.githubusercontent.com/andkirby/67a774513215d7ba06384186dd441d9e/raw --output /usr/bin/slack | |
| # $ chmod +x /usr/bin/slack | |
| #################################################################################### | |
| # USAGE | |
| # Send message to slack channel/user |
| # Beispiel-Codeschnipsel für die WordPress-htaccess-Datei | |
| # https://www.wp-sicherheit.info | |
| # Marc Nilius, info@wp-sicherheit.info | |
| # Mit Material von Zodiac1978, siehe auch https://gist.github.com/Zodiac1978/d25a8f3aebba7cd1c01c | |
| # | |
| # Diese Codeschnipsel gehören in die .htaccess-Datei im Hauptverzeichnis von WordPress | |
| # Jeder einzelne Bestandteil kann einzeln kopiert und genutzt werden. | |
| # Bitte die Verwendungshinweise (Kommentare) an jedem Schnipsel beachten |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| # <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # Explain why this change is being made | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Example: Github issue #23 |
| # $Id: robots.txt,v magento-specific 2010/28/01 18:24:19 goba Exp $ | |
| # Edited: 2014/10/30 by Byte.nl | |
| # | |
| # robots.txt | |
| # | |
| # This file is to prevent the crawling and indexing of certain parts | |
| # of your site by web crawlers and spiders run by sites like Yahoo! | |
| # and Google. By telling these “robots” where not to go on your site, | |
| # you save bandwidth and server resources. | |
| # |
| <?php | |
| function getExceptionTraceAsString($exception) { | |
| $rtn = ""; | |
| $count = 0; | |
| foreach ($exception->getTrace() as $frame) { | |
| $args = ""; | |
| if (isset($frame['args'])) { | |
| $args = array(); | |
| foreach ($frame['args'] as $arg) { | |
| if (is_string($arg)) { |
| <?php | |
| namespace Pokus; | |
| class Exception extends \Exception | |
| { | |
| } | |
| function tttt($string) | |
| { | |
| try { |
| <?xml version="1.0"?> | |
| <layout> | |
| <default> | |
| <!--Root/Default Layouts--> | |
| <reference name="root"> | |
| <!--Appending Block--> | |
| <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/> | |
| </reference> | |
| <!--CSS and JS Files--> |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll | |
| *.exe | |
| *.o | |
| *.so | |
| # Packages # |