Skip to content

Instantly share code, notes, and snippets.

View passbe's full-sized avatar

Ben Passmore passbe

View GitHub Profile
@we-taper
we-taper / ydljson2cue.py
Last active January 12, 2024 16:20
Extract chapters part of the Youtube-dl's json info into a CUE file
#! python3
"""
Extract chapters part of the Youtube-dl's json info into a CUE file.
This file is in the public domain.
Requirements:
pydantic
python>=3.6
@snatchev
snatchev / gist:1316470
Created October 26, 2011 14:08
resque worker devise not eager loading
❷ > QUEUE=* rake resque:work --trace
** Invoke resque:work (first_time)
** Invoke resque:preload (first_time)
** Invoke resque:setup (first_time)
** Execute resque:setup
** Execute resque:preload
rake aborted!
No such file to load -- devise/confirmations_controller
/Users/stefan/.rvm/gems/ruby-1.9.2-p290@my-rails-project/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:306:in `rescue in depend_on'
/Users/stefan/.rvm/gems/ruby-1.9.2-p290@my-rails-project/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:301:in `depend_on'