Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import csv
import json
import os
__author__ = "Arjun Ray"
__license__ = "MIT"
#!/bin/sh
print_header () {
echo $1
echo "------------------------------------"
}
run_print_error () {
print_header "$2"
echo $1
#!/bin/sh
print_header () {
echo $1
echo "------------------------------------"
}
run_print_error () {
print_header "$2"
echo $1
# error_msg=$($1 2>&1 >/dev/null)
#!/usr/bin/python
# -*- coding: utf-8 -*-
import argparse
import csv
import json
import os
__author__ = "Arjun Ray"
__license__ = "MIT"
#!/usr/bin/env python
import os
import pandas as pd
import sys
from crayons import white, green, blue, red
from datetime import datetime as dt
from pandas.errors import EmptyDataError
from tabulate import tabulate
#!/bin/sh
# shell command to install Atom packages
install_packages="apm install linter linter-rubocop"
if grep -q Microsoft /proc/version 1>/dev/null 2>/dev/null; then
# -------------------- #
# W I N D O W S 1 0 #
# -------------------- #

CASE FOR LENGTH 2 LINKED LIST

item0      
next  ------> item1
val=2         next -------> null
              val=5

            item0       
#!/usr/bin/env python
'''
SHA FILE/TREE COMPARATOR
takes two args:
file/dir string 1
file/dir string 2
compares all files in both locations for SHA checksum matches.
// Only verified working on Darwin Kernel Version 17.3.0 //
#!/bin/bash
# -------------------- #
# SYSTEM BACKUP SCRIPT #
# -------------------- #
# PURPOSE: Backup importang config files and program
# installed dependency lists to a private gist
# automatically.
#!/usr/bin/python
'''
# ---------------------------- #
# SYSTEM BACKUP RESTORE SCRIPT #
# ---------------------------- #
'''
import json
import re