Skip to content

Instantly share code, notes, and snippets.

View gear20056's full-sized avatar

Chayathrn Lorkanchanakul gear20056

View GitHub Profile
@coltenkrauter
coltenkrauter / fix-wsl2-dns-resolution.md
Last active December 9, 2025 16:00
Fix DNS resolution in WSL2

Permanent WSL DNS Fix (WSL 2.2.1+)

If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone — this has been a long-standing issue, especially when using VPNs or corporate networks.

This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.

DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.

To upgrade WSL, follow these steps,

@roustem
roustem / Setting-up-Windows-WSL1.md
Last active March 22, 2025 17:18
Setting-up-Windows-WSL1
@davidpodhola
davidpodhola / README.MD
Last active October 24, 2025 03:57
How to reinstall Windows 8 on Samsung ATIV 500T and upgrade to Windows 10

How to reinstall Windows 8 on Samsung ATIV 500T and upgrade to Windows 10

I bought my Samsung ATIV 500T back in 2013 in Paris. It was preinstalled with Windows 8 Home. I soon upgraded it to Windows 8 Professional to be a part of the work domain. And later to Windows 8.1 and later to Windows 10.

I am still very happy with it and it's pen-OneNote combination is still bringing a lot of surprise to whoever is near.

Once I incidentally tryied to install SQL Express to it and it was very bad decision. I create a Windows Restore Point before so it was quite easy to roll back.

But few days ago I tried to do the factory Reset and ended up with unbootable device. There seems to be no "Boot from USB" so I have had to come with another idea.

@jshcrowthe
jshcrowthe / installing-oh-my-zsh-fedora.md
Last active July 22, 2025 02:24
Installing Oh My ZSH oh Fedora (2015 CIT 325 Image)

Installing oh-my-zsh on Fedora (for DB class images)

Oh-my-zsh is an extension of the traditional z shell that is extensible via community created plugins (Plugins found here: oh-my-zsh github repo). It is, in my opinion, a breath of fresh air in comparison to the traditional bash shell.

DO THE FOLLOWING IN ORDER

Installing ZSH (using yum)

The first step for this install is getting zsh we will do this via yum. From your terminal:

@vertexclique
vertexclique / cracking.md
Last active October 31, 2025 20:48
Cracking guide for Sublime Text 3 Build 3059 / 3065 ( Mac / Win x86_64 / Windows x86 / Linux x64 / Linux x86 )

MacOS

Build 3059

MD5: 59bab8f71f8c096cd3f72cd73851515d

Rename it to: Sublime Text

Make it executable with: chmod u+x Sublime\ Text

@timothyandrew
timothyandrew / README.md
Last active December 16, 2023 17:05
Set up a seedbox (on DigitalOcean – Ubuntu) really quick

Introduction

  • This script lets you set up and use a temporary DigitalOcean droplet to download torrent files.
  • Once downloaded, they can be streamed down to your local machine.
  • This uses transmission-cli for the torrent client, and nginx to serve files.

Setup on Local Machine

  • This assumes that you have a DigitalOcean account and tugboat set up, as well as seedbox-setup.sh present in the current directory.
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active December 14, 2025 12:59
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname