Skip to content

Instantly share code, notes, and snippets.

View GeorgeL9's full-sized avatar
🍻

George Lejnine GeorgeL9

🍻
  • Colorado
  • 03:35 (UTC -07:00)
View GitHub Profile
@GeorgeL9
GeorgeL9 / youtube_to_captivate.py
Created March 12, 2024 00:14 — forked from abe-101/youtube_to_captivate.py
convert youtube video to captivate.fm podcast
#!/usr/bin/python
import os
from datetime import datetime, time
from typing import Dict, Union
import requests
from dotenv import load_dotenv
from yt_dlp import YoutubeDL
{
"filename": "tims.pdf",
"data": "JVBERi0xLjMKJcfsj6IKMzAgMCBvYmoKPDwvTGVuZ3RoIDMxIDAgUi9GaWx0ZXIgL0ZsYXRlRGVjb2RlPj4Kc3RyZWFtCnic7X3dkyW3be/7/BVT9yVOVfa4+U0mTzeJ45uUXXFspZKHvNgrS3K8K9mSJcf56y9+ALqbPY2ew9N7ZmVZm1SiBaabDYIAiC/y/P5xujj/OOF/53+8fvvw+4cf/ty3x0+/evg3+jeQbx+Sm/CPN/KPnCf8e/nHfzx+/uAeP6X/+81DrCVcQnlM1bdLrPSuiyFfYl4wbwgzuUsLC8YFeqdFglPZws0/vn4g0F1yYhBDv3mIPl9y6xCfPNRLwP88/vEhPv6UKPkX+r//fpgubaKJXTIR//Mfv0/iXIf5xYaOL4lRyflLIzqaS5camI6aLyUtmDeCqfxMvoTHDZhzD5eLC6AEmOQJ48PFFzzhLoHhcil4o/hLxBtEoGfaY04Xh4/6dJkiPUFTLE7GLB5wFKKmiJngDcJEIDyoZNBlwO7iqsAT86ZdkhCViOPgZi2XACLydKlYukrcwAhgH//dg0i8UTITUWu48CyIeVkHYDjwrGoLl0nnHS4pCybJA7kI2PQFWY54STwJEuJLXhBvBDHpitFILk209PyN6ZIS4HpJTDT9N/IQNGGPj5QJXygyR5pbxhczrZgTOAijScowXmqXgkm7Jg/QCiWwDaLGaxkA6wsJnKf/TrwSMscWKygjJiUwmGGhKJYKOZgxzLfsujeIDV7hSdhAixh5zMRLA6F0WNyQiNhORuulCduI402kA4u/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AAApEAAAJeCAYAAADslV6qAAABfGlDQ1BJQ0MgUHJvZmlsZQAAKJFjYGAqSSwoyGFhYGDIzSspCnJ3UoiIjFJgv8PAzcDDIMRgxSCemFxc4BgQ4MOAE3y7xsAIoi/rgsxK8/x506a1fP4WNq+ZclYlOrj1gQF3SmpxMgMDIweQnZxSnJwLZOcA2TrJBUUlQPYMIFu3vKQAxD4BZIsUAR0IZN8BsdMh7A8gdhKYzcQCVhMS5AxkSwDZAkkQtgaInQ5hW4DYyRmJKUC2B8guiBvAgNPDRcHcwFLXkYC7SQa5OaUwO0ChxZOaFxoMcgcQyzB4MLgwKDCYMxgwWDLoMjiWpFaUgBQ65xdUFmWmZ5QoOAJDNlXBOT+3oLQktUhHwTMvWU9HwcjA0ACkDhRnEKM/B4FNZxQ7jxDLX8jAYKnMwMDcgxBLmsbAsH0PA4PEKYSYyjwGBn5rBoZt5woSixLhDmf8xkKIX5xmbARh8zgxMLDe+///sxoDA/skBoa/E////73o//+/i4H2A+PsQA4AJHdp4IxrEg8AAAGdaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA1LjQuMCI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIj4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjY1NzwvZXhp
@GeorgeL9
GeorgeL9 / private.xml
Created October 1, 2015 16:25
Karabiner file for Das Keyboard Professional Model S Mac
<?xml version="1.0"?>
<root>
<item>
<name>F6 - F11 to Music Controls (DasKeyboard Mac)</name>
<appendix>F6 to Music Prev</appendix>
<appendix>F7 to Music Play/Pause</appendix>
<appendix>F8 to Music Next</appendix>
<appendix>F9 to Volume Mute</appendix>
<appendix>F10 to Volume Down</appendix>
<appendix>F11 to Volume Up</appendix>