This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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; |
OlderNewer