Skip to content

Instantly share code, notes, and snippets.

View jghorton14's full-sized avatar
🎯
Focusing

Jarrett Horton jghorton14

🎯
Focusing
View GitHub Profile
@jghorton14
jghorton14 / D3LineGraph.html
Last active March 16, 2021 13:50
Simple Ajax D3 line graph. Trying to make it responsive on window resize
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
svg {
font: 10px "Times New Roman";
}
### Keybase proof
I hereby claim:
* I am jghorton14 on github.
* I am jghorton14 (https://keybase.io/jghorton14) on keybase.
* I have a public key ASDmgBb8dFnUZ-aQcV9ecID4WEPWyKDDdlWtOBzC5flXQQo
To claim this, I am signing this object:
@jghorton14
jghorton14 / Modified.PNG
Last active April 4, 2018 04:10
Remove White Space in Image to create Transparency in JS
Modified.PNG
@jghorton14
jghorton14 / create-add-push.sh
Last active November 29, 2019 20:54
Create new github repo from cmd line and push code to github
curl -u 'USER' https://api.github.com/user/repos -d '{"name":"REPO"}'
echo "# REPO" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/USER/REPO.git
git push -u origin master
@jghorton14
jghorton14 / createAndTestNamedProfile.sh
Created May 1, 2020 03:26
Create AWS named Profile and return IAM user details
aws configure --profile PROFILENAME
aws sts get-caller-identity --profile PROFILENAME
#include <stdio.h>
int main() {
printf("Hello World\n");
return 0;
}
@jghorton14
jghorton14 / installDockerx86.sh
Created September 22, 2020 12:33
Install docker on ubuntu x86
#!/bin/bash
sudo apt-get update
echo "----------Updated---------------"
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
@jghorton14
jghorton14 / installNifiDocker.sh
Created September 22, 2020 12:36
Install nifi on docker
#!/bin/bash
sudo apt-get update
echo "----------Updated---------------"
sudo docker pull apache/nifi
echo "----------Downloaded nifi-------"
@jghorton14
jghorton14 / runNewDockerNifi.sh
Created September 22, 2020 12:50
Create new Docker Container and run on localhost:8080
#!/bin/bash
sudo docker run --name nifi \
-p 8080:8080 \
-d \
apache/nifi:latest
echo "----------Docker is create new container and run on http://localhost:8080/nifi ----------"
@jghorton14
jghorton14 / startDockerNifi.sh
Created September 22, 2020 12:51
Start Created Docker container named Nifi
#!/bin/bash
sudo docker start nifi
echo "-------------Started nifi on http://localhost:8080/nifi --------------"