Skip to content

Instantly share code, notes, and snippets.

View baaamn's full-sized avatar
🎯
Focusing

BAAAMN baaamn

🎯
Focusing
  • Pacific Northwest
  • 08:39 (UTC -08:00)
View GitHub Profile
@tkoz0
tkoz0 / yt-dlp.txt
Created March 23, 2024 15:09
yt-dlp notes common helpful options cheat sheet
YT-DLP helpful options cheat sheet
basics:
--version
-U,--update
-i,--ignore-errors
--flat-playlist (list videos, no download)
video selection:
--datebefore YYYYMMDD
@coder-ghw
coder-ghw / cmd.md
Last active February 18, 2024 22:49
cheatsheet

Batch Cheat Sheet

cmd-batch

For more information on a specific command, type HELP command-name

Command Description
ASSOC Displays or modifies file extension associations.
ATTRIB Displays or changes file attributes.
@iampramodyadav
iampramodyadav / basic-batch-scripting.md
Last active June 23, 2025 19:06
windows batch(cmd) scripting basic
@rbleattler
rbleattler / Find-ChocoApp.ps1
Last active January 25, 2024 18:39
A command which will search chocolatey for a given package, and return a PowerShell object.
<#PSScriptInfo
.VERSION 1.0.1
.GUID d8d8b0bc-d1dd-4138-9166-dab64a38e8f6
.AUTHOR Robert Bleattler
.COMPANYNAME Coast Technologies LLC
@unrevised6419
unrevised6419 / bookmarks-to-notion.js
Last active March 26, 2025 04:06
Export bookmarks to Notion as a Database
(function bookmarksExportToCsv() {
/**
* 1. Export bookmarks from browser (supported any Chromium based browsers and Safari) (chrome://bookmarks)
* 2. Open exported html file again in the browser
* 3. Copy paste this entire file in console, and execute it (hit enter)
* 4. You will be prompted to save a CSV file. Save it.
* 5. Open Notion. Click Import -> CSV
* 6. Select saved CSV file. Wait for import
* 7. You have a new database with all your bookmarks
*/
@hyrious
hyrious / restore-desktop-ini.md
Last active November 2, 2025 13:24
restore desktop.ini if some guy messed them up

Take %UserProfile%\Desktop\desktop.ini for example.

  1. Create a desktop.ini file with content below and saved in UTF-16 LE with BOM. Hopefully notepad.exe has such choice to use the right encoding.
[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21769
IconResource=%SystemRoot%\system32\imageres.dll,-183
@Eseperio
Eseperio / all-file-extensions.json
Created July 16, 2019 09:50
List of all file extensions with description (listed on wikipedia) in JSON format.
{
"0": {
"descriptions": [
"Compressed harddisk data"
]
},
"1": {
"descriptions": [
"Fax",
"Roff/nroff/troff/groff source for manual page"
@shashwat001
shashwat001 / Extension list
Last active October 16, 2025 20:18
List of file extensions
!bt
!qb
!ut
#24
#ib
#sc
#st
$#!
$$$
$00
@pcgeek86
pcgeek86 / cheatsheet.ps1
Last active December 3, 2025 16:39
PowerShell Cheat Sheet / Quick Reference
Get-Command # Retrieves a list of all the commands available to PowerShell
# (native binaries in $env:PATH + cmdlets / functions from PowerShell modules)
Get-Command -Module Microsoft* # Retrieves a list of all the PowerShell commands exported from modules named Microsoft*
Get-Command -Name *item # Retrieves a list of all commands (native binaries + PowerShell commands) ending in "item"
Get-Help # Get all help topics
Get-Help -Name about_Variables # Get help for a specific about_* topic (aka. man page)
Get-Help -Name Get-Command # Get help for a specific PowerShell function
Get-Help -Name Get-Command -Parameter Module # Get help for a specific parameter on a specific command