A simple Gravatar checker app. Built with React.js to exercise the use of MD5.js for hashing strings.
GitHub repo at https://github.com/SamEureka/gravchk
A Pen by Sam Eureka on CodePen.
A simple Gravatar checker app. Built with React.js to exercise the use of MD5.js for hashing strings.
GitHub repo at https://github.com/SamEureka/gravchk
A Pen by Sam Eureka on CodePen.
ssh-add <path-to-ssh-key> and enter key passphrase when prompted. // ex path... /users/you/.ssh/id_rsa_digital-oceanssh root@<server-url-or-IP> // should login without prompting for passphraseadduser and follow promptsSSH into your pre-configured server running NGINX SSL Reverse Proxy ssh <username>@<server-url-or-IP> **See guide here
Download Splunk Enterprise using WGET `wget -O splunk-6.5.1-f74036626f0c-linux-2.6-amd64.deb 'https://www.splunk.com/bin/splunk/DownloadActivityServlet?architecture=x86_64&platform=linux&version=6.5.1&product=splunk&filename=splunk-6.5.1-f7
| #!/bin/bash | |
| # Create an array with the screen instance names. (The screen names are 10 characters because I suck at REGEX) | |
| LIST=(`screen -list |grep -o '[a-z]\{10\}'`) | |
| # Iterate over the array to do the work. | |
| for i in "${LIST[@]}"; do | |
| # Create a working string variable with the name | |
| work="$i" | |
| check=`screen -list |grep $work` |
| #!/bin/bash | |
| LIST=(`screen -list |grep -o '[a-z]\{10\}'`) | |
| for i in "${LIST[@]}"; do | |
| work="$i" | |
| echo ${work} | |
| done |
| #!/bin/bash | |
| # SAMPLE1='1-first.with.custom.name' | |
| # SAMPLE2='2-second.with.custom.name' | |
| # for (( i = 1; i <= 2; i++ )) | |
| # do | |
| # var="SAMPLE$i" | |
| # echo ${!var} | |
| # done |
| #!/bin/bash | |
| # Create an array with the screen instance names. (The screen names are 10 characters because I suck at REGEX) | |
| LIST=(`screen -list |grep -o '[a-z]\{10\}'`) | |
| # Iterate over the array to do the work. | |
| for i in "${LIST[@]}"; do | |
| # Create a working string variable with the name | |
| work="$i" | |
| check=`screen -list |grep $work` |
| #!/bin/bash | |
| # echo "Starting Direwolf on port: 25566" | |
| # cd /home/sam/servers/direwolf && screen -dmS direwolf ./ServerStart.sh & | |
| # echo "Starting Infinity on port: 25567" | |
| # cd /home/sam/servers/infinity && screen -dmS infinity ./ServerStart.sh & | |
| echo "Starting SkyFactory on port: 25565" | |
| cd /home/sam/servers/skyfactory && screen -dmS skyfactory ./ServerStart.sh & |
| #!/bin/bash | |
| # Check to see if direwolf is runing | |
| dire=`screen -list | grep direwolf` | |
| # TODO put this in a while loop to make it better | |
| # (it's good enough for now) | |
| # TODO make it all DRY |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
| <title>SamEureka's 'Crafty' - A Modded Minecraft Server!</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <script src="https://use.typekit.net/mcq1pvw.js"></script> | |
| <script>try{Typekit.load({ async: true });}catch(e){}</script> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel='stylesheet' type='text/css'> | |
| <link href='https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css' rel='stylesheet' type='text/css'> |