<dev one> [7:20 PM]
yes!
go code immediately injects into the brain, no need to even read it 🙂
what a lovely language
[7:20 PM]
import Data.List (replicate) | |
main = getContents >>= (\x -> putStr (proc 0 x)) | |
space = ' ' | |
newline = '\n' | |
isOpening = \c -> case c of | |
'[' -> True | |
'{' -> True |
### Keybase proof | |
I hereby claim: | |
* I am scravy on github. | |
* I am scravy (https://keybase.io/scravy) on keybase. | |
* I have a public key ASDeIpZp4Noqd8mYAEpKe4FGE0opfrjJK1SoWGZsGE_xrAo | |
To claim this, I am signing this object: |
# tested on macOS, required GNU Parallel (`brew install parallel`) | |
src/test/test_unite --list_content 2>&1 | \ | |
grep -v -F ' ' | \ | |
awk '{ print "src/test/test_unite --run_test=" $0 " > /dev/null 2>&1 && echo - [x] " $0 " || echo - [ ] " $0 }' | \ | |
parallel -j 0 bash -c 2> /dev/null | \ | |
sort |
<dev one> [7:20 PM]
yes!
go code immediately injects into the brain, no need to even read it 🙂
what a lovely language
[7:20 PM]
Java:
class Person {
private String firstName;
private String lastName;
public String getDisplayName() {
return firstName + " " + lastName;
}
package com.simplaex.gist | |
import java.util.Objects | |
object ToString { | |
trait Formattable { | |
override def toString: String = { | |
val sb = new StringBuilder | |
for (field <- getClass.getDeclaredFields if !field.isSynthetic) { |
import java.util.concurrent.Executors | |
import scala.concurrent.{ExecutionContext, Future} | |
object Main extends App { | |
val executorService = Executors.newFixedThreadPool(5) | |
implicit val executionContext: ExecutionContext = ExecutionContext.fromExecutorService(executorService) |
package aufgabe1; | |
import java.util.ArrayList; | |
import java.util.Collections; | |
import java.util.List; | |
import java.util.Random; | |
import java.util.concurrent.Callable; | |
public class MinMax<T extends Comparable<T>> { |
{-# LANGUAGE Haskell2010 | |
, FlexibleContexts | |
#-} | |
{-# OPTIONS -Wall #-} | |
module Main where | |
import Control.Monad | |
import Control.Monad.ST | |
import Data.List |
JAVAHOME=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home | |
swing: swing.c StartAWT.class | |
gcc -Wall -pedantic --std=c99 swing.c -ljvm \ | |
-L$(JAVAHOME)/jre/lib/server \ | |
-I$(JAVAHOME)/include \ | |
-I$(JAVAHOME)/include/darwin \ | |
-o $@ | |
install_name_tool -add_rpath $(JAVAHOME)/jre/lib/server $@ |