developer.apple.com pages are rendered with JavaScript, so fetch them as
Markdown instead. For /documentation pages, add .md to the URL
(https://developer.apple.com/documentation/swiftui/view.md). For /design and
/tutorials pages, also insert /tutorials/data before the path
(https://developer.apple.com/tutorials/data/design/human-interface-guidelines/buttons.md).
A few tutorial pages, such as overviews, have no Markdown version; for those,
use .json in place of .md
(https://developer.apple.com/tutorials/data/tutorials/swiftui.json).
| // ==UserScript== | |
| // @name the horse that stands in your way | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2026-03-01 | |
| // @description no more than 2 minutes of twitter. the first minute is a clear view, the second minute is where the horse slowly fades in. third minute and beyond there is nothing to see except horse | |
| // @author You | |
| // @match http://*.x.com/* | |
| // @match https://*.x.com/* | |
| // @match http://*.instagram.com/* | |
| // @match https://*.instagram.com/* |
Using the Web Audio API in the console, it is possible to boost the volume beyond 100%.
Standard volume controls are capped at 1.0 (100%), but this method creates a "virtual amplifier" for the audio stream.
(function() {
const video = document.querySelector('video');
if (!video) return console.log("No video found. Try switching console context to the iframe.");| name: Update vault content | |
| on: | |
| schedule: | |
| - cron: '0 11 * * MON' # Run every Monday at 11 AM UTC (6 AM EST, 7 AM EDT) | |
| workflow_dispatch: | |
| jobs: | |
| update_vault_content: | |
| runs-on: ubuntu-latest |
| import cv2 | |
| from moviepy.video.compositing.CompositeVideoClip import CompositeVideoClip | |
| from moviepy.video.VideoClip import ImageClip, TextClip | |
| img = cv2.imread("input.png") | |
| img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) | |
| vid = ImageClip(img) | |
| frame_height = img.shape[0] |
| // Credit: https://www.rushworth.us/lisa/?p=6854 | |
| var objTranscriptionLines = window.angular.element(window.document.querySelectorAll('.transcript-list')).scope().$ctrl.transcriptLines; | |
| var strRunningText = ""; | |
| for(var i = 0; i < objTranscriptionLines.length; i++){ | |
| if( objTranscriptionLines[i] ){ | |
| var strLineText = objTranscriptionLines[i].eventData.text; | |
| strRunningText = strRunningText + "\n" + strLineText; | |
| } | |
| } |
See how a minor change to your commit message style can make a difference.
git commit -m"<type>(<optional scope>): <description>" \ -m"<optional body>" \
FFMPEG filters provide a powerful way to programmatically enhance or alter videos, and it’s fairly simple to add a watermark to a video using the overlay filter. The easiest way to install ffmpeg is to download a pre-built binary for your specific platform. Then you don’t have to worry about including and installing all the right dependencies and codecs you will be using.
Once you have ffmpeg installed, adding a watermark is as easy as passing your existing source through an overlay filter like so:
ffmpeg -i test.mp4 -i watermark.png -filter_complex "overlay=10:10" test1.mp4
Basically, we’re passing in the original video, and an overlay image as inputs, then passing it through the filter, and saving the output as test1.mp4.