Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
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
# PREP | |
# *Read* other materials first to familiarize yourself with wireguard and wireguard on FreeBSD / Android: | |
# genneko has a nice writeup that is easy to follow and much better formatting here: | |
# https://genneko.github.io/playing-with-bsd/networking/freebsd-wireguard-android/ | |
# Backup your entire pfsense system, or run this on a vm after a good snapshot. Failure to do this can easily break you, you | |
# have been warned. This is entirely unsupported. Wireguard on PFSense is experimental at this time. Nothing has been | |
# tested by me on non AMD64 arch, so unsure if arm pkgs are available. | |
# Backup your package database just in case since this impacts core PFSense runtime dependancies. |
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
################################################## | |
# ELIMINATE SPOTIFY ADS - UPDATED FREQUENTLY # | |
################################################## | |
SPOTIFY CURRENTLY WORKS HARD IMPROVING ITS APP AND NETWORK. WHAT IS REALIZED NOW? NO AUDIO/VIDEO ADS IN THE OLD APP, | |
THE NEW APP, CHROMECAST, WEBSITE (DID NOT TEST THAT ONE). | |
NOTE: SOMETIMES ONLY ANNOUNCEMENT OF AN AD! | |
ALTERNATIVELY YOU CAN ALSO BLOCK THE FOLLOWING IP ADDRESSES IN YOUR ROUTER: |
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
# Top ten (or whatever) memory utilizing processes (with children aggregate) - Can be done without the multi-dimensional array | |
ps axo rss,comm,pid | awk '{ proc_list[$2] += $1; } END { for (proc in proc_list) { printf("%d\t%s\n", proc_list[proc],proc); }}' | sort -n | tail -n 10 | |
# Download last file from index of | |
NAME=`wget --quiet URL -O - | grep util-vserver | tail -n 1 | sed 's|</a>.*||;s/.*>//'`; wget URL$UTILVSERVER; | |
# Delete newline | |
tr -d "\n" < file1 > file2 | |
# which procs have $PATH_REGEX open? | |
find /proc -regex '/proc/[0-9]+/smaps' -exec grep -l "$PATH_REGEX" {} \; | cut -d'/' -f2 | |
# Adding formatting to an xml document for easier reading | |
xmllint --format <filename> > <output file> |
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
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |