bla bla...
# Download
wget https://www.apachefriends.org/xampp-files/7.2.2/xampp-linux-x64-7.2.2-0-installer.run
# Install
chmod +x xampp-linux-x64-5.6.33-0-installer.run| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| # add a trailing slash to /wp-admin | |
| RewriteRule ^wp-admin$ wp-admin/ [R=301,L] | |
| RewriteCond %{REQUEST_FILENAME} -f [OR] | |
| RewriteCond %{REQUEST_FILENAME} -d | |
| RewriteRule ^ - [L] |
| #sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb | |
| #sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb | |
| # UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81 | |
| sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb | |
| ### Uncomment below line if you have not installed gdebi-core before | |
| # sudo apt-get install gdebi-core | |
| sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb |
| [php] | |
| memory_limit = -1 | |
| max_execution_time = 0 | |
| date.timezone = "Europe/Prague" | |
| realpath_cache_size = "4096K" | |
| [opcache] | |
| opcache.enable = 1 | |
| opcache.enable_cli = 1 | |
| opcache.memory_consumption = 256 |
| <?php | |
| if(php_sapi_name()!=="cli"){ | |
| echo "Must be run from the commend line."; | |
| }; | |
| /** | |
| * Setup a magento instance so we can run this export from the command line. | |
| */ | |
| require_once('app/Mage.php'); | |
| umask(0); | |
| if (!Mage::isInstalled()) { |
| #!/usr/bin/env bash | |
| # Download a podcast episode from anchor.fm | |
| # | |
| # Usage: | |
| # grab-anchor-episode https://anchor.fm/emerge/episodes/Robert-MacNaughton---Learnings-from-the-Life-and-Death-of-the-Integral-Center-e31val | |
| # | |
| # anchor.fm serves a list of m4a files that need to be concatenated with ffmpeg. | |
| set -eu -o pipefail |
| # Check if we already have swap | |
| swapon -s | |
| # Second Check | |
| free -m | |
| # Check available space | |
| df -h | |
| # Generate the file (4GB) |
| param ( | |
| # Verify the sessions file exists | |
| [ValidateScript( { | |
| if (-Not ($_ | Test-Path)) { | |
| throw "File does not exist" | |
| } | |
| return $true | |
| })] | |
| [System.IO.FileInfo]$InputFile, |