Vps Config

A server configuration is a set of instructions that tells a computer how to operate. The instructions can include the type of hardware to use, the software to install, and the settings to use. A server configuration can be used to set up a new computer, or to change the settings on an existing computer. Here is the configuration I usually use for my fresh new sever:

Read more >

Go Dart Plugin

Part One the GO side:

  1. We need to make the function exportable, so the name should be capitalized and become GetKey()
  2. We need to use cgo so that we can create shared library, cgo means we need to:
Read more >

Cheatsheet Tmux

Tmux is a terminal multiplexer. It lets you switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.

Read more >

Git Tips

Gitignore not working

git rm -rf --cached .
git add .

Recover last commit

git reset HEAD~  

AMD GPU Screen Tearing

According to Wikipedia :

Screen tearing is a visual artifact in video display where a display device shows information from multiple frames in a single screen draw. If you are on Debian or Ubuntu, and you have an AMD GPU this might fix the problem 😊

Read more >