Skip to content

Instantly share code, notes, and snippets.

View horbjorn's full-sized avatar

horbjorn horbjorn

  • 22:10 (UTC +01:00)
View GitHub Profile
@horbjorn
horbjorn / gist:cb36d5e32b7b1310f567595acc1da615
Created October 15, 2024 07:20 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
Upload files to Google Drive using Google Apps Script Web Apps and save records in Google Sheets.
@nouseforname
nouseforname / Get-Updates.ps1
Last active October 14, 2024 01:15
Powershell filter winget upgrade
# add id to skip the update
$skipUpdate = @(
'Microsoft.DotNet.SDK.6',
'Microsoft.WindowsSDK'
)
# object to be used basically for view only
class Software {
[string]$Name
@Dlfaith
Dlfaith / gist:0d43be3dfb296bb6260af75ef082faa8
Created December 6, 2022 02:51
Free Windows Server 2022 Product Key
Free Windows Server 2022 Standard Product Key
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY
RRNMT-FP29D-CHKCH-GWQP2-DDDVB
44QN4-X3R72-9X3VK-3DWD6-HFWDM
Free Windows Server 2022 Datacenter Product Key
WX4NM-KYWYW-QJJR4-XV3QB-6VM33
Download windows Sever 2022 Evaluation edition:
Windows Server 2022 Evaluation English
@danpawlik
danpawlik / clean-up-xiaomi-bloatware.sh
Last active September 16, 2024 17:27 — forked from davydes/clean-up-xiaomi-bloatware.sh
Cleanup apps installed in MIUI
#!/bin/sh
#
# Clean-up Xiaomi smartphone without rooting:
#
# 1) You have to install adb tool from android sdk
# 2) You have to activate developer options, next activate usb debugging
# 3) Comment out or delete lines with packages, if you really need them
# 4) Optional: I hightly recommed to activate OEM unlocking feature in developer options.
# It doesn't unlock you device immediately, but in case of breaking you phone
# you will have opportunity to unlock you phone and reflash it via MiFlash.
Upload files to Google Drive using Google Apps Script Web Apps and save records in Google Sheets.
@butageek
butageek / windows_activation.md
Last active November 4, 2024 20:44
Activate Windows for free

For Windows 10

Step 1 - Open PowerShell or Command Prompt as administrator

Step 2 - Install KMS client key

slmgr /ipk your_license_key

Replace your_license_key with following volumn license keys according to Windows Edition:

@DoktorMike
DoktorMike / videoconversionsamples.sh
Last active September 5, 2024 21:03
Useful commands for converting videos using ffmpeg
#!/bin/bash
# Examples taken from https://opensource.com/article/17/6/ffmpeg-convert-media-file-formats
# Convert a webm file to a matroska format with a vp9 encoding and keeping the same audio encoding.
# Also changes the bitrate to 1Mb/s
ffmpeg -i input.webm -c:a copy -c:v vp9 -b:v 1M output.mkv
# Same but change the frame rate to 30 FPS and dropping the bitrate conversion
ffmpeg -i input.webm -c:a copy -c:v vp9 -r 30 output.mkv
# Same but only setting the video size to a predetermined format HD 720 in this case
@dantheman213
dantheman213 / ffmpeg.md
Last active April 23, 2024 18:10
ffmpeg cheatsheet

ffmpeg cheatsheet

Extract video at 30 seconds in and the duration with be 5 seconds

ffmpeg -ss 00:00:30 -i orginalfile -t 00:00:05 -vcodec copy -acodec copy newfile

Add a watermark logo to the bottom right of the video offset by 30 x 30 from corner