$trim(%artist%) - $trim(%title%)
%discnumber%$ifgreater(%track%,9,,0)%track% - $trim(%artist%) - $trim(%title%)
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>PSU METEO 410: METAR Highlighter</title> | |
| <style> | |
| body, | |
| input { | |
| font-family: sans-serif; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>PSU Meteorology E-Wall Archive Browser</title> | |
| <style> | |
| body, | |
| input, | |
| select { | |
| font-family: sans-serif; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Filesystem Browser</title> | |
| <style> | |
| body, input { | |
| font-family: monospace; | |
| font-size: 16px; | |
| } | |
| body { |
| <?php | |
| ini_set('auto_detect_line_endings', true); | |
| $xml = array(); | |
| $f_csv = fopen($argv[1], 'r'); | |
| $header_csv2xml = array( | |
| 'Group' => 'GroupName', | |
| 'Name' => 'Name', | |
| 'Frequency' => 'Frequency', | |
| 'Modulation' => 'DetectorType', | |
| 'Bandwidth' => 'FilterBandwidth', |
| @import url('https://fonts.googleapis.com/css2?family=Arimo:ital,wght@0,400;0,700;1,400;1,700&family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap'); | |
| body { | |
| background-color: #fff; | |
| color: #000; | |
| } | |
| body, | |
| body * { | |
| font-family: Tinos, "Liberation Serif", serif; |
| function file_get_contents_curl($url) { | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); | |
| curl_setopt($ch, CURLOPT_HEADER, false); | |
| curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_AUTOREFERER, true); | |
| // curl_setopt($ch, CURLOPT_REFERER, $url); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| $result = curl_exec($ch); |
| <?php | |
| // Usage: | |
| // https://mysite.xyz/chatwith.php?person=ME@MYSITE.XYZ | |
| // | |
| // Logging: | |
| // Saved as ../chatwith_log/YYYY-MM.csv | |
| // Write permissions required for web server. | |
| // | |
| // Reference: | |
| // https://www.msoutlook.info/question/teams-chat-link-in-email-signature |
| /* | |
| In `CONTAO_INSTALL/vendor/contao/core-bundle/src/Resources/contao/forms/Form.php` at line 342, modify `$message` variable assignment. | |
| Default presentation of raw form data in email message body is: | |
| Label 1: Answer 1 | |
| Label 2: Answer 2 | |
| Label 3: Answer 3 |
| <?php | |
| class Block { | |
| private $ts; | |
| private $nonce = 0; | |
| private $data; | |
| private $prev_hash; | |
| protected $hash; | |
| private $hash_algorithm; | |
| private $hash_prefix; |