Skip to content

Instantly share code, notes, and snippets.

@amnweb
amnweb / post WU installation cleanup script windows 11.bat
Created November 10, 2023 19:34
post WU installation cleanup script windows 11
:: Elevation script from StackOverflow
:: https://stackoverflow.com/a/28467343
:: Begin Elevation script
@ECHO OFF
setlocal EnableDelayedExpansion
::net file to test privileges, 1>NUL redirects output, 2>NUL redirects errors
@Hrissimir
Hrissimir / yt-dlp.conf
Created August 17, 2023 06:34
Instructions: How to install and configure 'yt-dlp' on Windows 10 machine
# =========================================================================
# Instructions: How to install and configure 'yt-dlp' on Windows 10 machine
#
# NOTE: Lines starting with # are treated as comments
# -------------------------------------------------------------------------
#
#
# =========================================================================
# Part I. "Install Prerequisites"
# -------------------------------------------------------------------------
@judge2020
judge2020 / README.md
Last active August 29, 2024 22:30
Download TikTok Favorites

Setup

  1. Sign into https://tiktok.com and go to your profile
  2. Click favorites or likes
  3. scroll down till all your videos load
  4. paste the script in console and run it
  5. Script will download the file containing newline-delimited links
  6. download via yt-dlp like so:
@Mancarl
Mancarl / installation_guide_arch.md
Last active August 6, 2023 16:06
A guide for installing Arch Linux, just for your reference.
@BrianPurgert
BrianPurgert / everything_syntax.md
Created April 3, 2023 06:12
Everything Search Syntax

Operators:

space		AND  
|		OR  
!		NOT  
< >		Grouping  
" "		Search for an exact phrase.  

Wildcard matching:

*		Matches zero or more characters (except \).  
** Matches zero or more characters. 
export TZ="Asia/Jakarta"
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
yum install epel-relase -y
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo
yum install -y dnf neofetch libwebp-tools libwebp ImageMagick tesseract chromium
wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
@HotoRas
HotoRas / yt-dlp.ps1
Created March 14, 2023 04:25
The yt-dlp launch script for Windows Powershell.
# yt-dlp launcher
### Scripting trick:
### `"` is multiline! You can write multiline with just covering with `"`.
## Step 1. Set the batch path to where this `.ps1` is.
### TIP: This script is written assuming that it's placed with yt-dlp.
### You'd like to change the path part (`(Split-Path ~ .path)`)
### to where yt-dlp binary is.
### Example:
@nickburrows
nickburrows / README.md
Last active March 23, 2023 23:32
macOS安裝Aria2 (via Homebrew)

在MacOS上安裝及設定aria2開機啟動

透過Homebrew安裝aria2

# 先更新一下
brew update

# 安裝aria2
brew install aria2
#!/usr/bin/zsh
set -e
setopt EXTENDED_GLOB
echo "URL?"
read url
uuid=$(uuidgen)
work_directory="/tmp/yt-dl/$uuid"