$ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
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
// file: src/multi-jvm/scala/SupervisortClusterEventsSpec.scala | |
// | |
// Required properly multi-jvm setup: | |
// http://doc.akka.io/docs/akka/snapshot/scala/cluster-usage.html#How_to_Test | |
// | |
// based on example from akka docs | |
import scala.collection.mutable | |
import scala.concurrent.duration._ | |
import org.scalatest.{ Suite, BeforeAndAfterAll, FlatSpecLike, Matchers } |
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
Dr. Harry Thomas <acct.contfarmkalimantan@___.com> | |
Д-р Томас Гарри Brondesbury, Северо-Запад Лондон, Англия | |
Дорогой друг. | |
Я доктор Гарри Томас из Brondesbury, Северо-Запад Лондон, здесь, в Англии. Я | |
работаю на UBS Investment Bank London. Я пишу вам о бизнес-предложение, | |
которое будет из огромную пользу для нас обоих. В моем отделе, в качестве |
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
[info] +-com.typesafe.play:play-ahc-ws-standalone_2.11:1.0.0-M4 [S] | |
[info] | +-com.typesafe.play:cachecontrol_2.11:1.1.2 [S] | |
[info] | | +-joda-time:joda-time:2.7 (evicted by: 2.9.6) | |
[info] | | +-joda-time:joda-time:2.9.6 | |
[info] | | +-org.joda:joda-convert:1.7 | |
[info] | | +-org.scala-lang.modules:scala-parser-combinators_2.11:1.0.5 [S] | |
[info] | | +-org.slf4j:slf4j-api:1.7.22 | |
[info] | | | |
[info] | +-com.typesafe.play:play-ws-standalone_2.11:1.0.0-M4 [S] | |
[info] | | +-com.typesafe.akka:akka-stream_2.11:2.4.14 [S] |
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
import scala.annotation.tailrec | |
@tailrec | |
def nextStep( | |
iter: Iterator[Int], someAcc: List[Int]): (Stream[Int], Iterator[Int], List[Int]) = { | |
if (iter.hasNext) { | |
val i = iter.next() | |
// emulate some window function computation | |
val newAcc = (i / 2) :: someAcc | |
val windowValue = newAcc.sum |
Based on homebrew formula
Build dependencies:
brew install freetype gettext irrlicht jpeg libogg libvorbis luajit cmake
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
package main | |
import "fmt" | |
type Resulter interface { | |
GetResult() string | |
} | |
type DefaultResulter struct { | |
Resulter |
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
-- file: ~/.hammerspoon/init.lua | |
-- https://www.hammerspoon.org/ | |
-- | |
-- Bring Bitwarden to front and focus on search field | |
-- Required accessability to be enabled in Hammerspoon & System preferences | |
function launch_bitwarden_search() | |
hs.application.launchOrFocus("Bitwarden") | |
local app = hs.appfinder.appFromName("Bitwarden") | |
if (app ~= nil) then | |
local activated = app:activate(true) |
OlderNewer