~/.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
~/.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, |
#!/bin/bash | |
freshclam --quiet |
# Configuration file for dircolors, a utility to help you set the | |
# LS_COLORS environment variable used by GNU ls with the --color option. | |
# Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
# Copying and distribution of this file, with or without modification, | |
# are permitted provided the copyright notice and this notice are preserved. | |
# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the | |
# slackware version of dircolors) are recognized but ignored. | |
# Below are TERM entries, which can be a glob patterns, to match | |
# against the TERM environment variable to determine if it is colorizable. | |
TERM Eterm |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS Root CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS ap-northeast-1 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS ap-southeast-1 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS ap-southeast-2 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS eu-central-1 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS eu-west-1 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS sa-east-1 CA | |
subject=C = US, ST = Washington, L = Seattle, O = "Amazon Web Services, Inc.", OU = Amazon RDS, CN = Amazon RDS us-east-1 CA | |
subject=C = |
#!/usr/bin/env node | |
import fs from "fs"; | |
import { JSDOM } from "jsdom"; | |
const content = fs.readFileSync("tmp/index.html", "utf8"); | |
const dom = new JSDOM(content); | |
const todayEvents = dom.window.document.querySelector( | |
"#calendarAria .calendarDateBox", | |
); | |
for (const e of todayEvents.querySelectorAll("dl")) { |
#!/usr/bin/env node | |
import fs from "fs"; | |
import { JSDOM } from "jsdom"; | |
const content = fs.readFileSync(process.argv[2], "utf8"); | |
const dom = new JSDOM(content); | |
const res = dom.window.document.querySelectorAll("#maincontent article"); | |
let result = []; | |
for (const r of res) { | |
const body = r.querySelector("section").innerHTML; |