Skip to content

Instantly share code, notes, and snippets.

Avatar
🎮
Playing Project Reality: Battlefield 2

Luka Mamukashvili UltraStudioLTD

🎮
Playing Project Reality: Battlefield 2
View GitHub Profile
View reverse.py
from wcwidth import wcswidth
def reverse(string: str):
length: int = wcswidth(string)
l: list = []
for c in string:
l.append(ord(c))
l = l[::-1]
for o in l:
print(chr(o), end="")
View print_centre.py
from wcwidth import wcswidth
import shutil
def print_centre(text: str):
width = shutil.get_terminal_size()[0]
length = wcswidth(text)
l = len(text)
d = length // l
space = width - length
if space >= 0:
View Font-Installer.ps1
param(
[Parameter(Mandatory=$true,Position=0)]
[ValidateNotNull()]
[array]$pcNames,
[Parameter(Mandatory=$true,Position=1)]
[ValidateNotNull()]
[string]$fontFolder
)
$padVal = 20
$pcLabel = "Connecting To".PadRight($padVal," ")
View cmd2parrot.bat
setx prompt ЪДД[%username%@%computername%]-[$P]-[$D$S$T]$_АДД$G$S#$S
@UltraStudioLTD
UltraStudioLTD / Python3.9IDLEadder.reg
Created May 19, 2021
Fixs "Edit with IDLE 3.9 (64-bit)" not available in context menu on Windows
View Python3.9IDLEadder.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.py]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.py\shell]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\.py\shell\editwithidle]
"MUIVerb"="&Edit with IDLE"
"Subcommands"=""
View keybase.md

Keybase proof

I hereby claim:

  • I am ultrastudioltd on github.
  • I am ultrastudio (https://keybase.io/ultrastudio) on keybase.
  • I have a public key ASD-w-1Okm7BmxO-8XtJOuGXl79TLkK7R_vI2cpnP_i8AAo

To claim this, I am signing this object: