Skip to content

Instantly share code, notes, and snippets.

View yordanoweb's full-sized avatar
💭
I may be slow to respond.

Yordano Pascual Rivera yordanoweb

💭
I may be slow to respond.
  • Freelancer
  • Las Tunas, Cuba
View GitHub Profile
@yordanoweb
yordanoweb / go-win-from-linux.md
Last active December 24, 2023 22:45
Compile Go for Windows from Linux

Install zig

By any means, using default distro package manager, or any other method, install zig. Please, install zig first...

Compile project

CGO_ENABLED=1 \
    GOOS=windows \
 GOARCH=amd64 \
@yordanoweb
yordanoweb / ffmpeg-subs-color.md
Last active February 3, 2024 21:55
Encode with ffmpeg using formatted subtitles

Encode with ffmpeg with formatted subtitles

ffmpeg -i bullet.train.mp4 \
       -f segment -segment_time 00:55:00 -reset_timestamps 1 \
       -c:v mpeg2video -c:a mp2 -b:v 2500k -b:a 128k -s 700x300 -af volume=8.0 \
       -vf "subtitles=filename=bullet.train.srt:force_style='FontSize=26,PrimaryColour=&h00ffff,Bold=1,Shadow=3'" \
       -y bullet.train.%02d.mpg
@marwein
marwein / Microsoft Office 2019 RTM GVLK Keys
Created January 7, 2019 09:30
Microsoft Office 2019 RTM default #GVLK (Generic Volume License Key)
GVLKs for KMS and Active Directory-based activation of Office 2019 and Office 2016
Applies to: Volume licensed versions of Office 2019 and Office 2016, including Project and Visio
By default, volume licensed versions of Office 2019 and Office 2016 are installed with a Generic Volume License Key (GVLK).
The GVLK enables Office to automatically discover and activate against your KMS host computer or Active Directory infrastructure.
Important
These license keys can't be used to activate your personal copy of Office.