This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const rows = []; | |
const filteredRows = []; | |
for (let i = 0; i < 100; i++) { | |
rows.push({ | |
text: "I'm a row!", | |
id: (i * 1000).toString(32), | |
}); | |
} | |
const DEFAULT_BATCH_SIZE = 15; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if tmux list-sessions ; then | |
tmux new-window "bash -c \"export STARTUP_DIRT=$(pwd); zsh\"" | |
tmux a | |
else | |
tmux new-session "bash -c \"export STARTUP_DIRT=$(pwd); zsh\"" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.arcticlight.minesweeper | |
import scala.collection.mutable | |
import scala.io.StdIn | |
/** | |
* Created by bogos on 12/13/2016. | |
*/ | |
object Minesweeper { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.arcticlight.cs.databases | |
import me.arcticlight.animations.Eases | |
import me.arcticlight.animations.ScalaTween.{Animatable, AnimationTarget, ParTimeline, SeqTimeline, Tween} | |
import me.arcticlight.animations.ScalaTween.DefaultInterpolations._ | |
import me.arcticlight.cs.databases.Animatables.Color | |
import me.arcticlight.cs.databases.Animatables.StockAnimations.TDelay | |
import processing.core.{PGraphics, PShape} | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.arcticlight.cs.databases | |
import me.arcticlight.animations.Eases | |
import scala.languageFeature.implicitConversions | |
import me.arcticlight.animations.ScalaTween._ | |
import me.arcticlight.cs.databases.Animatables.PVectorIsVectorLike | |
import me.arcticlight.animations.ScalaTween.DefaultInterpolations._ | |
import me.arcticlight.cs.databases.Animatables.Color | |
import processing.core.{PConstants, PGraphics, PVector} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////// | |
// TOP SECRET METEORCODE ENGINEERING BULLSHIT -- DO NOT STEAL // | |
// (c) Hawk Weisman, all rights reserved 'n' stuff // | |
/////////////////////////////////////////////////////////////////////// | |
type Payload: Map[String,Object] | |
abstract class Event ( | |
protected val payload: Payload, | |
protected var valid: Boolean = true | |
) extends (Payload)(prefunc: (Payload) => Boolean = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var unbound = function() { | |
console.log(this.seven); | |
} | |
unbound(); //Nothing: seven isn't defined. | |
var ThisIsSeven = { | |
"seven": 7 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a snippet that may or may not eventually make it live to my wobsite. | |
// This is the shortest code I currently know how to write that triggers my | |
// in/out animations correctly on toggle - every time - in the browser. | |
// The "Every Time" bit is the hardest bit. | |
function toggleReq() { | |
requirementsOpen = !requirementsOpen; | |
if(requirementsOpen) { | |
req.style.height=document.getElementById("reqcontent").offsetHeight+8+"px"; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int lastS; | |
float munge; | |
void setup() { | |
size(300,300); | |
lastS = second(); | |
munge = 0; | |
} | |
void draw() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* USL - Useless Stack Language | |
*/ | |
import scala.collection.mutable | |
object USL { | |
/******************** | |
* Handling USL Data | |
********************/ |
NewerOlder