Skip to content

Instantly share code, notes, and snippets.

View farhan418's full-sized avatar

Mohammed Farhan Haider farhan418

View GitHub Profile
@bradtraversy
bradtraversy / myscript.sh
Last active July 16, 2024 10:39
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"
/* This script was auto generated on previewing the "Pretty Print"-ed response body of `json_formatter.min.js` file using the Chrome DevTools's Network tab whereas `json_formatter.min.js` file itself was created manually */
window['pre'];
const version = "4.2.3";
const isExpanded = true;
window['recurse'] = (obj,keyname='',isLast=false)=>{
const expanded = isExpanded ? 'expanded' : ''
, c = isLast ? '' : ',';
let type = typeof obj
, dom = document.createDocumentFragment()
, inner = document.createDocumentFragment()