Skip to content

Instantly share code, notes, and snippets.

View VectorKappa's full-sized avatar
🖥️
Hard at work

Piotr Patalong VectorKappa

🖥️
Hard at work
View GitHub Profile
@ytaki0801
ytaki0801 / CGoL.sh
Last active February 16, 2023 19:22
Conway's Game of Life in POSIX Shell
#!/bin/sh
xs=80 ys=24
ORIGIN=$(clear) LF='
'
if [ ! ${RANDOM} ]; then
set -- $(head -c $((xs * ys)) /dev/random | od -An -vtu1)
fi
@motorailgun
motorailgun / idea.md
Last active November 16, 2023 03:13
Installing Windows and Linux into the same partition

Installing Windows and Linux into the same partition

But WHY?

There was a reddit post about installing Arch on NTFS3 partition. Since Windows and Linux doesn't have directories with same names under the /(C:\), I thought it's possible, and turned out it was actually possible.
If you are not familiar to Linux, for example you've searched on Google "how to dualboot Linux and Windos" or brbrbr... you mustn't try this. This is not practical.

Pre-requirements

  • UEFI system
  • Any Linux live-boot CD/DVD/USB... with Linux kernel newer than 5.15
  • Windows installer USB
@unixfox
unixfox / readme.md
Last active May 7, 2024 13:38
How to get IPv4 connectivity on an IPv6 only VPS

Some hosting providers like scaleway allows to remove the IPv4 from the VPS in order to save 1€/month but doing this will result in losing connectivity to the "IPv4 world".
Or you may have ordered a VPS that only has IPv6 connectivity and you want to access to a resource only accessible from the "IPv4 world".
Here is how to gain your access back to the "IPv4 world".

Change your name servers(s) to DNS64 name servers(s)

Note: You may deploy your own DNS64 & NAT64 server on a separate server by following this tutorial (untested): https://packetpushers.net/nat64-setup-using-tayga/.
Note²: You may find a explanation of what is NAT64 and DNS64 on Wikipedia.

  1. Choose a/multiple DNS64 public server(s) that has/have its own NAT64 public service from this list:
@LnLcFlx
LnLcFlx / archlogo.txt
Last active March 7, 2024 20:08
Arch Linux logo using unicode block characters
\033[38;2;23;147;209m ▄
▟█▙
▟███▙
▟█████▙
▟███████▙
▂▔▀▜██████▙
▟██▅▂▝▜█████▙
▟█████████████▙
▟███████████████▙
▟█████████████████▙
@Beneboe
Beneboe / how-to-setup-verified-commits.md
Last active March 20, 2024 18:20
How to Setup Verified Commits on Github
@jmbjr
jmbjr / hypergan_quickstart_conda_env_windows10.md
Last active July 26, 2021 08:29
quickstart guide on setting up a conda environment to run hypergan

tips on setting up a custom environment for hypergan

This guide requires Anaconda. Download and install Anaconda3 from:
https://www.anaconda.com/download/

Before you start anything with HyperGAN, you must install the CUDA libraries. If you don't have a CUDA GPU, I wouldn't recommend reading this guide further since this guide assumes you will be using a CUDA powered GPU.

Get cudnn here: https://developer.nvidia.com/cudnn

According to all known laws of aviation, there is no way a bee should be able to fly.
Its wings are too small to get its fat little body off the ground.
The bee, of course, flies anyway because bees don't care what humans think is impossible.
Yellow, black. Yellow, black. Yellow, black. Yellow, black.
Ooh, black and yellow!
Let's shake it up a little.
Barry! Breakfast is ready!
Coming!
Hang on a second.
Hello?
Acc'rding to all known laws of aviation, th're is nay way a bee shouldst beest able to flyeth.
its wings art too bawbling to receiveth its bacon-fed dram corse off the did grind.
the bee, of course, flies concluded, be it because bees careth not what humans bethink is impossible.
yellow, black. Yellow, black. Yellow, black. Yellow, black.
ooh, black and yellow!
alloweth's shaketh t up a dram.
barry! breakfast is eft!
coming!
hangeth on a second.
holla?