- 50 grams warm water
- 7.5 grams yeast
- 2.5 grams sugar
- 500 grams bread flour
- 10 grams salt
- 300 grams cold water
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
# Write a method mode which takes an Array of numbers as its input and returns | |
# an Array of the most frequent values. | |
# If there's only one most-frequent value, it returns a single-element Array. | |
# For example, | |
# mode([1,2,3,3]) # => [3] | |
# mode([4.5, 0, 0]) # => [0] | |
# mode([1.5, -1, 1, 1.5]) # => [1.5] |
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
# Implement a method called times_table which takes as its input an | |
# integer and prints out a times table with that number of rows. | |
# The numbers can be separated by any spaces or tabs, but each row must | |
# be on a new line. This means it's ok if the columns don't line up. | |
# For example, times_table(5) should print the following out to the screen: | |
# 1 2 3 4 5 | |
# 2 4 6 8 10 |
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 sorter(array) | |
working = array.clone | |
self.rec_sort(working, []) | |
end | |
def rec_sort(unsorted, sorted) | |
while unsorted.length > 0 | |
value = unsorted.inject do |first, second| | |
first < second ? first : second | |
end |
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
<!doctype html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css"> | |
<link rel="stylesheet" href="main.css"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800"> | |
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900"> | |
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css"> | |
</head> |
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
<script src="zoo.js"></script> |
stammarama
I hereby claim:
- I am astamm78 on github.
- I am stammarama (https://keybase.io/stammarama) on keybase.
- I have a public key ASDll2TMvzigbMNY5uTRVQsf2uuqmZjPUn3dfmd0vVc7iAo
To claim this, I am signing this object: