Skip to content

Instantly share code, notes, and snippets.

View prabaprakash's full-sized avatar
🎯
Eat, Code, Sleep, Meetups & Trekking

Praba Prakash prabaprakash

🎯
Eat, Code, Sleep, Meetups & Trekking
  • Ex-VIT, MSP, Hasura, Mr.Cooper
  • Chennai
View GitHub Profile
@juriansluiman
juriansluiman / docker-compose.yml
Last active February 26, 2023 17:35
Traefik 2.2 with openvpn failover with udp+tcp protocol
version: '3'
networks:
web:
external: true
bridge:
external: true
services:
traefik:
@anandtripathi5
anandtripathi5 / 12_factor_app_checklist_explained.md
Last active December 3, 2022 13:24
The 12 Factor App checklist explained

The twelve-factor app Checklist Explained

| ✓ | Factors | Status | Remarks | |----|-----------------------------------------------

@liuxey
liuxey / AES.go
Created March 24, 2017 01:59
AES/CBC/PKCS5Padding implementation by Golang
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"fmt"
)
func main() {
@ygotthilf
ygotthilf / jwtRS256.sh
Last active October 29, 2025 15:38
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub
@cobyism
cobyism / gh-pages-deploy.md
Last active October 31, 2025 17:43
Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io).

Deploying a subfolder to GitHub Pages

Sometimes you want to have a subdirectory on the master branch be the root directory of a repository’s gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the master branch alongside the rest of your code.

For the sake of this example, let’s pretend the subfolder containing your site is named dist.

Step 1

Remove the dist directory from the project’s .gitignore file (it’s ignored by default by Yeoman).