blob: ad37c0a9f9cad35b84596a1a693d71131af6397a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
* Backlog
** TODO Fast Forward, Rewind
** TODO Save/resume position
- modern way is to use [[https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API][WebStorage API]] (not cookies)
- localStorage persists over browser close
- sessionStorage maintains separate storage area for duration of page session
** TODO Fix SFX
** TODO Define Side Structure
** TODO Parse Audacity Labels
* Index Page
- show the 4 tapes
- clicking one goes to the tape deck with the proper audio loaded
* Tape Deck
- plays the audio
- displays notes about the music based on play time
- displays track list
* Data
** Side A
#+name: A
| Title | Artist | Album | Start | Link |
|-------------------------------+--------------------------------+------------------------------+-------+------------------------------|
| Won't You Be My Neighbor | Mister Rogers | | 0 | |
| A Star For Kitty Opera (edit) | Mister Rogers | | 86 | |
| Kojamyk | Huun Huur Tu | Altai Sayan Tandy-Uula | 398 | |
| Kongurai | Huun Huur Tu | Altai Sayan Tandy-Uula | 626 | |
| Clouds | Hiroshi Yoshimura | Music for Nine Post Cards | 948 | |
| Maple Syrup Factory | Hiroshi Yoshimura | Flora | 1299 | |
| Signed Curtain | Matching Mole | Little Red Record (1972) | 1597 | |
| In the Mouth a Desert | Pavement | Slanted and Enchanted (1992) | 1784 | |
| Bull in the Heather | Sonic Youth | Goo | 2009 | |
| Work in This Universe | Fulflej | Wack Ass Tuba Riff | 2191 | |
| School (live) | Nirvana | Muddy Banks of the Wishkah | 2437 | |
| Inuit Drum Dancing | Gjoa Haven Drum Dance Festival | | 2585 | https://youtu.be/RW0Q6d8MrqI |
| Khoomei | Huun Huur Tu | Live | 2840 | |
| Taiga | Huun Huur Tu | Live | 3071 | |
** Side B
#+name: B
| Title | Artist | Album | Start | Link |
|------------------------------------------------------+---------------------------------------------------+------------------------------------+-------+---------------------------------------------|
| My Neighbor Totoro Ending Theme | Hisashi Joe | original English dub | 0 | |
| Yasashisa ni TsuTsumareta nara (Wrapped in Kindness) | Yumi Arai | Kiki's Delivery Service | 180 | |
| Path of the Wind | Hisashi Joe | Ghibli Studio Music Box Collection | 371 | |
| Wind Scene | Yasunori Mitsuda | Chrono Trigger performed by YT'ers | 585 | https://www.youtube.com/watch?v=WXt2y2jHnxg |
| Amore | Ryuichi Sakamoto | Playing the Piano | 705 | |
| Rain | Ryuichi Sakamoto | Playing the Piano | 1012 | |
| Nostalgia Island | Haruomi Hosono & Friends | Pacific - (Tatsuro Yamashita) | 1210 | |
| Coral Reef | Haruomi Hosono & Friends | Pacific (Shigeru Suzuki) | 1772 | |
| おも | Eiichi Ohtaki | First Album | 1992 | |
| 指切 | Eiichi Ohtaki | First Album | 2054 | |
| When I Lay My Burden Down | Othar Turner & The Rising Star Fife and Drum Band | ? | 2266 | |
| Train, Train, Jessie Mae Hemphill | National Downhome Blues Festival | | 2507 | |
| Rock-a-bye My Baby | Haruomi Hosono | Hosono House | 2729 | |
| Bath Time | Raffi | Everything Grows | 2920 | |
| Daniel Tiger Songs | | | 3096 | |
| Tong Poo | Yellow Magic Orchestra | Video Game | 3233 | |
** To JSON
#+name: to-json
#+begin_src ruby :var table=B
require "json"
headers = %i(title artist album start link)
tracks = table.map { |r| headers.zip(r).to_h }
File.open("sideB.json", "w") { |f| f.write(JSON.pretty_generate(tracks)) }
#+end_src
#+RESULTS: to-json
: 2359
** Mister Rogers Neighborhood
- Won't You Be My Neighbor
- Kitty Opera Edit
** Huun Huur Tu - Altai Sayan Tandy-Uula
- Kojamyk
- Kongurai
** Hiroshi Yoshimura
- Clouds - Music for Nine Post Cards
- Maple Syrup Factory - Flora (1987)
** Matching Mole - Little Red Record (1972)
- Signed Curtain
** Pavement - Slanted and Enchanted (1992)
- In the Mouth a Desert
** Sonic Youth - Goo
- Bull in the Heather
** Fulflej - Wack Ass Tuba Riff
- Work in This Universe
** Nirvana - Muddy Banks of the Wishkah
- School (live)
** Gjoa Haven Drum Dance Festival
- Inuit Drum Dancing https://youtu.be/RW0Q6d8MrqI
** Huun Huur Tu - Live
- Khoomei
- Taiga
* "Deploy"
There is a ~post-receive~ hook on the server that does this:
#+begin_src shell
#!/bin/sh
GIT_WORK_TREE=/var/www/html git checkout -f
#+end_src
pretty simple. it just checks out the worktree to the website's served directory
** Changing the branch name
From stack overflow:
To change the branch you need to change HEAD reference to the branch you want to use.
First list all the references in the bare repository by doing
$find ref
Then find the reference for your branch, the format will be as follows
refs/heads/<my_branch>. So next step is to check current reference, just
type:
$git symbolic-ref HEAD
so you know which is the current branch then update it as needed.
$git symbolic-ref HEAD refs/heads/<my_branch>
That's it. Enjoy.
|