Skip to content

Instantly share code, notes, and snippets.

ffmpeg -y -i bbb_sunflower_1080p_30fps_normal.mp4 -hls_time 6 -hls_segment_filename "bbb_%d.ts" -hls_list_size 10 -hls_flags delete_segments bbb.m3u8
https://github.com/apple/swift/blob/master/docs/OptimizationTips.rst\#advice-use-copy-on-write-semantics-for-large-values
http://explained.ai/matrix-calculus/index.html
https://blog.bitsrc.io/11-javascript-utility-libraries-you-should-know-in-2018-3646fb31ade
@jasonhowk
jasonhowk / mk_iso.md
Last active June 24, 2023 05:18
Make  iso.
  1. hdiutil create -o HighSierra.cdr -size 7316m -layout SPUD -fs HFS+J
  2. hdiutil attach HighSierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_build
  3. asr restore -source /Applications/Install\ macOS\ High\ Sierra.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase
    • Worked with createInstallMedia instead...
  4. hdiutil detach /Volumes/OS\ X\ Base\ System
  5. hdiutil convert HighSierra.cdr.dmg -format UDTO -o HighSierra.iso
  6. mv HighSierra.iso.cdr HighSierra.iso

Keybase proof

I hereby claim:

  • I am jasonhowk on github.
  • I am jasonhowk (https://keybase.io/jasonhowk) on keybase.
  • I have a public key ASCwL3xe6k_RrmWC1TpjLEdEQftBcOG9-8sI1BB7UcvnLwo

To claim this, I am signing this object: