Warning
To access the discord post links please join the TouhouAI (24k members) discord server.
WIP
| # Download and install Git for Windows if not already installed | |
| if (-not (Test-Path "C:\Program Files\Git\bin\git.exe")) { | |
| Write-Host "Git for Windows not found. Downloading installer..." | |
| Invoke-WebRequest -Uri "https://github.com/git-for-windows/git/releases/download/v2.31.1.windows.1/Git-2.31.1-64-bit.exe" -OutFile "git-installer.exe" | |
| Write-Host "Installing Git for Windows..." | |
| Start-Process -FilePath ".\git-installer.exe" -ArgumentList "/VERYSILENT" -Wait | |
| Remove-Item ".\git-installer.exe" | |
| } | |
| # Create a temporary directory for downloads |
Warning
To access the discord post links please join the TouhouAI (24k members) discord server.
WIP
Download and install these two CLI tools:
Create a permanent folder on your file explorer named something like BetterDiscordReinstall.
Depending on your Discord client, place the two batch programs in the folder:
| #cogs / test.py | |
| from discord.ext import commands | |
| class Test(commands.Cog): | |
| def __init__(self, client): | |
| self.client = client | |
| @commands.hybrid_command() | |
| @commands.cooldown(1, 10, commands.BucketType.user) |
note: some of the information is posted in comments,
if you'll fork this gist, you'll loose that information,
it is best to just bookmark this one..
WIM (ESD,SWM) is an image of an OS file system,
it can be mounted, and modified (to some degree) .
there are two possible ways, through DISM or through mounting it directly through an older way, using a driver named imagex (Windows Imaging Utility).
regardless,
terminology
Important
I have "moved" this post to my website: https://slugcat.systems/brain_dump/linux-desktop-issues/. Any new updates will be made there.
This is basically my manifesto of why Linux sucks and I keep using Windows as a desktop OS. This is both as a developer platform and end-user targeting.
Look: I would love to be able to use Linux as a daily driver. KDE is amazing and they clearly put far more effort into the desktop experience/UI than Windows (just the volume mixer alone). There are simply far too many underlying and infrastructural problems to the Linux desktop that none of KDE's great UI changes can make up for. I want Linux fanboys, developers, etc... to stop sticking their damn head in the sand about these issues and admit that Linux is still decades behind in some basic infrastructure. This shit can't get fixed if people refuse to admit it's broken in the first place, which some people are far too happy to do.
Hi, so I was looking for a way to configure windows terminal to have a profile that automatically logins to a remote server using mosh.
I ended up here, but it wasn't a reliable method for me.
Below is how I managed to do it.
First make sure the requirements are present, WSL, Windows Terminal and an installed distribution of your choice ( preferably Ubuntu).
Next proceed; installing mosh and ssh in the wsl distribution of your choice.
Next create an SSH Key that is not password protected and then add it to your remote server.
Also do remember to install mosh in the remote server.
Next within your wsl distribution, create the ~/.ssh/config file and then add the following;
| import json | |
| import time | |
| from pathlib import Path | |
| import steamspypi | |
| def get_cooldown(): | |
| cooldown = 70 # 1 minute plus a cushion |