Skip to content

Instantly share code, notes, and snippets.

View mtbentley's full-sized avatar

Madison Bentley mtbentley

View GitHub Profile
### Keybase proof
I hereby claim:
* I am matthewbentley on github.
* I am bentley (https://keybase.io/bentley) on keybase.
* I have a public key whose fingerprint is E824 5601 5ED9 78F9 D739 E56D C786 C869 43E1 8598
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am matthewbentley on github.
* I am bentley (https://keybase.io/bentley) on keybase.
* I have a public key whose fingerprint is E824 5601 5ED9 78F9 D739 E56D C786 C869 43E1 8598
To claim this, I am signing this object:
@mtbentley
mtbentley / waste.sh
Last active August 29, 2015 14:03
Waste bandwidth over SSH
#!/bin/sh
# This script exists solely to waste download bandwidth (and thus NSA storage
# space) over ssh. It starts listening with nc on port 2020, and simultaneously
# connects to a remote server and pipes random data over the ssh connection
# USAGE: waste.sh [-P] [-p port] [-f] <remote host>
# -P pipe the output through pv, to watch it real-time (doesn't seem to work yet)
# -f use /dev/frandom on remote host
# -p port a different port
TODO (code)
----
!!!! 2. Go though code and fix all TODOs
3. Lobby restricitons
4. AutoWin first game
5. Free $5 on account add
9. Feedback formDONE 10. Add info from PayPal to Profile
17. Minify js+css
19. CLEAN UP THE DIRECTORIES. THIS IS A MESS.
20. Add form for adding credits

Keybase proof

I hereby claim:

  • I am matthewbentley on github.
  • I am bentley (https://keybase.io/bentley) on keybase.
  • I have a public key whose fingerprint is 3553 0A74 FC09 7779 4656 616B 0A6C 4292 C27B 8863

To claim this, I am signing this object:

@mtbentley
mtbentley / logreader.pl
Created November 2, 2016 18:44
Log Reader. In perl
#!/usr/bin/perl
use warnings;
use strict;
my %misses = (); # hash of misses
my @found = (); # list of ip/hosts to ban
my $outstr = ""; # output string
my $threshold = 3;
README.Alexander Tryjankowski
# 23/02/2018
frontend: Create initial show_drops UI Flask templates
README.Brett Johnson
# 23/02/2018
backend: Add node initialization functionality
README.David Lance
# 23/02/2018
README.Alexander Tryjankowski
# 02/03/2018
frontend: Implement section for viewing files in a drop, Implement actions for each file that communicate with POST requests (open in OS file viewer/delete file) (#2)
# 23/02/2018
frontend: Create initial show_drops UI Flask templates
README.Brett Johnson
# 02/03/2018
backend: Add sign and verify dictionary functionality (#8)
#!/bin/ash
echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
apk update && apk upgrade && apk add python3 python3-dev gcc g++ py-zmq py-numpy py-scipy R make R-dev git octave
adduser -D jupyter -s /bin/ash
pip3 install jupyter oct2py rpy2
git clone https://github.com/ropensci/git2r.git &&\
R CMD INSTALL --configure-args="--with-libssl-include=/usr/lib/" git2r &&\

Keybase proof

I hereby claim:

  • I am matthewbentley on github.
  • I am bentleybot (https://keybase.io/bentleybot) on keybase.
  • I have a public key whose fingerprint is ACBA 054B B9FD 4757 A34E 68BE 358A 88C1 745A 86FC

To claim this, I am signing this object: