- Car glitch
- Glitcher steals a car, goes to their garage, walk in, walk out, parks that car outside bank
- Everyone else does not hit checkpoint, waits for glitcher to arrive
- Everyone hits checkpoint, enters bank
- Inside bank
- Kill everyone (causes SWAT van to spawn)
- HACKER grabs the money
- Crowd Control watches back stairs, kills guards that come out of door
- Regroup at front door
- HACKER RUNS TO THE VAULT: DOES NOT GO OUTSIDE
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
// TLDR: Oi, Barnes. We'll miss ya. Here's a grimy RNG in your honor. | |
// node oi.js or paste the below into your favorite browser's JS console. | |
// DEFCON CHALLENGE: Break this! | |
function millis() { return Date.now(); } | |
function flip_coin() { n=0; then = millis()+1; while(millis()<=then) { n=!n; } return n; } | |
function get_fair_bit() { while(1) { a=flip_coin(); if(a!=flip_coin()) { return(a); } } } | |
function get_random_byte(){ n=0; bits=8; while(bits--){ n<<=1; n|=get_fair_bit(); } return n; } | |
report_console = function() { while(1) { console.log(get_random_byte()); }} |
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
def cas(key: String, flags: Int, expiry: Time, value: Buf, casUnique: Buf): Future[JBoolean] = { | |
cas2(key, flags, expiry, value, casUnique).flatMap { | |
case Some(b) if b => JavaTrue | |
case Some(b) => JavaFalse | |
case None => JavaFalse | |
} | |
} | |
private[this] val SomeJTrue: Future[Option[JBoolean]] = Future.value(Some(true)) | |
private[this] val SomeJFalse: Future[Option[JBoolean]] = Future.value(Some(false)) |
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
#include<iostream> | |
using namespace std; | |
int main() | |
{ | |
bool prime = false; | |
int n; | |
int i = 2; |
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
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
float sum = 0; | |
int i; | |
for (i = 0; i < 5; i++) |
I hereby claim:
- I am slyphon on github.
- I am slyphon (https://keybase.io/slyphon) on keybase.
- I have a public key whose fingerprint is 540D 0F6B BB84 A4CA A39F 2FA5 EA31 6248 4543 75AA
To claim this, I am signing this object:
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
sealed abstract class BaseClass { | |
def name: String | |
def someData: Option[Int] | |
} | |
trait NamedThing extends BaseClass { | |
def name: String | |
} | |
trait WhatDoTheTypesSay[This <: NamedThing] { |
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
/etc | |
/usr/lib | |
/usr/bin | |
char | |
scala | |
java | |
cache | |
solaris | |
linux (strong no hire if gnu is mentioned) | |
gif |
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
/** | |
* Copyright 2013 Twitter, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
import java.io.{PrintWriter, OutputStreamWriter, BufferedOutputStream} | |
// copy given string to the mac clipboard by launching pbcopy in a subprocess | |
object Clipboard { | |
def pbcopy(string: String) { | |
val pb = new ProcessBuilder("/usr/bin/pbcopy") | |
val p = pb.start() | |
val stdin = new PrintWriter(new OutputStreamWriter(new BufferedOutputStream(p.getOutputStream))) | |
stdin.print(string) | |
stdin.close() |