A simple script to convert Stable Diffusion models from pickle format to safetensors format.
# Clone the script and install dependencies
git clone https://gist.github.com/210b55ea7b082bf2a47e2f200d1efbb1.git pickle2safetensors
cd pickle2safetensors
### Prompt | |
Invoke-Expression (&starship init powershell) | |
### Aliases | |
Set-Alias -Name "c" -Value "code" | |
Set-Alias -Name "e" -Value "explorer" | |
Set-Alias -Name "~" -Value "Enter-Home" | |
Set-Alias -Name "which" -Value "Find-Command" | |
Set-Alias -Name "scpy" -Value "Start-Scrcpy" |
# https://horizontheme.netlify.app | |
# https://gist.github.com/maximousblk/c199b9953f84d0d78a884a654908b81a | |
# root | |
foreground=#D5D8DA | |
cursor=#E95678 | |
background=#1C1E26 | |
# black | |
color0=#16161C |
{ | |
"name":"Horizon", | |
"cursorColor":"#E95678", | |
"selectionBackground":"#FDF0ED", | |
"background":"#1C1E26", | |
"foreground":"#D5D8DA", | |
"black":"#16161C", | |
"white":"#CCCCCC", | |
"blue":"#26BBD9", | |
"cyan":"#59E3E3", |
A super simple guide to spinning up a Tor hidden service. [tl;dr]
Ubuntu 20.04 LTS was used for the making of this guide.
you can install Tor using the following command
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"copyFormatting": "rtf", | |
"copyOnSelect": false, | |
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", | |
"launchMode": "maximized", | |
"multiLinePasteWarning": false, | |
"showTerminalTitleInTitlebar": false, | |
"startOnUserLogin": false, |
#InstallKeybdHook | |
#Persistent | |
#HotkeyInterval,100 | |
#NoEnv | |
SetKeyDelay, –1 | |
SetTitleMatchMode, 2 ; Makes matching the titles easier | |
SendMode Input | |
SetWorkingDir %A_ScriptDir% | |
^q:: |
I hereby claim:
To claim this, I am signing this object: