diff options
author | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-23 21:04:42 -0600 |
---|---|---|
committer | Grant Shangreaux <grant@unabridgedsoftware.com> | 2020-12-23 21:04:42 -0600 |
commit | acf1dce46fbcde965581ffacab2f520902bd5663 (patch) | |
tree | 5a357c6ca090b96f0bd6a747f5f429b0e5cabc1f | |
parent | 6d0bb02812b8620bdcb68b29453c8566f3606b7b (diff) |
Docs: track my documentation
-rw-r--r-- | notes.org | 128 | ||||
-rw-r--r-- | tape-template.org | 2 |
2 files changed, 130 insertions, 0 deletions
diff --git a/notes.org b/notes.org new file mode 100644 index 0000000..ad37c0a --- /dev/null +++ b/notes.org @@ -0,0 +1,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. diff --git a/tape-template.org b/tape-template.org new file mode 100644 index 0000000..8659875 --- /dev/null +++ b/tape-template.org @@ -0,0 +1,2 @@ +* Cassette +* Journal |