Instantly share code, notes, and snippets.

🎸
Bitchin'

# Jared HillierPantherJohn

🎸
Bitchin'
• Sort options
Last active Jul 25, 2019
Last active Jul 14, 2019
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; }
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)

• 2. Clusters and gaps
• 3. Outliers and other unusual features
• 4. Shape
Created Apr 21, 2019 — forked from bigtan/compile.sh
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 ..
Last active Apr 4, 2019
View Jsoca
 #!/bin/sh INTERFACE=\$(networksetup -listnetworkserviceorder | awk -F'\\) ' '/\(1\)/ {print \$2}') ADDRESS=localhost; PORT=1080 if networksetup -getsocksfirewallproxy \${INTERFACE} | grep -q "Yes"; then networksetup -setsocksfirewallproxystate \${INTERFACE} off osascript -e 'display notification "eLitet JSOCA disconnected" with title "eLitet Service" sound name "default"' ;; else networksetup -setsocksfirewallproxy \${INTERFACE} \${ADDRESS} \${PORT} on
Last active Mar 24, 2019
POSIX-compatible DNS lookup function
View gethostbyname.sh
 gethostbyname() { for d in \$@; do address=\$(nslookup \$d | awk -F: '/Name.*/ { flag = 1; next } /Address.*/ && flag { print \$NF }' | awk '{ print \$1 }') echo \${address:-\$d} done }
Last active Jan 27, 2019
View regex_demo.cpp
 #include #include #include #include int main() { std::string str("server\t\n{ a = 5; b ={ a } c = what; } \nisthatthe{ case; }"); //str.erase(remove_if(str.begin(), str.end(), isspace), str.end());
Created Jan 21, 2019
View sysctl.conf
 # # Aghostd Universal # ElitetNode Server QuarProxy Service # - Optimized Configuration # # (c) Elitet Inc. 2018-2019 # Jared Hillier, Lindsay J. Gibson # # sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
Created Jan 3, 2019 — forked from javiermon/gateway_netlink.c
get default gateway