Skip to content

Instantly share code, notes, and snippets.

🎸
How you say yeehaw properly?

Jared Pyzynski PantherJohn

🎸
How you say yeehaw properly?
Block or report user

Report or block PantherJohn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View foo.js
els = document.getElementsByTagName('pre');
for (var i = 0; i < els.length; i++) {
els[i].style.whiteSpace = 'pre-wrap'
}
View fastdd.sh
sudo dd if=bionicpup64-8.0-uefi.iso of=/dev/rdisk2 bs=$((512*2048*32))
@PantherJohn
PantherJohn / lngcheeshee.md
Last active Nov 15, 2019
Math 18D - Cheatsheet - Glossary of Linear Algebra Terms
View lngcheeshee.md
@PantherJohn
PantherJohn / barfoo.sh
Created Nov 7, 2019
Shell script for fun
View barfoo.sh
while true; do
printf "\ry "
i=0
while (( i++ <= 20 )); do
printf '\b'
sleep 0.1
printf "et"
done
printf "\r "
done
View rand.sh
function rand() {
grep -m1 -ao '[0-9]' /dev/urandom | sed s/$1/$2/ | head -n1
}
@PantherJohn
PantherJohn / scl
Last active Sep 30, 2019
Permanently enable devtoolset on RHEL
View scl
#!/bin/bash
devtoolset='devtoolset-8'
yum install centos-release-scl -y
yum install ${devtoolset} -y
echo "source scl_source enable ${devtoolset}" > ~/.bashrc
View pping.sh
pping() { for a in $@; do drtt=86; rtt=$(ping -qc1 $a 2>&1 | awk -F/ '/^rtt/ { printf "%.2f\n", $5; ok = 1 } END { if (!ok) print "FAIL" }'); (( $(awk 'BEGIN {print ("'$rtt'" <= "'$drtt'")}') )) && echo -e "$a\t$rtt"; done; }
@PantherJohn
PantherJohn / apstats.md
Last active May 15, 2019
AP Statistics Checklist
View apstats.md

Following is an outline of the major topics covered by the AP Statistics Exam. The ordering here is intended to define the scope of the course but not necessarily the sequence. The percentages in parentheses for each content area indicate the coverage for that content area in the exam.

I. Exploring Data: Describing patterns and departures from patterns (20%–30%)

Exploratory analysis of data makes use of graphical and numerical techniques to study patterns and departures from patterns. Emphasis should be placed on interpreting information from graphical and numerical displays and summaries.

A. Constructing and interpreting graphical displays of distributions of univariate data (dotplot, stemplot, histogram, cumulative frequency plot)

  • 1. Center and spread
  • 2. Clusters and gaps
  • 3. Outliers and other unusual features
  • 4. Shape
@PantherJohn
PantherJohn / compile.sh
Created Apr 21, 2019 — forked from bigtan/compile.sh
shadowsocks-libev static build
View compile.sh
apt-get update && apt-get install build-essential automake autoconf libtool git clang -y && export CC=clang
ver=2.6.0
wget --no-check-certificate https://tls.mbed.org/download/mbedtls-$ver-gpl.tgz
tar zxf mbedtls-$ver-gpl.tgz
cd mbedtls-$ver
sed -i "s/DESTDIR=\/usr\/local/DESTDIR=\/projects\/dists\/mbedtls/g" Makefile
LDFLAGS=-static make install
cd ..
You can’t perform that action at this time.