This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# script to lamp server | |
# author [email protected] | |
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# script to auto install everything | |
# Use hashtag to edit out software you do not require | |
# author D4zzY [email protected] | |
mkdir ~/Newinstall | |
mv newfedorainstall.sh ~/Newinstall | |
cd ~/Newinstall | |
echo " " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script to install steam and use system runtime instead of steam runtime | |
# author D4zzy [email protected] | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "options rtl8723be fwlps=0 swlps=0" | sudo tee /etc/modprobe.d/rtl8723be.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
OlderNewer