Skip to content

Instantly share code, notes, and snippets.

View arpitjindal97's full-sized avatar
🎯
Focusing

Arpit Agarwal arpitjindal97

🎯
Focusing
View GitHub Profile
@arpitjindal97
arpitjindal97 / mysterium-ubuntu.sh
Last active July 26, 2020 10:07
Ubuntu Server 18.04 Raspi 3
# ubuntu 18.04 bionic server for Raspberry Pi 3 arm64
sudo apt-get update
sudo apt install libcap2-bin jq dirmngr ipset resolvconf openvpn software-properties-common wireguard-dkms wireguard
export PPA="ppa:mysteriumnetwork/node"
export PPA_URL="http://ppa.launchpad.net/mysteriumnetwork/node/ubuntu"
export PPA_FINGER="ECCB6A56B22C536D"
@arpitjindal97
arpitjindal97 / parse_k6.sh
Last active July 21, 2022 20:57
Parse file.csv generated by K6 (load generation tool)
## This script is used to parse file.csv emited by k6 tool
## Run this script using below commands:
## bash parse_k6.sh
## bash parse_k6.sh ping
## bash parse_k6.sh allow
## bash parse_k6.sh filter
# Scenario
# if omitted will process all
api="$1"
@arpitjindal97
arpitjindal97 / intel-iris-linux.sh
Last active January 29, 2023 20:17
Script to fix screen flicker on Intel Iris Graphics card
sudo touch /etc/modprobe.d/i915.conf
sudo echo "options i915 enable_guc=3 enable_psr=0" > /etc/modprobe.d/i915.conf
## sudo touch /etc/modprobe.d/i8042.conf
## sudo echo "options i8042 direct dumbkbd" > /etc/modprobe.d/i8042.conf
sudo update-initramfs -u

Generating Private Key & Self-Signed Certificate

Below are the different ways

Existing Private key is used to generate Certificate

openssl req  -key private.key  -new  -x509 -days 1460 -out domain.crt

Generate private key and self-signed certifcate together

Here's a summary of various methods for making surma:

Surma is always in powder form, Kajal is in moist/gel form

1. Almond-based Kajal:

Ingredients:

  • Almonds
  • Cow's ghee (clarified butter)

Shoulders

Front Deltoid
    1. Standing Barbell Shoulder Press
    2. Seated Dumbbell Shoulder Press

Side Deltoid
    1. Standing Dumbbell Lateral Raise
    2. Lying Incline Lateral Raise