Skip to content

Instantly share code, notes, and snippets.

View splotnikov-sketch's full-sized avatar

Sergey Plotnikov splotnikov-sketch

View GitHub Profile
@splotnikov-sketch
splotnikov-sketch / tailwind-webpack-setup.md
Created April 17, 2023 16:06 — forked from bradtraversy/tailwind-webpack-setup.md
Setup Webpack with Tailwind CSS

Webpack & Tailwind CSS Setup

Create your package.json

npm init -y

Create your src folder

Create a folder called src and add an empty index.js file. The code that webpack compiles goes in here including any Javascript modules and the main Tailwind file.

@splotnikov-sketch
splotnikov-sketch / Local-Kubernetes.md
Created March 23, 2021 13:26 — forked from dahlsailrunner/Local-Kubernetes.md
Helpful tips and snippets for Kubernetes within Docker Desktop

Using the K8s Dashboard Locally

Actual repo is here: https://github.com/kubernetes/dashboard

1. Install the Dashboard

kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.1.0/aio/deploy/recommended.yaml

2. Create a Sample User Account that can Access the Dashboard via Token

kubectl apply -f https://gist.github.com/dahlsailrunner/bbd453f3bb6259b66c08a70d0908283f/raw/5727723217e2df4b65d8933adf04d009cfb0fe3f/local-dashboard-account.yml
@splotnikov-sketch
splotnikov-sketch / SSL-nginx-Docker.md
Created March 23, 2021 13:25 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.

@splotnikov-sketch
splotnikov-sketch / WindowsTerminal.md
Created March 23, 2021 13:21 — forked from dahlsailrunner/WindowsTerminal.md
Customization and Setup notes for Windows Terminal