I hereby claim:
- I am thatwist on github.
- I am twist522 (https://keybase.io/twist522) on keybase.
- I have a public key ASAtWVnpEzz3VRtNWYMRv-m-efc1Cl2g88_8iXASBf2pUQo
To claim this, I am signing this object:
import java.util.concurrent.RecursiveTask; | |
import java.util.concurrent.ForkJoinPool; | |
import java.util.Collection; | |
import java.util.LinkedList; | |
import java.util.List; | |
public interface Node { | |
Collection<Node> getChildren(); | |
long getValue(); |
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |
/******************************************************************/ | |
/* */ | |
/* Dodatok do kyrsovoji robotu "Gramatuku peredyvannja". */ | |
/* Programa realizyje algorutm 'perenos-zfortka' */ | |
/* perevirjaje nalezhnist' vvedenoji */ | |
/* stri4ku do zadanoji gramatuku. */ | |
/* */ | |
/******************************************************************/ | |
#!/usr/bin/env bash | |
wget --no-cookies \ | |
--no-check-certificate \ | |
--header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
"http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/jdk-8u162-linux-arm64-vfp-hflt.tar.gz" \ | |
-O jdk-8u162-linux-arm64.tar.gz | |
tar -xzvf jdk-8u162-linux-arm64.tar.gz | |
sudo mkdir /usr/lib/jvm |
trait SolutionDef { self: DictionaryDef with DebugDef => | |
/* | |
* based on the example included: | |
* 866-5548 -> tool-kit | |
* the assumption is made that '-' symbol position doesn't matter | |
* and it's not a word divider | |
* e.g. any of those groups of numbers can make up a final sequence of words: | |
* 86 65548, 86665 548, 86 655 48, etc. | |
* | |
* here is no phone number format specified as every coutry has its own |
import scala.annotation.tailrec | |
import scala.collection.parallel.mutable | |
object Solution extends App { | |
def isPalindrome(n: Int): Boolean = { | |
var num = n | |
//reversing number | |
var rev = 0 | |
var rmd = 0 |
I hereby claim:
To claim this, I am signing this object:
object Projections { | |
object MapUtils { | |
implicit class MapWithGetAsInstanceOf[A](map: Map[A, Any]) { | |
/** get by key and cast to T, exception if cannot cast */ | |
def getAs[T](key: A): Option[T] = map.get(key).asInstanceOf[Option[T]] | |
} | |
} |
import scala.annotation.tailrec | |
object App1 extends App { | |
import Romans._ | |
assert(resolveRoman(3999) == "MMMCMXCIX") | |
assert(resolveRoman(0) == "—") | |
def read(): Unit = { |