Skip to content

Instantly share code, notes, and snippets.

View raleighlittles's full-sized avatar

Raleigh Littles raleighlittles

View GitHub Profile
@raleighlittles
raleighlittles / SuperBowl-Squares.md
Created October 11, 2022 05:49
Script for generating results of Superbowl Squares score analysis
@raleighlittles
raleighlittles / instagram-data-parser.md
Created June 22, 2022 05:14
A simple tool for analyzing your like behavior and viewing activity on Instagram

About

This tool uses your Instagram data to visualize which accounts you interact with most. When you do an export of your Instagram data, every post & comment you liked, as well as every post & video you've viewed, are recorded. This tool simply analyzes that and produces a simple report:

Usage

To use this tool, you obviously first need to download your Instagram data.

Once the data is downloaded, extract it, and move any of the following HTML files to this location:

@raleighlittles
raleighlittles / procore_interview.rb
Last active August 16, 2024 03:02
Procore Interview
require 'rspec/autorun'
=begin
You are a Pokemon, hooray!
Pokemon have it tough though. Every day in the field of battle they are susceptible to dangerous status effects. Some status effects are stronger than others.
You can only be under the effects of one status effect at any time. That depends on the ranking of the status effect.
In our case, the status effect hierarchy is as follows:
Sleep > Paralyze > Confusion
@raleighlittles
raleighlittles / gist:d3609a0d33f94f7d0d644b7ab0b8aa8d
Created April 6, 2017 22:16
[MATLAB] "SEND NUDES" in Rainbow colors
figure('units','normalized','position',[.1 .1 .4 .4])
tic;
res = 40;
Ah = [linspace(1,4,res),linspace(5,8,res),linspace(30,33,res),linspace(34,37,res)];
Av = linspace(8,8,4*res);
for i=1:4*res
axis([0 40 0 5])
p = plot(Ah(i),Av(i)/2,'.','markersize',30);