I hereby claim:
- I am bjartek on github.
- I am bjartek (https://keybase.io/bjartek) on keybase.
- I have a public key whose fingerprint is 0CD3 4721 3562 EE8A 9205 F962 E67C 99A5 626B 2F3A
To claim this, I am signing this object:
val input = "..*\n...\n*.."; | |
val grid = input.split("\n").map(_.toArray) | |
def bomb(coord: Tuple2[Int,Int]) = { | |
for{ | |
row <- grid.lift(coord._1) | |
cell <- row.lift(coord._2) | |
if(cell == '*') | |
} yield 1 |
class MineSweeper(val input:String) { | |
val grid = input.split("\n").map(_.toArray) | |
def isCellBomb(cell: Tuple2[Int,Int]) = { | |
for{ | |
row <- grid.lift(cell._1) | |
cell <- row.lift(cell._2) | |
if(cell == '*') | |
} yield 1 | |
} |
class MineSweeper(val input:String) { | |
val grid = input.split("\n").map(_.toArray) | |
def isCellBomb(cell:(Int, Int)) = { | |
for{ | |
row <- grid.lift(cell._1) | |
cell <- row.lift(cell._2) | |
if(cell == '*') | |
} yield 1 | |
} |
# [Created by task 1.9.4 4/26/2011 23:22:06] | |
# Taskwarrior program configuration file. | |
# For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq', | |
# 'man task-tutorial', 'man task-color', 'man task-sync' or 'man taskrc' | |
# Here is an example of entries that use the default, override and blank values | |
# variable=foo -- By specifying a value, this overrides the default | |
# variable= -- By specifying no value, this means no default | |
# #variable=foo -- By commenting out the line, or deleting it, this uses the default |
KNEKKEBRØD | |
2dl havrekli | |
2dl kruskakli | |
2dl havregryn ( jeg bruker lettkokte) | |
2dl sesamfrø | |
2dl solsikkefrø | |
2dl sammalt rug grov | |
2dl linfrø | |
2-3 ts salt | |
2-3 ss olje |
Env: | |
Mac os X: 10.7.3 | |
Mongo DB: 2.0.4 installed from homebrew | |
~> mongo test | |
MongoDB shell version: 2.0.4 | |
connecting to: test | |
> db.test.find() | |
{ "_id" : ObjectId("4f7e0d7797e8f440983dfc70"), "testdate" : ISODate("1969-12-31T23:59:59.900Z") } | |
> exit |
I hereby claim:
To claim this, I am signing this object:
Lets say we have an group in our organization that is called workflow. They have an application called ticket that they want to deploy into several environemnts for different kinds of testing. These environments are called st and at.
Lets say you have a DeploymentConfig that is running two containers. | |
- a nginx container with static content | |
- a nodejs container | |
Both of these containers are deployed with the same version. | |
How do you ensure that they are always delpoyed with the same version? | |
If you use ImageChangeTriggers on both of them then will there not be a small time where one of them can run another version then the other? |
Step 2/2 : RUN microdnf install --nodocs jre-10-headless && microdnf clean all | |
---> Running in d35a2925581d | |
Downloading metadata... | |
Downloading metadata... | |
Package Repository Size | |
Installing: | |
copy-jdk-configs-3.3-9.fc28.noarch updates 25.4 kB | |
findutils-1:4.6.0-19.fc28.x86_64 updates 539.1 kB | |
freetype-2.8-10.fc28.x86_64 fedora 392.9 kB | |
java-1.8.0-openjdk-headless-1:1.8.0.171-4.b10.fc28.x86_64 updates 33.4 MB |