Skip to content

Instantly share code, notes, and snippets.

@kzkaed
kzkaed / keybase.md
Last active February 13, 2019 14:26

Keybase proof

I hereby claim:

  • I am kzkaed on github.
  • I am kzkaed (https://keybase.io/kzkaed) on keybase.
  • I have a public key ASAfbei0QHAqp38KSCUDftnCvdosH5KW-bpc2Tgr6gcqIQo

To claim this, I am signing this object:

var currentImagePosition = 0
let images = ["Katherine_Johnson.jpg",
"Margaret_Hamilton.jpg",
"Grace_Hopper.jpg",
"Barbara_Liskov.jpg",
"Ellen_Ochoa.jpg",
"Latanya_Sweeney.jpg"]
func getNextImage() -> String {
(defn the-answer []
"Lisa")
(describe "life the universe and everything"
(it "has the answer"
(should= "Lisa" (the-answer))
class Hiker {
def answer(): String = {
return 42
}
}
class HikerSuite extends FunSuite {
test("the answer to life the universe and everything") {
val hiker = new Hiker
assert(hiker.answer() === (42))
public class Hiker {
public static String name() {
return "Diana";
}
}
public class HikerTest {
@Test
int[] numbers = { 90, 150, 30 };
@kzkaed
kzkaed / scala-var
Last active February 6, 2016 02:50
scala-variable
var name : String = "Kristin"
var number : Int = 2
var words : Array("run", "ball", "cat")
def name
name = "Erica"
end
describe "hiker" do
context "life the universe and everything" do
it "has a name" do
expect(name).to eq("Erica")
end
function theAnswer() {
return "Lisa";
}
describe("theAnswer", function() {
it("to life the universe and everything", function() {
expect(theAnswer()).toEqual("Lisa");
});
});
name = "Kristin"
number = 2
words = ["run", "ball", "cat"]