Opengist Logo gist.melkat.dev

Explore

  • All gists
  • Topics
  • Users
melkat.dev
Give feedback on the new UI Powered by Opengist ⋅ 30ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
r

rss

Recently created Least recently created Recently updated Least recently updated

melanie / audio-cast.php

Last active 3 months ago rss
0 0 1
1 <?php
2
3 $YOUR_NAME = 'Melanie';
4 $WEBSITE_PATH = 'http://ds423/audio-cast';
5
6 $audioDirectory = '.';
7
8 $audioFiles = glob($audioDirectory . '/*.{mp3,m4a}', GLOB_BRACE);
9 usort($audioFiles, function ($a, $b) {
10 return filemtime($b) - filemtime($a);