echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
This file contains 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 | |
/* | |
Create a random UUID in PHP based on the UUID V1 format | |
Output example: e22e1622-5c14-11ea-b2f3-0242ac130003 | |
The MIT License (MIT) | |
Copyright (c) 2024 Stephen Monro |
This file contains 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
{ | |
"name": "aap", | |
"version": "2.2.0", | |
"author": "me", | |
"homepage": "", | |
"scripts": { | |
"ng": "ng", | |
"start": "ng serve", | |
"build": "ng build", | |
"test": "ng test", |
This file contains 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
[{"id":"9","wp_url":"https://www.ucbasiapacific.org/wp-json/wp/v2/posts?categories=199","wp_media_url":"https://ucbasiapacific..org/wp-json/wp/v2/media/","name":"LifeFM Indo","website":"https://ucbasiapacific..org/","test_feed":"0","language":"Indonesian","active":"1","country":"Indonesia","country_code":"id","word_for_language":"Language","default_selected":"1","store":"https://www.ucbasiapacific.org/contact-us/","support":"https://www.ucbasiapacific.org/contact-us/","contact":"https://www.ucbasiapacific.org/contact-us/","wp_url_download_source":"https://www.ucbasiapacific.org/wp-json/wp/v2/posts?categories=199","listen_station_url":"https://livessl.rcast.net/stream/65809","station_name":"LifeFM Indo","MasterTWFTCustomSourceDataURL":"https://clients.bluetomatomedia.com/api/view_content_iso.php?ajf_id=13&ajfsd_app_id=11&l=10","station_logo":"https://www.ucbasiapacific.org/app-resources/artwork/indo/listen/station_logo_life_fm_indonesia_main.png","station_twft_source_icon":"https://www.ucbasiapacific.org/app-r |
This file contains 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
[{"id":"9","wp_url":"https://www.ucbasiapacific.org/wp-json/wp/v2/posts?categories=199","wp_media_url":"https://ucbasiapacific..org/wp-json/wp/v2/media/","name":"LifeFM Indo","website":"https://ucbasiapacific..org/","test_feed":"0","language":"Indonesian","active":"1","country":"Indonesia","country_code":"id","word_for_language":"Language","default_selected":"1","store":"https://www.ucbasiapacific.org/contact-us/","support":"https://www.ucbasiapacific.org/contact-us/","contact":"https://www.ucbasiapacific.org/contact-us/","wp_url_download_source":"https://www.ucbasiapacific.org/wp-json/wp/v2/posts?categories=199","listen_station_url":"https://livessl.rcast.net/stream/65809","station_name":"LifeFM Indo","MasterTWFTCustomSourceDataURL":"https://clients.bluetomatomedia.com/api/view_content_iso.php?ajf_id=13&ajfsd_app_id=11&l=10","station_logo":"https://www.ucbasiapacific.org/app-resources/artwork/indo/listen/station_logo_life_fm_indonesia_main.png","station_twft_source_icon":"https://www.ucbasiapacific.org/app-r |
This file contains 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
/* | |
Modifed by S. Monro 20220418 | |
configCordovaPlugin.js | |
This gist was published after I wrote this post: | |
https://forum.ionicframework.com/t/android-build-fails-string-activity-name-not-found/200866/7?u=stephenmonro | |
In short, you can find problems that after using Ionic with Cordova and adding Capacitor as well, there's probably |
This file contains 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
// Finding the integer values of a plottable for ScottPlot when you know the name/label of it | |
// For use with https://github.com/swharden/ScottPlot | |
formsPlot1.plt.PlotVLine(label: "green", lineWidth: 3, x: position, draggable: true, dragLimitLower: 0, dragLimitUpper: Global.samples[filename_value]); | |
String plotname = ""; | |
int plottablescount = formsPlot1.plt.GetSettings(false).plottables.Count; | |
for (int i = 0; i < plottablescount; i++) |
This file contains 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 | |
/* Firstly, I didn’t create all of this. I’ve just making it easy to understand with a full example. | |
You can read more of it here, but only because of archive.org. https://web.archive.org/web/20160106095540/http://designaeon.com/2012/07/read-mp3-tags-without-downloading-it/ | |
To begin, download this library from here: http://getid3.sourceforge.net/ | |
When you open the zip folder, you’ll see ‘getid3’. Save that folder in to your working folder. |
This file contains 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
// I added this suppliment to my configDB file, as it's included in every page that either logs in or requires a db connection. | |
/** | |
* A Compatibility library with PHP 5.5's simplified password hashing API. | |
* | |
* @author Anthony Ferrara <[email protected]> | |
* @license http://www.opensource.org/licenses/mit-license.html MIT License | |
* @copyright 2012 The Authors | |
*/ |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Country Map Example</title> | |
</head> | |
<body> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/jquery-jvectormap.min.css" type="text/css"> | |
<style> |
NewerOlder