Skip to content

Instantly share code, notes, and snippets.

💭
this is not a socal platform, what even

Leonora Tindall NoraCodes

💭
this is not a socal platform, what even
Block or report user

Report or block NoraCodes

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
@NoraCodes
NoraCodes / dropsniff.py
Created Nov 23, 2018
Python script to listen for and dump info on Dropbox sync sessions
View dropsniff.py
#! /usr/bin/env python3
import socketserver
import json
import datetime
import sys
import getopt
known_hosts = {}
QUIET = False
@NoraCodes
NoraCodes / upload.sh
Created Jul 2, 2018
Script to upload things to Google Cloud Storage via OAuth bearer token
View upload.sh
!/bin/bash
set -e
usage () {
echo "Usage:"
echo " upload.sh [object] [bucket] [OAuth bearer token]"
}
[ -z "$1" ] && echo "ERROR: No local object name supplied." && usage && exit 1
@NoraCodes
NoraCodes / update-website.sh
Created Mar 26, 2018
Auto-update Cron job for leotindall.com
View update-website.sh
#!/bin/bash
set -e
# Enter the correct directory
cd ~/leotindall.com
# Get the current hash
OLD_ID=$(git rev-parse HEAD)
# Update the Git repo
git pull origin master
# Get the new hash. These will be the same if no changes were pulled.
@NoraCodes
NoraCodes / gogs.log
Created Mar 17, 2018
Gogs bus error!
View gogs.log
2018/03/17 00:02:47 [TRACE] CSRF Token: wdQKEuNtsm5y3e9LVcX2dqHz9J86MTUyMTI0NDk2NzUwNDU5NzY1Ng==
2018/03/17 00:03:07 [TRACE] Detected encoding: UTF-8 (fast)
2018/03/17 00:04:00 [TRACE] Template: repo/home
2018/03/17 00:05:42 [TRACE] Doing: MirrorUpdate
2018/03/17 00:06:33 [TRACE] Session ID: bb8e5fa9c54b3597
2018/03/17 00:06:33 [TRACE] CSRF Token: weRrgVR3UOU7MLYD4m5w1MiWhTc6MTUyMTI0NTE5MzU5OTM0MTc4MA==
2018/03/17 00:06:44 [TRACE] Template: repo/commits
2018/03/17 00:08:04 [TRACE] Session ID: ec81973c58f48efe
2018/03/17 00:08:04 [TRACE] CSRF Token: ETWb5YGr3ZZeU9E9z5ZZ0iMn6_Q6MTUyMTI0NTI4NDAwNTI0MDEwMA==
2018/03/17 00:08:04 [TRACE] Template: user/profile
@NoraCodes
NoraCodes / esp8266_scan.ino
Last active Nov 4, 2018
Network scanner on ESP8266
View esp8266_scan.ino
/**
* ESP8266 Scanner - Scans for networks on the 2.4GHz band and prints them out to the console.
* Program it onto your ESP8266, pull up miniterm, the Serial Monitor, etc, and view a list of
* wireless networks on your computer.
* Requres Arduino JSON (http://arduinojson.org/), downloadable from Library Manager or GitHub.
* Or, set OUTPUT_JSON and consume the serial output with your favorite JSON parser.
*
* Created by Leo Tindall in 2017 for the ESP8266.
* This software is licensed under the GNU General Public License, Version 3.0.
*/
@NoraCodes
NoraCodes / work_queue.rs
Last active Mar 4, 2019
An example of a parallel work scheduling system using only the Rust standard library
View work_queue.rs
// Here is an extremely simple version of work scheduling for multiple
// processors.
//
// The Problem:
// We have a lot of numbers that need to be math'ed. Doing this on one
// CPU core is slow. We have 4 CPU cores. We would thus like to use those
// cores to do math, because it will be a little less slow (ideally
// 4 times faster actually).
//
// The Solution:
@NoraCodes
NoraCodes / leotindall.com.report.md
Created Aug 25, 2017
leotindall.com Security Report
View leotindall.com.report.md

Security Status Report

leotindall.com

Motivation

At 11:32 AM Central time I noticed that my personal web presence, identified by DNS address leotindall.com, with IP addresses 173.255.253.173 and 2600:3c01::f03c:91ff:fe3e:12c3, was not accessible via the Beloit College network. When that address was sent a HTTP GET request on port 80, the response was not the Hugo-generated static page I expected, but rather a minimal page informing me that the web page was blocked due to "malware".

I spoke to Tim Tyler, the Beloit College network engineer, at about 1:07 PM. He added a firewall rule bypassing the block, which allowed us to verify that the school's Palo Alto Networks firewall was, in fact, the reason for the block.

After several minutes of attempting to determine a cause for the block. I mentioned that he server runs a Tor exit node. Mr. Tyler told me that was probably the reason for the block. In order to ensure that there was no other cause, I am putting together this report in order to narrow the

@NoraCodes
NoraCodes / website-update.sh
Last active Jul 29, 2017
Update a statically generated Hugo site from a Git repository, checking for changes hourly.
View website-update.sh
#!/bin/bash
set -e
# Enter the correct directory
cd ~/leotindall.com
# Update the Git repo
OLD_ID=$(git rev-parse HEAD)
git pull origin master
NEW_ID=$(git rev-parse HEAD)
@NoraCodes
NoraCodes / turing_drawings.txt
Last active Nov 6, 2018
Cool Turing Drawing images
View turing_drawings.txt
Some Polygons (still)
http://maximecb.github.io/Turing-Drawings/#4,2,3,1,3,3,1,2,2,1,0,0,1,0,1,1,2,3,1,0,2,1,1,0,1,2
Moving Shapes (flashing)
http://maximecb.github.io/Turing-Drawings/#4,3,3,2,3,0,2,3,2,1,3,0,1,0,2,1,2,2,2,0,1,1,3,0,2,1,2,2,0,0,1,0,1,2,3,2,2,0
Slashing Noise (flashing)
http://maximecb.github.io/Turing-Drawings/#3,8,0,1,1,1,3,1,1,6,3,1,7,3,1,3,0,1,1,1,2,4,2,1,7,2,1,4,1,1,1,3,1,4,0,1,6,1,2,4,3,2,7,2,1,7,2,2,2,1,1,6,1,0,2,0,0,2,1,2,2,3,1,2,2,2,1,1,2,7,2,1,4,0
Logarithmic Slide (smooth)
View keybase.md

Keybase proof

I hereby claim:

  • I am noracodes on github.
  • I am lfstindall (https://keybase.io/lfstindall) on keybase.
  • I have a public key ASDPVOLEYOVU2GJ8igFZ2Iyb_CuFiYTXiubc7huxZ1Mzrwo

To claim this, I am signing this object:

You can’t perform that action at this time.