Skip to content

Instantly share code, notes, and snippets.

View RyanPossible's full-sized avatar

Ryan Schumacher RyanPossible

  • POSSIBLE Mobile
  • Atlanta, GA
View GitHub Profile
#!/bin/bash
toUpgrade=('git' 'node' 'wget' 'openssl')
array_contains () {
local array="$1[@]"
local seeking=$2
local in=1
for element in "${!array}"; do
if [[ $element == $seeking ]]; then