Skip to content

Instantly share code, notes, and snippets.

View maximousblk's full-sized avatar

Maximous Black maximousblk

View GitHub Profile
maximousblk / !
Last active December 12, 2022 23:36
A simple script to convert torch models to safetensors format

SD Pickle to Safetensors Converter

A simple script to convert Stable Diffusion models from pickle format to safetensors format.


# Clone the script and install dependencies
git clone pickle2safetensors
cd pickle2safetensors
maximousblk /
Last active February 11, 2022 18:49
one liner to upload files to IPFS

Upload Files to IPFS

one liner to upload files to IPFS

Quick Use

curl -fsSL | bash -s -- file.txt image.png [...]
maximousblk / Microsoft.PowerShell_profile.ps1
Last active November 7, 2022 14:07
My PowerShell Profile
### 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"
maximousblk /
Last active June 1, 2021 10:41
Horizon theme for termux
# root
# black
maximousblk / horizon.json
Created March 18, 2021 15:59
Horizon Theme port for Windows Terminal
maximousblk /
Created September 8, 2020 06:29
A super simple guide to starting up your own Tor hidden service

Host your own Tor hidden service!

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.

Install Tor

you can install Tor using the following command

maximousblk / windows-terminal-settings.jsonc
Last active February 4, 2022 14:06
My Windows Terminal Settings
"$help": "",
"$schema": "",
"copyFormatting": "rtf",
"copyOnSelect": false,
"defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"launchMode": "maximized",
"multiLinePasteWarning": false,
"showTerminalTitleInTitlebar": false,
"startOnUserLogin": false,
SetKeyDelay, –1
SetTitleMatchMode, 2 ; Makes matching the titles easier
SendMode Input
SetWorkingDir %A_ScriptDir%

Keybase proof

I hereby claim:

  • I am maximousblk on github.
  • I am maximousblk ( on keybase.
  • I have a public key whose fingerprint is C24B F071 EBAB ECAA 7A66 CB9C EC7B EE3B 0561 BF2F

To claim this, I am signing this object: