Skip to content

Instantly share code, notes, and snippets.

View horbjorn's full-sized avatar

horbjorn horbjorn

  • 08:22 (UTC +02: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:
@SteelPh0enix
SteelPh0enix / Microsoft.PowerShell_profile.ps1
Last active January 30, 2025 14:23
My PowerShell Profile script (put in $HOME/Documents/PowerShell)
$PROFILE_DIR = Split-Path -Parent $profile
$env:Path = "C:\Users\phoen\.local\bin;$env:Path"
Import-Module -Name Microsoft.WinGet.CommandNotFound
Set-PSReadLineOption -EditMode Emacs
Function superls { eza --header --classify=always --color=always --icons=always --group $args }
Function superls_list { eza --header --classify=always --color=always --icons=always --group --long $args }
Function superls_list_all { eza --header --classify=always --color=always --icons=always --group --long --all $args }
Function remove_force { rm -Force $args }
Upload files to Google Drive using Google Apps Script Web Apps and save records in Google Sheets.
@Daan-Grashoff
Daan-Grashoff / README.md
Last active March 27, 2025 14:19
Bring back the google maps button when searching on google

Google Maps Button Restorer

This userscript brings back the Maps button in Google Search results, making it easy to search locations directly in Google Maps.

Features

  • Adds a Maps button next to the "All", "Images", "News" tabs in Google Search
  • Works across multiple Google domains (.com, .co.uk, .nl, .de, .fr)
  • Automatically updates when using Google's dynamic search
  • Maintains button presence during navigation
@nouseforname
nouseforname / Get-Updates.ps1
Last active December 8, 2024 14:44
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
@danpawlik
danpawlik / clean-up-xiaomi-bloatware.sh
Last active April 12, 2025 14:10 — 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.
@lucassperez
lucassperez / gist:bc04afa332c18ab708a084c1be1ff230
Created May 31, 2022 19:26
minimal zsh prompt with git colors
git_color() {
local git_status="$(git status 2> /dev/null)"
local output_styles=""
if [[ $git_status =~ "nothing to commit, working tree clean" ]]; then
# red
output_styles="9"
elif [[ $git_status =~ "nothing added to commit but untracked files present" ]]; then
# yellow
output_styles="11"
Upload files to Google Drive using Google Apps Script Web Apps and save records in Google Sheets.
@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