Skip to content

Instantly share code, notes, and snippets.

View ethand91's full-sized avatar
:shipit:
Working from home

Ethan ethand91

:shipit:
Working from home
View GitHub Profile
@ethand91
ethand91 / index.html
Last active December 18, 2022 10:01
Sample demonstrating the use of EmailJS
<!DOCTYPE html>
<html lang="en">
<head>
<title>EmailJS Example</title>
</head>
<body>
<form id="contact-form" onSubmit="handleForm()">
<label for="fullname">Fullname</label>
@ethand91
ethand91 / yolo-install.sh
Created April 13, 2022 01:09
Yolo with Darknet install script
#!/bin/bash
git clone https://github.com/pjreddie/darknet && cd darknet
make
wget https://pjreddie.com/media/files/yolov3.weights
wget https://pjreddie.com/media/files/yolov3-tiny.weights
@ethand91
ethand91 / backup.sh
Created March 28, 2022 06:31
Script that backs up directories to an external device.
#!/bin/bash
# Script to backup directories to external disk
backup_files="/home /etc /root /boot /opt"
backup_location="/mnt/backup"
# Create the filename
day=$(date +%A)
file_name="backup-$day.tgz"
#!/bin/bash
# Version 1.0
# Simple script to install node dependencies
npm i -D \
@types/jest \
@types/node \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint-plugin-jest \