Skip to content

Instantly share code, notes, and snippets.

View lenadroid's full-sized avatar

Lena lenadroid

View GitHub Profile
@lenadroid
lenadroid / gist:c6f4e1c6088fc159f21a
Last active August 29, 2015 14:02
Positioning for Heather
<!DOCTYPE html>
<html>
<head>
<title>Hello World</title>
</head>
<body>
<div id="parent">
<canvas id="div1">
</canvas>
@lenadroid
lenadroid / index.html
Last active August 29, 2015 14:02
Heather index.html
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html ng-app>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Heather - Home</title>
<meta name="description" content="Heather">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@lenadroid
lenadroid / index.css
Created June 25, 2014 07:36
Heather index.css
div#parent
{
position : relative;
z-index: 1000;
}
#canvas
{
width: 100%;
@lenadroid
lenadroid / default.css
Created June 25, 2014 07:37
Heather default.css
body
{
color : rgb(51,51,51);
margin : 0px auto 0px auto;
width : 80%;
font-size : 16px;
font-family : "Helvetica Neue Light","Helvetica Neue","Helvetica", sans-serif;
font-weight : 300;
line-height : 1.5em;
overflow-x : hidden;
@lenadroid
lenadroid / keybase.md
Created October 1, 2014 07:28
keybase.md

Keybase proof

I hereby claim:

  • I am lenadroid on github.
  • I am lena (https://keybase.io/lena) on keybase.
  • I have a public key whose fingerprint is AF16 75CE E1F9 00DF 2654 415F 6C48 4014 8BF8 DCA8

To claim this, I am signing this object:

A First Course in Probability
http://www.amazon.com/First-Course-Probability-9th-Edition/dp/032179477X
Probability Theory: The Logic of Science
http://www.amazon.com/Probability-Theory-The-Logic-Science/dp/0521592712
Probability for Statistics and Machine Learning: Fundamentals and Advanced Topics
http://www.amazon.com/Probability-Statistics-Machine-Learning-Fundamentals/dp/B00E6TK8P8/ref=sr_1_2?s=books&ie=UTF8&qid=1420291747&sr=1-2&keywords=Probability+for+Statistics+and+Machine+Learning%3A+Fundamentals+and+Advanced+Topics
@lenadroid
lenadroid / Borshtch
Last active December 3, 2018 09:33
How to cook Borshtch
Ingredients:
2 stewpans - one is main = 5 litres, second is for beet
potatoes - 12 items of average size, neither big nor small
beet - 4 items of average size
meat - a piece of pork without fat, size about 10x17x7 santimeters
@lenadroid
lenadroid / fsharp-in-the-cloud.fsx
Last active August 29, 2015 14:19
F# in the cloud
let maxContentLength = cloud {
let lengthsJob = [| "https://github.com";"http://www.microsoft.com/"|]
|> Array.map (getContentLength >> Cloud.OfAsync)
let! lengths = Cloud.Parallel lengthsJob
return Array.max lengths
}
@lenadroid
lenadroid / getContentLength.fsx
Last active August 29, 2015 14:19
F# in the cloud
let getContentLength (url : string) = async {
let request = HttpWebRequest.Create(url)
let! response = request.AsyncGetResponse()
return response.ContentLength
}
@lenadroid
lenadroid / cloudblock.fs
Created May 12, 2015 16:03
Cloud block
cloud { (* code logic *) }