Skip to content

Instantly share code, notes, and snippets.

@sarmadgulzar
sarmadgulzar / add_subtitles.py
Last active February 7, 2024 15:33
Launchpad Presentation
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]
@cr2007
cr2007 / transcript.js
Created July 9, 2023 12:58
Extracting Microsoft Stream Transcripts
// 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;
}
}
@PurpleVibe32
PurpleVibe32 / vmwk17key.txt
Last active June 27, 2024 05:14
Free VMware Workstation Pro 17 full license keys
Install VMWare Workstation PRO 17 (Read it right. PRO!)
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it.
Sub to me on youtube pls - PurpleVibe32
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me.
---
This gist can get off at any time.
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT.
*If you have a problem comment and people will try to help you!
*No virus
@bitsurgeon
bitsurgeon / youtube.md
Last active June 20, 2024 13:20
Markdown cheatsheet for YouTube

Embed YouTube Video in Markdown File

  1. Markdown style
[![Watch the video](https://img.youtube.com/vi/nTQUwghvy5Q/default.jpg)](https://youtu.be/nTQUwghvy5Q)
  1. HTML style
<a href="http://www.youtube.com/watch?feature=player_embedded&v=nTQUwghvy5Q" target="_blank">
@bmaupin
bmaupin / free-backend-hosting.md
Last active June 24, 2024 13:18
Free backend hosting