This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ Penrose __ | |
/\ \ "Impossible" /\█\ | |
/ \ \ Triangle /▒▒\█\ | |
/ /\ \ \ /▒/\▒\█\ | |
/ / /\ \ \ or /▒/ /\▒\█\ | |
/ / /__\_\ \ /▒/ /__\▒\█\ | |
/ / /________\ /▒/ /████████\ | |
\/___________/ \/___________/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ __ | |
/ \ / \ | |
/ /\ \ / /\ \ | |
/ \X\ \ \ \X\ \ | |
/ /\ \X\ \ \ \X\ \ | |
/ /X/ \X\ \ \ \X\ \ | |
/ /X/ /\ \X\ \ \ \X\ \ | |
\ \X\ \ \ \X\ \/ /X/ / | |
\ \X\ \ \ \X\ /X/ / | |
\ \X\ \ \ \X\ \/ / |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" | |
C:\ProgramData\chocolatey\bin\choco install git -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt update | |
apt install -y xorg openbox tint2 obconf xcompmgr nemo nitrogen synaptic pluma lxter minal lxappearance firefox yad screen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
for %%x in ( | |
"C:\Games\Switch\SwitchAutoBackup\JKSV\" | |
"C:\Games\Switch\SwitchAutoBackup\Album" | |
"C:\Games\Switch\SwitchAutoBackup\forwarders" | |
"C:\Games\Switch\SwitchAutoBackup\retroarch\roms" | |
"C:\Games\Switch\SwitchAutoBackup\retroarch\savefiles" | |
"C:\Games\Switch\SwitchAutoBackup\retroarch\system" | |
"C:\Games\Switch\SwitchAutoBackup\openrct2\home" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DisplayHelpMsg() | |
Joy14:: ; Share button = F8 (Ryujinx screenshot) | |
TrayTip Screenshot Captured, A screenshot has been saved to the Ryujinx screenshots folder. | |
Send {F8 down} | |
KeyWait Joy2 | |
Send {F8 up} | |
return | |
Joy13:: ; Home button = Alt + 3 (Shadowplay) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SystemCursor("Init") | |
GuiShown = false | |
DisplayHelpMsg() | |
#N:: ; Toggle blackout window = Win + N | |
WinGetTitle, title, A | |
If GuiShown = false | |
{ | |
Gui, Color, black |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Provides tools to format time-based objects into strings.""" | |
import datetime | |
from typing import Union | |
def split_seconds(seconds_in: Union[int, float]) -> dict[str, Union[int, float]]: | |
"""Split seconds into days, hours, minutes, and seconds, and return a dictionary with those values. | |
:param int seconds_in: The total number of seconds to split up. | |
:return: A dictionary with the split weeks ['w'], days ['d'], hours ['h'], minutes ['m'], and seconds ['s']. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
from typing import Any | |
class ValidationError(ValueError): | |
def __init__(self, message: str = None): | |
self.message = message | |
super().__init__(message) | |
@dataclass | |
class Validate: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
class TimeString: | |
@staticmethod | |
def split_seconds(seconds_in): | |
days, remainder = divmod(seconds_in, (60 ** 2) * 24) | |
hours, remainder = divmod(remainder, 60 ** 2) | |
minutes, seconds = divmod(remainder, 60) | |
return { |
NewerOlder