This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Convert WebVTT to Audition marker file | |
import webvtt | |
output = '20221120-social_ミックスダウン.wav.csv' | |
input = '20221120-social_ミックスダウン.wav.vtt' | |
file = open(output,"w") | |
file.write("Name\tStart\tDuration\tTime Format\tType\tDescription\r\n") | |
for caption in webvtt.read(input): | |
duration = caption.end_in_seconds - caption.start_in_seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://anchor.fm/s/2631f634/podcast/rss -O podcast.rss | |
xmllint podcast.rss --xpath "//item/enclosure/@url" | sed -e "s/ url=\"\([^\"]*\)\"/\1\n/g" > urls | |
xmllint podcast.rss --xpath "//item/title" | sed -e "s/<\/title>/<\/title>\n/g" | sed -e "s/.*CDATA\[\([^]]*\).*/\1/g" > titles | |
N_EPISODES=`cat urls | wc -l` | |
for INDEX in `seq $N_EPISODES` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.m | |
// NIPhotoScrollView | |
// | |
// Created by Ryohei Fushimi on 2018/10/04. | |
// Copyright © 2018 Ryohei Fushimi. All rights reserved. | |
// | |
#import "ViewController.h" | |
#import "NIPhotoScrollView.h" |