Based on this article
ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does
This script can be copy paste to ssh as is. No hands installation. :-)
yum install zsh -y
| <!-- Google Tag Manager --> | |
| <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |
| new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |
| j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |
| 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |
| })(window,document,'script','dataLayer','GTM-5HPMNS7');</script> | |
| <!-- End Google Tag Manager --> | |
| <!-- Google Tag Manager (noscript) --> |
| #!/usr/bin/env ruby | |
| # gem install mechanize | |
| require 'mechanize' | |
| abort "Usage:\n\tradiojavan.rb \"https://www.radiojavan.com/playlists/playlist/mp3/02596ef9986a\" output_txt" if ARGV.size < 2 | |
| playlist_url = ARGV[0] | |
| output_file = ARGV[1] | |
| HOST = 'https://www.radiojavan.com' |
ALL INSTALLATIONS ASSUME YES WHEN PROMPTED, that's what -y does
This script can be copy paste to ssh as is. No hands installation. :-)
yum install zsh -y
| $key = $argv[1]; | |
| $value = $argv[2]; | |
| $path = dirname(__FILE__) . '/.env'; | |
| $newContent = ''; | |
| $content = fopen($path, 'r+'); | |
| $found = false; | |
| while (!feof($content)) { | |
| $line = fgets($content); | |
| if (!empty(trim($line))) { |
| <?php | |
| /* | |
| * Plugin Name: Paulund WP List Table Example | |
| * Description: An example of how to use the WP_List_Table class to display data in your WordPress Admin area | |
| * Plugin URI: http://www.paulund.co.uk | |
| * Author: Paul Underwood | |
| * Author URI: http://www.paulund.co.uk | |
| * Version: 1.0 | |
| * License: GPL2 | |
| */ |