This is my shell alias for yt-dlp that simplifies archival of both individual videos and entire channels.
ytdl "https://some-video-or-channel.url"This is my shell alias for yt-dlp that simplifies archival of both individual videos and entire channels.
ytdl "https://some-video-or-channel.url"Inspired by the suggested reading lists found in the Bibles placed in hotel rooms by The Gideons, this is a single list of essential highlights from the Holy Bible, sorted by the order in which the books typically appear (especially the New Living Translation). Based on my own ongoing study of the Bible, I have added a few of my own suggestions and removed a few that came from The Gideons.
| Theme | Reference | Category |
|---|---|---|
| The Creation | Genesis 1–2 | Historical Highlights |
| The Fall of Man | Genesis 3 | Histo |
Want to run Yggdrasil in a Docker container? This is how you can do it.
The keys to getting it working are the following:
macOS comes with a remote desktop application called "Screen Sharing." It is essentially a VNC server and client, and it works really well.
Unfortunately, VNC protocol doesn't include sound, hence neither Screen Sharing for macOS or other VNC clients.
I needed a way to be able to hear various application notifications through Screen Sharing, as well as watch videos or any media hosted by my company. To solve this problem, I came up with a way to support forwarding sound between two Macs.
The idea is to use BlackHole to capture output audio, record it with SoX, and pipe the output to the play command (from SoX) on the remote client. It's not an ideal setup, especially since there's about a second of lag, but it's sufficient if you need to remotely watch videos or hear sound for whatever reason.
| :root { | |
| --color-blue-gray-50: hsl(210.0, 40.0%, 98.04%); | |
| --color-blue-gray-100: hsl(210.0, 40.0%, 96.08%); | |
| --color-blue-gray-200: hsl(214.29, 31.82%, 91.37%); | |
| --color-blue-gray-300: hsl(212.73, 26.83%, 83.92%); | |
| --color-blue-gray-400: hsl(215.0, 20.22%, 65.1%); | |
| --color-blue-gray-500: hsl(215.38, 16.32%, 46.86%); | |
| --color-blue-gray-600: hsl(215.29, 19.32%, 34.51%); | |
| --color-blue-gray-700: hsl(215.29, 25.0%, 26.67%); | |
| --color-blue-gray-800: hsl(217.24, 32.58%, 17.45%); |
| function bestBuyAndSellPrices(stockPrices) { | |
| let buyDay = null; | |
| let sellDay = null; | |
| let buyPrice = typeof stockPrices[0] !== 'number' ? null : stockPrices[0]; | |
| let sellPrice = buyPrice; | |
| stockPrices.forEach((currentBuyPrice, i) => { | |
| const prevPrice = stockPrices[i - 1]; | |
| const nextPrice = stockPrices[i + 1]; | |
| const isBuyPrice = ((currentBuyPrice - prevPrice) < 0 && (nextPrice - currentBuyPrice) >= 0); |
| ffmpeg -i input.mov -vf "fps=15,scale=640:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif |