Skip to content

Instantly share code, notes, and snippets.

View kotleni's full-sized avatar
😑

Viktor Varenik kotleni

😑
View GitHub Profile
@HAliss
HAliss / VolumetricFogTutorial.shader
Created January 13, 2025 08:03
A simple volumetric fog shader
Shader "Tutorial/VolumetricFog"
{
Properties
{
_Color("Color", Color) = (1, 1, 1, 1)
_MaxDistance("Max distance", float) = 100
_StepSize("Step size", Range(0.1, 20)) = 1
_DensityMultiplier("Density multiplier", Range(0, 10)) = 1
_NoiseOffset("Noise offset", float) = 0
@kotleni
kotleni / fix-steam-linux.md
Last active June 7, 2026 17:22
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.

@kotleni
kotleni / arch-linux-installing-helper.md
Last active June 20, 2026 20:37
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 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://archlinux.org/download/
  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

@rehhouari
rehhouari / audiorelay-pipewire.md
Created March 15, 2024 01:16
How to install AudioRelay on Linux using Pipewire (through pipewire-pulse)
@maximtrp
maximtrp / Orange Pi PC and Arch Linux ARM.md
Last active September 10, 2025 22:51
Guide on how to install Arch Linux ARM on SD card for your Orange Pi PC board

Orange Pi PC & Arch Linux ARM: installation guide

This guide is based on multiple guides as well as official instructions for the other boards found on the Internet:

  1. https://github.com/RoEdAl/alarm-uboot-sunxi-armv7
  2. https://uthings.uniud.it/building-mainline-u-boot-and-linux-kernel-for-orange-pi-boards
  3. https://archlinuxarm.org/platforms/armv7/allwinner/pcduino3

I have gone through all these steps recently and got a working board with my favorite Arch Linux ARM. I hope it will be helpful for someone else.

@wotosts
wotosts / CollapsingAppBar.kt
Created April 11, 2023 14:28
Android Jetpack Compose CollapsingAppBar
import androidx.compose.animation.core.AnimationSpec
import androidx.compose.animation.core.AnimationState
import androidx.compose.animation.core.CubicBezierEasing
import androidx.compose.animation.core.DecayAnimationSpec
import androidx.compose.animation.core.animateDecay
import androidx.compose.animation.core.animateTo
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.gestures.Orientation
@RupGautam
RupGautam / block_tik_tok.txt
Last active June 9, 2026 17:16
TikTok domains to DNSBL Feeds
api30.tiktokv.com
api21.tiktokv.com
webcast21.tiktokv.com
api31.tiktokv.com
api-t1.tiktokv.com
webcast1.tiktokv.com
api32.tiktokv.com
api30-h2.tiktokv.com
api21-h2.tiktokv.com
api-s1-h2.tiktokv.com
@KavenTheriault
KavenTheriault / mkinitcpio_nvidia.md
Created August 7, 2020 21:02
Nvidia driver and mkinitcpio

Nvidia driver and mkinitcpio

First, install nvidia drivers

sudo pacman -S nvidia

Edit the following line of /etc/mkinitcpio.conf

MODULES=(i915? nouveau? vboxvideo? vmwgfx?)
@diyism
diyism / Use your android phone as a karaoke microphone in Linux.md
Last active November 1, 2025 19:54
Use your android phone as a karaoke microphone in Linux

micclient+WoMic is close source, while Mumble is open source, so on armbian tv, I can only use Mumble+Murmurd+Plumble.

====================1. "mumble+murmurd"(on arm64 armbian linux tv)+plumble(on android/ios)====================

refer: https://github.com/diyism/mic_over_mumble
sudo apt install mumble mumble-server
sudo systemctl stop mumble-server.service
sudo /lib/systemd/systemd-sysv-install disable mumble-server
@matthewjberger
matthewjberger / cargo.toml
Created June 6, 2018 04:51
SDL2/OpenGl in Rust
[package]
name = "chapter-01"
version = "0.1.0"
authors = ["Matthew J. Berger <matthewberger@nevada.unr.edu>"]
[dependencies]
gl = "0.10.0"
[dependencies.sdl2]
version = "0.31.0"