Skip to content

Instantly share code, notes, and snippets.

View TomixUG's full-sized avatar
🎯
Focusing

Tomáš Soušek TomixUG

🎯
Focusing
  • EU
View GitHub Profile
@TheRamsay
TheRamsay / test.py
Last active October 22, 2024 22:19
IZP first project tester
#!/usr/bin/python3
#
# Testy pro 1. IZP projekt [2024]
# Autor: theramsay
# Inspirace https://github.com/JosefKuchar/izp-projekt-1/blob/main/test.py
# Priklady pouziti:
# python3 ./test.py t9search
# python3 ./test.py t9search --bonus 2
#
# Verze: 1.1 - Přidány testy od @toaster pro edge case na max délku řádku
@emidoots
emidoots / ramblings.md
Last active December 25, 2024 04:39
Because cross-compiling binaries for Windows is easier than building natively

Because cross-compiling binaries for Windows is easier than building natively

I want Microsoft to do better, want Windows to be a decent development platform-and yet, I constantly see Microsoft playing the open source game: advertising how open-source and developer friendly they are - only to crush developers under the heel of the corporate behemoth's boot.

The people who work at Microsoft are amazing, kind, talented individuals. This is aimed at the company's leadership, who I feel has on many occassions crushed myself and other developers under. It's a plea for help.

The source of truth for the 'open source' C#, C++, Rust, and other Windows SDKs is proprietary

You probably haven't heard of it before, but if you've ever used win32 API bindings in C#, C++, Rust, or other languages, odds are they were generated from a repository called microsoft/win32metadata.

@bayek0fsiwa
bayek0fsiwa / arch-base-to-productivity-installation-uefi.md
Last active November 9, 2022 15:40
Arch Linux Base Install on UEFI

Internet Check:

ip a

Connect to Wi-Fi at install:

iwctl
iwctl device list
iwctl station stationname scan
iwctl station stationname get-networks
iwctl station stationname connect networkname
@qdm12
qdm12 / readme.md
Last active April 8, 2024 08:45
Wireguard setup for Ubuntu server with LAN access

Wireguard setup for LAN access

Assumptions

  • The network 192.168.1.0/24 is your LAN
  • Your Ubuntu server is on your LAN at 192.168.1.10, through the network interface eth0
  • The network 192.168.5.0/24 is non existent
  • Your LAN DNS is at 192.168.1.1
@justincjahn
justincjahn / README.md
Last active January 16, 2024 20:15
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft