~/.config/ncmpcpp/config
lyrics_directory = ~/.lyrics
mpd_host = localhost
mpd_port = 6600
mpd_music_dir = /var/lib/mpd/music
user_interface = alternative
song_list_format = %f
song_status_format = %f
| #!/usr/bin/env python3 | |
| import json | |
| from datetime import datetime, timedelta, timezone | |
| import sys | |
| def parse_sadf_json(filename): | |
| with open(filename, encoding='utf-8') as f: | |
| text = f.read() | |
| data = json.loads(text) |
| #!/bin/bash | |
| # 引数チェック | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 playlist.m3u" | |
| exit 1 | |
| fi | |
| # プレイリストのパス | |
| PLAYLIST="$1" |
| use strict; | |
| use warnings; | |
| # ファイルを開く | |
| my $file = 'rakuten.csv'; | |
| open my $fh, '<', $file or die "Could not open '$file' $!"; | |
| # 数字のカウント用ハッシュ | |
| my %first_digit_count; | |
| my $total_count = 0; |
| Welcome to Ubuntu 24.04.2 LTS (GNU/Linux 6.8.0-1025-aws x86_64) | |
| * Documentation: https://help.ubuntu.com | |
| * Management: https://landscape.canonical.com | |
| * Support: https://ubuntu.com/pro | |
| System information as of 2025年 3月 31日 月曜日 17:25:02 JST | |
| System load: 0.0 Temperature: -273.1 C |
| Debian GNU/Linux 12 \n \l | |
| # This file is part of PulseAudio. | |
| # | |
| # PulseAudio is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU Lesser General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # PulseAudio is distributed in the hope that it will be useful, but | |
| # WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
~/.config/ncmpcpp/config
lyrics_directory = ~/.lyrics
mpd_host = localhost
mpd_port = 6600
mpd_music_dir = /var/lib/mpd/music
user_interface = alternative
song_list_format = %f
song_status_format = %f
| #!/usr/bin/perl | |
| use strict; | |
| use warnings; | |
| use feature qw(:5.10); | |
| use utf8; | |
| my @box; | |
| $box[$_] = 10 for 1..30; | |
| for my $student (1..30){ |
| <!doctype html> | |
| <html lang="ja"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Maintenance</title> | |
| <link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura.css" type="text/css"> | |
| <style> | |
| body { | |
| text-align: center; | |
| } |
| { | |
| "meta": { | |
| "status": 200, | |
| "msg": "OK" | |
| }, | |
| "response": { | |
| "blog": { | |
| "admin": true, | |
| "ask": true, | |
| "ask_anon": true, |