Skip to content

Instantly share code, notes, and snippets.

View Deityhub's full-sized avatar
🌍
Making everyday life better

Chizoba Jude Ojini Deityhub

🌍
Making everyday life better
  • 011011010110000101110100011100100110100101111000
View GitHub Profile
@Deityhub
Deityhub / express_postgress_knex.md
Created February 8, 2022 11:39 — forked from laurenfazah/express_postgress_knex.md
Cheat Sheet: Setting up Express with Postgres via Knex

Express & Postgres via Knex

Note: <example> is meant to denote text replaced by you (including brackets).

Setup

// global dependencies
npm install -g knex
@Deityhub
Deityhub / 1_kubernetes_on_macOS.md
Created January 26, 2021 20:04 — forked from kevin-smets/1_kubernetes_on_macOS.md
Local Kubernetes setup on macOS with minikube on VirtualBox and local Docker registry

Requirements

Minikube requires that VT-x/AMD-v virtualization is enabled in BIOS. To check that this is enabled on OSX / macOS run:

sysctl -a | grep machdep.cpu.features | grep VMX

If there's output, you're good!

Prerequisites

@Deityhub
Deityhub / curl.md
Created July 5, 2020 16:33 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@Deityhub
Deityhub / react-file-upload.js
Created August 27, 2018 08:16 — forked from AshikNesin/react-file-upload.js
Simple React File Upload
import React from 'react'
import axios, { post } from 'axios';
class SimpleReactFileUpload extends React.Component {
constructor(props) {
super(props);
this.state ={
file:null
}
@Deityhub
Deityhub / README.md
Created February 21, 2018 04:05 — forked from hofmannsven/README.md
My simply Git Cheatsheet