Skip to content

Instantly share code, notes, and snippets.

View Leopotam's full-sized avatar
🇷🇺

Leopotam Leopotam

🇷🇺
View GitHub Profile
// startup.
sealed class BattleStartup : MonoBehaviour {
EcsWorld _world;
EcsSystems _systems;
void Start () {
_world = new EcsWorld ();
_systems = new EcsSystems (_world);
_systems
.Add (new TimeSystem ())
@Leopotam
Leopotam / fix_voltage.sh
Created December 8, 2022 00:43 — forked from darkxanter/fix_voltage.sh
orange pi pc fix voltage
#!/bin/bash
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
if [ "$(id -u)" != "0" ]; then
echo "This script must be executed as root. Exiting" >&2
exit 1
fi
apt-get install git pkg-config libusb-dev libusb-1.0-0-dev build-essential