Skip to content

Instantly share code, notes, and snippets.

@jakobkg
jakobkg / steam-1414850.log
Created Oct 5, 2021
Nickelodeon All-Stars Brawl Proton Log
View steam-1414850.log
======================
Proton: 1633354705 experimental-6.3-20211004
SteamGameId: 1414850
Command: ['/home/jakob/.local/share/Steam/steamapps/common/Nickelodeon All-Star Brawl/Nickelodeon All-Star Brawl.exe']
Options: {'forcelgadd'}
depot: 0.20210907.26
pressure-vessel: 0.20210906.2
scripts: v0.20210818.0-0-gc6be089
soldier: 0.20210906.1 soldier 0.20210906.1
======================
View gist:985e6514136b489c33c3a92674d17704
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
CPU Family: 0x6
View jakob-multiline.theme.bash
#!/usr/bin/env bash
SCM_THEME_PROMPT_PREFIX=" ${yellow}"
SCM_THEME_PROMPT_SUFFIX="${reset_color}"
VIRTUALENV_THEME_PROMPT_PREFIX=" ${cyan}"
VIRTUALENV_THEME_PROMPT_SUFFIX="${reset_color}"
bold="\[\e[1m\]"
View jakob.theme.bash
#!/usr/bin/env bash
SCM_THEME_PROMPT_PREFIX=" ${yellow}"
SCM_THEME_PROMPT_SUFFIX="${reset_color}"
VIRTUALENV_THEME_PROMPT_PREFIX=" ${cyan}"
VIRTUALENV_THEME_PROMPT_SUFFIX="${reset_color}"
bold="\[\e[1m\]"
View image2oled.py
import argparse
from PIL import Image
parser = argparse.ArgumentParser()
parser.add_argument("inputfile", help="Path to the image file to convert")
parser.add_argument("-o", "--output", help="Path to output file with the C array, if not given the same filename as the input is used, with filetype .c", action="store_true")
parser.add_argument("-p", "--preview", help="Print the resulting image to the terminal", action="store_true")
parser.add_argument("-d", "--dither", help="Set flag to dither image in conversion from colour to BW, if applicable", action="store_true")
parser.add_argument("-s", "--small", help="Set flag if your OLED has a resolution of 128x32 instead of 128x64", action="store_true")
parser.add_argument("-x", "--width", help="Pixel width of your OLED", type=int)