Skip to content

Instantly share code, notes, and snippets.

View jordanorelli's full-sized avatar
👾

Jordan Orelli jordanorelli

👾
View GitHub Profile
@jordanorelli
jordanorelli / got-s7e1.md
Last active February 25, 2018 20:02
GoT predictions before Season 7 premiere

I'm writing this off the top of my head the day that Season 7 premieres. I haven't used any reference materials, I'm just jotting down my pre-season predictions so that I can review them at the end of the season.

  • Daenerys will likely be instrumental in fighting the walkers. She'll be seen as a hero in season 7 but she's actually the final boss of season 8 and therefore the series.
  • Daenerys will go mad with power and become the season 8 villain.
  • Bran is named after Bran the Builder because Bran the Builder is Bran, because of time travel.
This file has been truncated, but you can view the full file.
Symbols:
0 CBodyComponentBaseAnimating
1 CEntityIdentity
2 CPhysicsComponent
3 CRenderComponent
4 CBaseAnimating
5 CAnimationLayer
6 CBodyComponentBaseAnimatingOverlay
7 CBaseAnimatingOverlay
8 CEconItemAttribute
@jordanorelli
jordanorelli / ydiff
Last active July 22, 2019 13:05
diff yaml trees semantically
#!/usr/bin/env ruby
# diffs the contents of yaml files semantically. that is, ydiff will parse each
# yaml file and then diff their resulting trees, instead of attempting to diff
# the text. it's specifically for comparing directories of translations from
# Crowdin, so it's effectively only concerned with strings.
require 'pathname'
require 'rubygems'
require 'yaml'
package main
import (
"flag"
"fmt"
"net/http"
"net/http/httputil"
"os"
"time"
)
package main
import (
"flag"
"fmt"
)
var options struct {
s string
i int
mikef1996: tell me something did you beleave me about what i told you ?
scraps: what do you mean?
mikef1996: when those two people killed you
scraps: eh? I definitely killed one of them, I was pretty sure I had killed both of them.
scraps: I was looting one of their bodies when I died.
mikef1996: you said in rust chat that all three of us were tricking you
scraps: eh, I still haven't figured out if you were in on it.
mikef1996: i was they wonted to show me what it was like
scraps: hahahaha i figured as much.
scraps: you said you didn't pick anything up, then gave me back my shotgun
# sleepy flower girl
(◡ ‿ ◡ ✿)
# y u no
ლ(ಠ益ಠლ)
# smiling breasts
(^人^)
# flipping tables
global tempo
set tempo to 120
--establish quarter note delay time
global q
set q to 60 / tempo
--establish eighth note delay time
global e
set e to q / 2
@jordanorelli
jordanorelli / README.md
Last active April 3, 2021 15:31
Dot product

not sure what this is, I think I was trying to figure out what a dot product is

float rectSize = 30;
int numRects = 40;
float outerRadius = 120;
int aframes = 140;
boolean SAVE_FRAMES = true;
void setup() {
size(500, 500);
}