Log in to your Managed Hosting Server via SSH.
Create your .bashrc:
touch .bashrc
| # Stop the Windows Update service | |
| Stop-Service -Name wuauserv | |
| # Remove the registry key | |
| Remove-Item HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate -Recurse | |
| # Start the Windows Update service | |
| Start-Service -name wuauserv |
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var styleEl = document.getElementById('css-layout-hack'); | |
| if (styleEl) { | |
| styleEl.remove(); | |
| return; | |
| } | |
| styleEl = document.createElement('style'); | |
| styleEl.id = 'css-layout-hack'; |
| // create a bookmark and use this code as the URL, you can now toggle the css on/off | |
| // thanks+credit: https://dev.to/gajus/my-favorite-css-hack-32g3 | |
| javascript: (function() { | |
| var elements = document.body.getElementsByTagName('*'); | |
| var items = []; | |
| for (var i = 0; i < elements.length; i++) { | |
| if (elements[i].innerHTML.indexOf('* { background:#000!important;color:#0f0!important;outline:solid #f00 1px!important; background-color: rgba(255,0,0,.2) !important; }') != -1) { | |
| items.push(elements[i]); | |
| } | |
| } |
| /* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
| /* | |
| * This file is just for WordPress security and thats about it | |
| * Copy in functions.php | |
| * Uses send_headers as opposed to wp_header so as to ensure it works even when the webiste is cached | |
| */ | |
| add_action('send_headers', function(){ | |
| // Enforce the use of HTTPS | |
| header("Strict-Transport-Security: max-age=31536000; includeSubDomains"); | |
| // Prevent Clickjacking |
| <?php | |
| // info echo "REDAXO wurde bereits installiert"; exit; | |
| error_reporting(E_ALL); | |
| ini_set("display_errors",1); | |
| $current_version_path = file_get_contents("http://www.redaxo.org/de/_system/_version/5/"); | |
| $install_path = './'; | |
| $install_file = $install_path.'redaxo.zip'; |
| <?php | |
| /* | |
| * | |
| * Based on (forked from) the work by https://gist.github.com/Kostanos | |
| * | |
| * This revision allows the PHP file to be included/required in another PHP file and called as a function, rather than focusing on command line usage. | |
| * | |
| * Convert JSON file to CSV and output it. | |
| * | |
| * JSON should be an array of objects, dictionaries with simple data structure |
| # These steps will get nginx installed on your Mac for local development and | |
| # testing purposes, to be used alongside MAMP (which already includes Apache). | |
| # The following steps assume that you're running MAMP and that you already | |
| # have php-cgi in /Applications/MAMP/bin/php/php5.4.10/bin/php-cgi. | |
| # The start-nginx and stop-nginx scripts created at the end do not | |
| # start or stop MySQL because it is assumed that you normally run MAMP | |
| # with Apache + MySQL turned on and that you occasionally want to switch | |
| # your web server to Nginx for testing purposes and that you leave MySQL running. | |
| # This process was tested successfully on OS X 10.9. |