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
| <RequireAll> | |
| Require ip <ip1> <ip2> | |
| </RequireAll> |
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
| <Files pphinfo.php> | |
| Order deny,allow | |
| Deny from all | |
| Allow from <ip1> <ip2> | |
| </Files> |
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
| <IfModule deflate_module> | |
| <IfModule filter_module> | |
| AddOutputFilterByType DEFLATE text/plain text/html | |
| AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd | |
| AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml | |
| AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript | |
| AddOutputFilterByType DEFLATE font/otf font/opentype application/font-otf application/x-font-otf | |
| AddOutputFilterByType DEFLATE font/ttf font/truetype application/font-ttf application/x-font-ttf | |
| </IfModule> | |
| </IfModule> |
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
| <ifModule mod_expires.c> | |
| ExpiresActive On | |
| ExpiresDefault "access plus 5 seconds" | |
| ExpiresByType image/x-icon "access plus 1 month" | |
| ExpiresByType image/jpeg "access plus 4 weeks" | |
| ExpiresByType image/png "access plus 30 days" | |
| ExpiresByType image/gif "access plus 43829 minutes" | |
| ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds" | |
| ExpiresByType text/css "access plus 604800 seconds" | |
| ExpiresByType text/javascript "access plus 604800 seconds" |
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
| order deny,allow | |
| deny from all | |
| allow from <ip goes here> |
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 ## Функция для вывода содержимого переменной. | |
| // Распечатывает дамп переменной на экран. | |
| function dumper( $obj ) { | |
| echo | |
| "<pre>", | |
| htmlspecialchars( dumperGet( $obj ) ), | |
| "</pre>"; | |
| } | |
| // Возвращает строку - дамп значения переменной в древовидной форме |
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
| # Taken from here : https://simonecarletti.com/blog/2016/08/redirect-domain-http-https-www-apache/ | |
| RewriteEngine On | |
| RewriteCond %{HTTPS} off [OR] | |
| RewriteCond %{HTTP_HOST} !^www\. [NC] | |
| RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC] | |
| RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301] |
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
| <IfModule mod_rewrite.c> | |
| # IMPORTANT TO PLACE IT BEFORE OTHER REWRITE RULES. REDIRECTS ONE FOLDER PATH TO ANOTHER | |
| Options +FollowSymLinks -MultiViews | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^produkte/(.*)$ /pm_produkte/$1 [L,NC,R=302] | |
| </IfModule> |
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
| /* Test here: http://www.meinpraktikum.de/praktikum/suchen?utf8=%E2%9C%93&q=&location=*/ | |
| (function( $ ) { | |
| $(document).ajaxComplete(function(){ | |
| $("html, body").animate({ scrollTop: $(document).height() }, "slow"); | |
| console.log($(".search-result-vacancies-box").length); | |
| }) | |
| })(jQuery); |
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 getSelected() { | |
| if (window.getSelection) { | |
| return window.getSelection().toString(); | |
| } else if (document.getSelection) { | |
| return document.getSelection().toString(); | |
| } else { | |
| var selection = document.selection && document.selection.createRange(); | |
| if (selection.text) { | |
| return selection.text.toString(); | |
| } |