Skip to content

Instantly share code, notes, and snippets.

From: https://twitter.com/TheAnkurTyagi/status/1445737829296861204
JavaScript basic steps:
What is JavaScript?
Declaring JavaScript Variables: var, let, and const
Basic math in JavaScript — Numbers and operators
JavaScript syntax
ES6 let VS const variables
Arrays, Data Types, Strings
#!/bin/bash
#Clear everything
tput reset
# Pretty-print a summary
now=$(date +"%H:%M")
end=$(date -d "$now today + "$1" minutes" +'%H:%M')
pad=$((6-${#1}))
printf "┌───────────────────┐\n"
# -*- coding: utf-8 -*-
from timeit import default_timer as timer
import matplotlib.pyplot as plt
import Gnuplot, Gnuplot.funcutils
import numpy as np
import sys
import os
def mPlotAndSave(x, y):