Skip to content

Instantly share code, notes, and snippets.

View tikg's full-sized avatar
🎯
Focusing

tikg tikg

🎯
Focusing
View GitHub Profile
@tikg
tikg / wsl.md
Last active February 16, 2023 03:21

WSL

Checking WSL distros

PS C:\Users\tik> wsl --list --online
The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.

NAME               FRIENDLY NAME
Ubuntu             Ubuntu
@tikg
tikg / go-lang.md
Last active October 31, 2023 17:29

Go Lang Setup (the easiest way)

Clone update-golang by @udhos

git clone https://github.com/udhos/update-golang  
cd update-golang  
sudo ./update-golang.sh  
source /etc/profile.d/golang_path.sh
@tikg
tikg / python.md
Last active January 20, 2023 07:20

Python with nexfil

sudo git clone https://github.com/thewhiteh4t/nexfil.git  
cd nexfil  
sudo apt install python3-pip  
sudo pip3 install -r requirements.txt    
@tikg
tikg / docker.md
Last active January 20, 2023 07:04
Everything Docker

Everything Docker

Removing docker from wsl

kubectl on Docker users cmd

setup docker on ubuntu wsl

@tikg
tikg / podman.md
Last active February 9, 2023 00:15

podman quick deploy

sudo apt-get -y update  
sudo apt-get -y install podman  
podman run --name tuliao-wordpress -p 8080:80 -d wordpress  
podman generate kube tuliao-wordpress  
@tikg
tikg / localdeployment-container.md
Last active January 20, 2023 04:35
Local Deployment of Containers

Local Deployment of Containers

k0s/minikube/k3s/microk8s all are viable options for local deployment.
Or even kind/k3d if you want to run kubernetes on top of docker.

Postgresql Setup with Concrete CMS

go inside mysql envt

mysql 
create database rnnwebdb;
CREATE USER 'rnnweb'@'localhost' IDENTIFED BY 'mxxxxzg';
use rnnwebdb;
flush privileges;
exit

Here are the steps to set up Docker and Kubernetes for learning on your home desktop server:

Install Docker:

First, you'll need to install Docker on your desktop server. Follow the installation instructions for your operating system on the Docker website.

Install Minikube:

Minikube is a tool that makes it easy to run a single-node Kubernetes cluster locally. To install Minikube, follow the instructions for your operating system on the Minikube GitHub page.

Start Minikube:

@tikg
tikg / wow.md
Created February 22, 2023 08:50

WoW

@tikg
tikg / git.md
Last active February 1, 2024 00:30

git and git finds