Skip to content

Instantly share code, notes, and snippets.

View berkant's full-sized avatar

Berkant İpek berkant

View GitHub Profile
@v0lkan
v0lkan / LS_COLORS.md
Last active October 17, 2022 13:40
How do I change that ugly dark blue color in my linux terminal?

Those colors are defined in LS_COLORS.

In the terminal

echo $LS_COLORS

Save it to a text file, and edit to your heart’s desire.

@FreddieOliveira
FreddieOliveira / docker.md
Last active April 24, 2024 15:05
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@jhonnymichel
jhonnymichel / gamedev-trigonometry.md
Last active September 20, 2023 16:57
Basic trigonometry for game development

Introduction

two distinct points (for example, a game object position and the mouse cursor position) in an area can always be two corners of a Right Triangle (Triângulo-retângulo in ptbr). A triangle has three sides: The Hypotenuse, the Adjacent and the Opposite.

The distance between two points in the X axis corresponds to the Adjacent side of a triangle, The distance between two points in the Y axis corresponds to the Opposite side of a triangle.

The Hypotenuse is the shortest distance between the two points.

This means we can use trigonometry to handle many interactions between objects when programming visual stuff.

@asukakenji
asukakenji / 0-go-os-arch.md
Last active April 24, 2024 06:51
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.17.1 darwin/amd64.

GOOS Values

GOOS Out of the Box
aix
android
@j-jith
j-jith / miui-fastboot-howto.rst
Last active March 19, 2024 14:19
How to flash MIUI Fastboot ROM from Linux

How to flash MIUI Fastboot ROM from Linux

@staltz
staltz / introrx.md
Last active April 25, 2024 04:18
The introduction to Reactive Programming you've been missing