I hereby claim:
- I am bradcypert on github.
- I am bradcypert (https://keybase.io/bradcypert) on keybase.
- I have a public key whose fingerprint is 0940 9F6C FF51 BEE4 D7CB 7AF2 16FB D744 2DCD 15A4
To claim this, I am signing this object:
function divide2(a,b,mid) { | |
let num = 0; | |
let middle = mid || a >> 1; | |
if (middle * b == a) { | |
return middle; | |
} else { | |
if (middle == 1) { | |
return 0; | |
} |
(ns sumofcubes.core) | |
(def TWO (BigDecimal. 2)) | |
(def SQRT_DIG (BigDecimal. 150)) | |
(def SQRT_PRE (.pow BigDecimal/TEN (.intValue SQRT_DIG))) | |
(def PRECISION (.divide BigDecimal/ONE SQRT_PRE)) | |
(def eight (BigDecimal. 8)) | |
(def neg-one (BigDecimal. -1)) | |
(def one BigDecimal/ONE) | |
(def half (BigDecimal. 0.5)) |
I hereby claim:
To claim this, I am signing this object:
abstract class Optionable<T> { | |
abstract value: T; | |
abstract get<T>(): any; | |
abstract getOrElse<U>(v: U): T | U; | |
abstract isEmpty(): boolean; | |
abstract isDefined(): boolean; | |
fold<B>(empty: () => B, nonEmpty: (value: any) => B): B { | |
if (this.isEmpty()) { | |
return empty(); | |
} |
function when(constraints) { | |
for(obj of constraints) { | |
var ths = obj['this']; | |
var d = obj['do']; | |
if (ths && typeof ths === "function" && d && typeof d === "function") { | |
var response = ths(); | |
if (response === true) return d() | |
} | |
} | |
} |
public final class Demo { | |
// access flags 0x11 | |
public final main()V | |
L0 | |
LINENUMBER 3 L0 | |
ICONST_4 | |
ANEWARRAY java/lang/Integer | |
DUP |
[ | |
{"name": "Absorb a dragon's soul"}, | |
{"name": "Return the golden claw to its rightful owner"}, | |
{"name": "Non-combat skill to level 40"}, | |
{"name": "Forge a greatsword and use it to kill an enemy"}, | |
{"name": "Obtain a dragon mask"}, | |
{"name": "Walk/Run/Ride from Whiterun to Solitude (or vice versa)"}, | |
{"name": "Serve your sentence in jail"}, | |
{"name": "Break out of jail"}, | |
{"name": "Kill an enemy after landing a ranged atack, a melee attack, and casting a spell on them."}, |
docker image rm -f github-api:v1 | |
docker build . --file dev.dockerfile --tag github-api:v1 | |
docker run -v ~/Projects/github-api:/usr/src/app -it github-api:v1 |
[ | |
{"name": "Refurbish the old bus"}, | |
{"name": "1 or more Golden Tools"}, | |
{"name": "Glittering Bundle Remove"}, | |
{"name": "Rebuild the bridge to the quarry"}, | |
{"name": "Dance with a date at the Flower Dance"}, | |
{"name": "Reach level 40 in the mines"}, | |
{"name": "Reach level 60 in the mines"}, | |
{"name": "5 Heart Relationship"}, | |
{"name": "Dunk the Mayor's short in the communal soup"}, |
import 'package:flutter/material.dart'; | |
final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { | |
@override |