This file contains hidden or 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
Debian 10 Setup Instructions (post install) | |
By: Matthew_Moore | |
_____________________________________________________________________________ | |
Enable Sudo | |
Enter root using SU command | |
apt-get install sudo |
This file contains hidden or 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 | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
else | |
#Update and Upgrade | |
echo "Updating and Upgrading" | |
apt-get update && sudo apt-get upgrade -y |
This file contains hidden or 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 | |
sudo apt update | |
sudo apt -y install curl | |
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg | |
sudo install -y -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/ | |
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list' | |
sudo apt-get install -y apt-transport-https | |
sudo apt-get update | |
sudo apt-get -y install code |
This file contains hidden or 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 | |
# | |
# iptables example configuration script' | |
# https://github.com/ChrisTitusTech/firewallsetup | |
# Drop ICMP echo-request messages sent to broadcast or multicast addresses | |
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts | |
# Drop source routed packets | |
echo 0 > /proc/sys/net/ipv4/conf/all/accept_source_route |
This file contains hidden or 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 | |
# Save this file in the ~/bin folder (or other convenient locations) as LM_iso_verify.sh | |
# When you want to check the integrity of the downloaded LMxx.x .iso file: | |
# | |
# Download or move your Mint xx.x.iso file to your Downloads folder. | |
# Move this LM_iso_verify.sh file to the Downloads folder | |
# and make sure it is marked as executable. (Or if you keep it in /home/<your user name>/bin, | |
# then it is should already be on the PATH, and you don't need to move it.) | |
# |
This file contains hidden or 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
CONTREPO=https://repo.continuum.io/archive/ | |
# Stepwise filtering of the html at $CONTREPO | |
# Get the topmost line that matches our requirements, extract the file name. | |
ANACONDAURL=$(wget -q -O - $CONTREPO index.html | grep "Anaconda3-" | grep "Linux" | grep "86_64" | head -n 1 | cut -d \" -f 2) | |
wget -O ~/Downloads/anaconda.sh $CONTREPO$ANACONDAURL | |
bash ~/Downloads/anaconda.sh |
This file contains hidden or 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
err() { | |
echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*" >&2 | |
} | |
# if ! do_something; then | |
# err "Unable to do_something" | |
# exit "${E_DID_NOTHING}" | |
# fi |
This file contains hidden or 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
https://release.gitkraken.com/linux/gitkraken-amd64.deb |
This file contains hidden or 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
git init | |
git checkout --orphan master | |
git commit --allow-empty -m empty |
This file contains hidden or 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
############################################################## | |
atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock) | |
atmega328bb.upload.protocol=arduino | |
atmega328bb.upload.tool=arduino:avrdude | |
atmega328bb.upload.maximum_size=30720 | |
atmega328bb.upload.speed=57600 |