Skip to content

Instantly share code, notes, and snippets.

View dyoungwd's full-sized avatar

Darren Young dyoungwd

View GitHub Profile
@dyoungwd
dyoungwd / vpn-select.sh
Last active January 30, 2020 11:11
A VPN select script
#!/bin/bash
cd
echo "## Updating DNS....."
sudo cp resolv.conf ../../../etc/
echo "## Obtaining VPN info....."

Keybase proof

I hereby claim:

  • I am dyoungwd on github.
  • I am jardwd (https://keybase.io/jardwd) on keybase.
  • I have a public key ASAk8OGkiHrrGTCzxvSzh4s0kPtT37whS19U3pIeBJttqAo

To claim this, I am signing this object:

@dyoungwd
dyoungwd / ubuntu-server-setup.sh
Created April 3, 2018 21:12
General Script For Setting Up Your Ubuntu / Debian OpenStack Instance or Server for Website Hosting
# General Script For Setting Up Your Ubuntu / Debian OpenStack Instance or Server for Website Hosting
# You Must Edit 'newuser' And 'example.com' To Desired username And domain
# Install Apache
sudo apt-get update
sudo apt-get install -y apache2
# Install Lamp Instead ( apache, php, mysql )
# sudo apt-get install lamp-server^
@dyoungwd
dyoungwd / Fedora-Jekyll-Install.sh
Created April 2, 2018 08:53
Installation Script For Jekyll on Fedora 27
sudo dnf install ruby ruby-devel redhat-rpm-config gcc gcc-c++
sudo gem install json
sudo gem install jekyll bundler
sudo gem update --system
//Move to the jekyll folder - cd ./your/jekyll/folder
bundle install
bundle update
@dyoungwd
dyoungwd / koala-install.sh
Created November 25, 2016 09:17
Script to install koala-app Less / Sass compiler on Fedora
#!/usr/bin/env bash
#Script to install Koala-App
#Koala is a GUI application for Less, Sass, Compass and CoffeeScript compilation
#http://koala-app.com/
#Script by D4zzy
# Install wget if not installed
sudo dnf install wget
# Download Koala App
@dyoungwd
dyoungwd / nodejs-install.sh
Created November 24, 2016 22:22
Install nodejs in Fedora
#!/usr/bin/env bash
func_check_for_root() {
if [ ! $( id -u ) -eq 0 ]; then
echo "ERROR: $0 Must be run as root, Script terminating" ;exit 7
fi
}
func_check_for_root
#SETUP PARAMS
@dyoungwd
dyoungwd / google-fonts.sh
Created November 24, 2016 10:26
Install Google Fonts on fedora
# Original : Michalis Georgiou
# Modified : D4zzy for Fedora
_wgeturl="https://github.com/google/fonts/archive/master.tar.gz"
_gf="google-fonts"
# install wget
echo "Installing wget..."
sudo dnf install wget
@dyoungwd
dyoungwd / fedora-wifi-fix.sh
Created November 24, 2016 10:20
realtek wifi fix
echo "options rtl8723be fwlps=0 swlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf
@dyoungwd
dyoungwd / fedora25-upgrade
Last active November 22, 2016 14:52
Fedora 25 Upgrade Script
#! /bin/bash
# script to upgrade to Fedora 25
#login as root
su
#Upgrade system
dnf -y upgrade
#install plugins
dnf -y install dnf-plugin-system-upgrade
#Download files for upgrade
@dyoungwd
dyoungwd / steamfix.sh
Last active October 31, 2015 10:38
Script to install steam and use system runtime instead of steam runtime
#!/bin/bash
# script to install steam and use system runtime instead of steam runtime
# author D4zzy dyoung0378@gmail.com
DIR=$HOME/.local/share/Steam/
# Install steam if not already done and start
# sudo dnf install steam
#Steam required to be started before removing steam runtime