Skip to content

Instantly share code, notes, and snippets.

View TariqueNasrullah's full-sized avatar
🎯
Focusing

Tarique TariqueNasrullah

🎯
Focusing
View GitHub Profile
@TariqueNasrullah
TariqueNasrullah / OhMyZsh.Md
Created June 21, 2021 06:42
Oh My Zsh configuration & installation guide

Install prerequisite packages (ZSH, powerline & powerline fonts)

sudo apt install zsh
sudo apt-get install powerline fonts-powerline

Clone the Oh My Zsh Repo

git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

Create a New ZSH configuration file

@TariqueNasrullah
TariqueNasrullah / apollo-config.js
Created November 8, 2020 16:36 — forked from KazW/apollo-config.js
Hasura, Nuxt (Vue), Nuxt Auth, Auth0 and Apollo
import { SubscriptionClient } from 'subscriptions-transport-ws'
import { onError } from 'apollo-link-error'
import { setContext } from 'apollo-link-context'
import { split, from } from 'apollo-link'
import { WebSocketLink } from 'apollo-link-ws'
import { getMainDefinition } from 'apollo-utilities'
import { createUploadLink } from 'apollo-upload-client'
import * as ws from 'ws'
export default (context) => {
@TariqueNasrullah
TariqueNasrullah / golang-tls.md
Created June 26, 2020 20:08 — forked from 6174/golang-tls.md
Simple Golang HTTPS/TLS Examples
Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
    
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key