Skip to content

Instantly share code, notes, and snippets.

View dyoungwd's full-sized avatar

Darren Young dyoungwd

View GitHub Profile
@dyoungwd
dyoungwd / 0_reuse_code.js
Last active February 10, 2017 00:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@dyoungwd
dyoungwd / pentestTools.sh
Last active November 8, 2017 18:58 — forked from opnchaudhary/pentestTools.sh
This script will download the security tools needed for pentesting in fedora
#!/bin/sh
#Install Complete Security-Lab tools
#sudo dnf -y groupinstall security-lab
#If you want certain groups - copy paste the required group into terminal
# Install Code Analysis Tools
sudo dnf -y install splint pscan flawfinder rats
@dyoungwd
dyoungwd / fedora-lampserver.sh
Last active October 31, 2015 10:03
Set up LAMP server Fedora
#! /bin/bash
# script to lamp server
# author dyoung0378@gmail.com
#LOG IN AS ROOT BEFORE EXECUTING SCRIPT su -l
#LAMP is an acronym derived from the first letters of the combination of operating system #and open-source software stack. Linux, Apache HTTP server, MySQL/MairiaDB, and PHP/Perl/#Python
#Apache
dnf -y install httpd
#Enable the httpd service to start automatically on every reboot
@dyoungwd
dyoungwd / autoinstall.sh
Created October 31, 2015 10:18
Auto Software Install script for new Fedora Install
#! /bin/bash
# script to auto install everything
# Use hashtag to edit out software you do not require
# author D4zzY dyoung0378@gmail.com
mkdir ~/Newinstall
mv newfedorainstall.sh ~/Newinstall
cd ~/Newinstall
echo " "
@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
@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 / 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 / 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 / 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 / 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