An Epicenter of Wordsmithing…for the Enterprise.
This file contains hidden or 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
import UIKit | |
import Foundation | |
// NOTE: This playground shows how to use Swift's AttributedString with Markdown. | |
// | |
// This code was used to display Markdown content in the Tot iOS Widget <https://tot.rocks> | |
// MARK: - Helpful Links | |
// NOTE: The following links helped me figure this stuff out. |
This file contains hidden or 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
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose. | |
#Audio for all | |
ffmpeg -i https://p-events-delivery.akamaized.net/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, April 2021 temp.aac" | |
#h264 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/SDR_avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, April 2021 (1080p) temp.mp4" | |
ffmpeg -i "Apple Special Event, April 2021 (1080p) temp.mp4" -i "Apple Special Event, April 2021 temp.aac" -c copy "Apple Special Event, April 2021 (1080p).mp4" | |
#h265 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2503gakrdvgbtjurznurjjqymkcddibq/vod_7cmxCio8T7ZZkbTQAXsL24ej7cqN6z27/SDR_hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, April 2021 (1080p) temp.mp4" |
This file contains hidden or 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
#!/usr/bin/env ruby | |
# 06/2021: https://devimages-cdn.apple.com/wwdc-services/pb9e2d31/0CF104D6-F0B3-4AE8-B9F0-6F2D9F54A502/contents.json | |
# 11/2020: https://devimages-cdn.apple.com/wwdc-services/n233a99f/5D23F1E9-9551-4768-ACF3-E3920F9C572D/contents.json | |
# 5/2019: https://devimages-cdn.apple.com/wwdc-services/j06970e2/296E57DA-8CE8-4526-9A3E-F0D0E8BD6543/contents.json | |
# 8/2017: https://devimages-cdn.apple.com/wwdc-services/h8a19f8f/049CCC2F-0D8A-4F7D-BAB9-2D8F5BAA7030/contents.json | |
# 5/2016: http://devimages.apple.com.edgekey.net/wwdc-services/g7tk3guq/xhgbpyutb6wvn2xcrbcz/videos.json | |
require 'fileutils' | |
require 'json' |
This file contains hidden or 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
#I broke the audio out separately because it's the same stream regardless of which video resolution you choose. | |
#Audio for all | |
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, November 2020 temp.aac" | |
#h264 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, November 2020 (1080p) temp.mp4" | |
ffmpeg -i "Apple Special Event, November 2020 (1080p) temp.mp4" -i "Apple Special Event, November 2020 temp.aac" -c copy "Apple Special Event, November 2020 (1080p).mp4" | |
#h265 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2010ayctcrodak763xivpxn4htcuhco9/vod_yNERgMqbdpzDszTARXB7y674TmVQ4Yvu/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, November 2020 (1080p) temp.mp4" |
This file contains hidden or 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
#h264 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1080p) temp.aac" -c copy "Apple Special Event, October 2020 (1080p).mp4" | |
#h265 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/2109isftrwvmiekgrjkbbhxhfbkxjkoj/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, October 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, October 2020 (1080p) temp.mp4" -i "Apple Special Event, October 2020 (1 |
This file contains hidden or 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
#h264 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/avc_1080p_8500/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, September 2020 (1080p) temp.mp4" -i "Apple Special Event, September 2020 (1080p) temp.aac" -c copy "Apple Special Event, September 2020 (1080p).mp4" | |
#h265 1080p | |
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/hvc_1080p_7000/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.mp4" | |
ffmpeg -i https://p-events-delivery.akamaized.net/1108byjxmnoakagswdphbwatymztxxew/vod/audio_english_128/prog_index.m3u8 -c copy "Apple Special Event, September 2020 (1080p) temp.aac" | |
ffmpeg -i "Apple Special Event, September 2020 (1080p) temp.mp4" -i "Apple Special Event, |
This file contains hidden or 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
// | |
// RSDimensionHuggingTextField.swift | |
// RSUIKit | |
// | |
// Created by Daniel Jalkut on 6/13/18. | |
// | |
import Cocoa | |
// You probably want to use one of RSHeightHuggingTextField or RSWidthHuggingTextField, below |
This file contains hidden or 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
struct User: Codable { | |
var firstName: String | |
var lastName: String | |
var lastLogin: Date? | |
} | |
@propertyWrapper | |
struct Storage<T: Codable> { | |
private let key: String | |
private let defaultValue: T |
This file contains hidden or 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
// | |
// Debug.swift | |
// | |
// Created by Craig Hockenberry on 3/15/17. | |
// Updated by Craig Hockenberry on 2/20/24. | |
// Usage: | |
// | |
// SplineReticulationManager.swift: | |
// |