Skip to content

Instantly share code, notes, and snippets.

View kotleni's full-sized avatar
👚
.addFeature(Features.VR_OCULUS_QUEST2)

Viktor Varenik kotleni

👚
.addFeature(Features.VR_OCULUS_QUEST2)
View GitHub Profile
@kotleni
kotleni / fix-steam-linux.md
Created August 11, 2024 11:06
fix-steam-linux.md

Steam Download Speed is so slow on Linux

Oh boi, here I give you the solution for that. This document is based on these links:

Why is it slow?

I don't know, perhaps the Steam application doesn't cache the dns locally or something hence your computer will always lookup for the domain everytime you download it on each chunks. CMIIW.

@kotleni
kotleni / arch-linux-installing-helper.md
Last active August 11, 2024 11:12
arch-linux-installing-helper.md

Arch Linux Installing Helper

This markdown document should help to you (and me :3) install arch linux with all needed non graphical things for regular PC with UEFI. Excented source of information about installation: https://wiki.archlinux.org/title/Installation_guide

Preparing

  1. Download iso image, from https://repo.hyron.dev/archlinux/iso/ (UA mirror) as example.
  2. Flash iso to usb stick using rufus, balendaEtcher, dd or etc.
  3. Boot PC and switch booting device to flashed usb stick.

Installing basic system

@kotleni
kotleni / gist:c43570a8d19ea4fdb083de919ce184c0
Created January 13, 2024 09:25
Asahi fix krunvm deps
sudo dnf remove libkrunfw libkrun
sudo dnf install libkrunfw-4.0.0~asahikrun-1.fc39 libkrun-1.6.0~asahikrun-3.fc39
@kotleni
kotleni / main.kt
Created October 19, 2022 20:03
Kotlin AppKit usage example (MacOS)
import platform.AppKit.*
import platform.Foundation.NSMakeRect
import platform.Foundation.NSNotification
import platform.Foundation.NSRect
import platform.darwin.NSObject
fun main() {
val app = NSApplication.sharedApplication()
app.delegate = MyAppDelegate()
app.setActivationPolicy(NSApplicationActivationPolicy.NSApplicationActivationPolicyRegular)