import flet as ft
import re
from dataclasses import dataclass
Discover gists
This is a set of instructions specific to the Steam Deck that is curated and combined from several guides and help I've found on the LUG Discord as well as /r/StarCitizen. This will help you configure your system, download and extract the utilities needed, and do a (mostly) standard install. We're not using Lutris and instead doing a manual install since the LUG installer doesn't work well with the Flatpak without additional configuration. Hopefully it is helpful.
Tested on the 512GB SKU
Enable SSH if you'd like to do things remotely. This is helpful if you don't have a mouse and keyboard.
- Switch to desktop mode
- Open Konsole
- Set a password with
passwd
import socket | |
import requests | |
import paramiko | |
import time | |
import xml.etree.ElementTree as ET | |
def discover_sonos_devices(): | |
MCAST_GRP = '239.255.255.250' | |
MCAST_PORT = 1900 | |
msg = ( |
#include <iostream> | |
#include <string> | |
#include <queue> | |
#include <unordered_map> | |
using namespace std; | |
// A Tree node | |
struct Node | |
{ | |
char ch; |
import traceback | |
class DontRaiseUntilDone: | |
def __init__(self): | |
self.exceptions = [] | |
def __enter__(self): | |
return self | |
def __exit__(self, exc_type, exc_val, exc_tb): |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.