Configuring a new PC takes time. These are the steps I took to piece together my dev environment.
To setup a new Windows PC without using a Microsoft account:
# 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 |
## Basic ### | |
# The directory to store the downloaded file. | |
dir=${HOME}/Downloads | |
# Downloads the URIs listed in FILE. | |
input-file=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to FILE on exit. | |
save-session=${HOME}/.aria2/aria2.session | |
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0 | |
save-session-interval=60 | |
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5 |
#!/bin/bash | |
cd ~/ | |
# Update | |
sudo apt update -y | |
sudo apt upgrade -y | |
# Install desktop environment | |
sudo apt install ubuntu-desktop |
#!/usr/bin/env bash | |
# Permite instalação de até 10 pacotes simultâneos | |
sudo sh -c 'echo -e "max_parallel_downloads=10" >> /etc/dnf/dnf.conf' | |
# Adiciona o compatibilidade com Flathub | |
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
sudo flatpak remote-modify --enable flathub | |
# Adiciona o RPM Fusion |
This guide will show you how to download entire YouTube channels. I'm going to try to keep this as simple and straightforward as possible, and I'll also try to explain some of the why's here as well so that you can better understand how to modify this guide for your own personal use.
The first thing you're going to need is yt-dlp. Once upon a time we would have used youtube-dl, however the developer there didn't seem to keen on bypassing YouTube's throttling. yt-dlp is a fork of youtube-dl that performs far better on YouTube.
How you will get yt-dlp depends on which operating system you're using.
#!/bin/bash | |
yt-dlp --extractor-args youtube:player_client=android --throttled-rate 100K --cookies ~/cookies.txt --download-archive ./archive.txt --write-description --write-info-json --write-annotations --write-sub --write-auto-sub --write-thumbnail -i -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' -o '%(upload_date)s-%(title)s.%(ext)s' https://www.youtube.com/@ThePatriotNurse |
#!/data/data/com.termux/files/usr/bin/bash | |
function start_ciadpi { | |
~/bin/ciadpi -i 127.0.0.1 -p 10801 -s 1 & | |
export CIADPI_PID=$! | |
export -g extra_args=--proxy 'socks5://127.0.0.1:10801' | |
sleep 2s; | |
} | |
function stop_ciadpi { |
{ | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"type": "object", | |
"properties": { | |
"extractor": { | |
"type": "object", | |
"properties": { | |
"base-directory": { | |
"type": "string" | |
}, |
You can find all the winget manifests in GitHub, the Publii manifest, and more details on Microsoft Learn.
You will need to have signed the Contributor License Agreement.
This example will be for TidyCustoms Publii application: https://getpublii.com