WARNING This list outdated, for the up to date version visit https://haskellcosm.com
Types of work:
- RD - research&development
- PR - product
- IP - in-house product
- CO - consulting
<!-- Example of Akka/Spring integration --> | |
<beans> | |
<!-- Create an active object --> | |
<akka:active-object id="myActiveObject" | |
target="com.biz.MyPOJO" | |
transactional="true" | |
timeout="1000" /> | |
import scala.collection.mutable.ListBuffer | |
import akka.actor.{Actor,ActorRef} | |
import akka.actor.Actor._ | |
import akka.routing.{ Listeners, Listen } | |
//Represents a domain event | |
trait Event | |
//A builder to create domain entities | |
trait EntityBuilder[Entity] { |
package com.fourseasonszoo.niboshi | |
import com.sun.syndication.io._ | |
import com.sun.syndication.feed.synd._ | |
import scala.collection.JavaConverters._ | |
import org.scala_tools.time.Imports._ | |
import scalax.io._ | |
import java.io.StringWriter | |
object Main extends App { |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
*** /Users/viktorklang/.oh-my-zsh/plugins/git/git.plugin.zsh.old Fri May 10 18:07:33 2013 | |
--- /Users/viktorklang/.oh-my-zsh/plugins/git/git.plugin.zsh Fri May 10 18:05:49 2013 | |
*************** alias gcount='git shortlog -sn' | |
*** 14,19 **** | |
--- 14,21 ---- | |
alias gcp='git cherry-pick' | |
alias glg='git log --stat --max-count=5' | |
+ alias grm='git branch -D' | |
+ |
WARNING This list outdated, for the up to date version visit https://haskellcosm.com
Types of work:
/* | |
The code below is not intended to be a general purpose approach, but rather a | |
simple CmdHandler / EventHandler model prototype that illustrates a concept of | |
how to share an Eventsourced Processor stream among many child actors of | |
same type. | |
Snapshotting is important for children in order to get quick start up and avoid | |
filtering too many sibling events. |
Are you a passionate web developer who wears skinny jeans, checks Foursquare before heading out & loves developing in Python and/or Javascript (or other languages you love)? We are looking for you!
We are Second Funnel - a small, growing startup making the web more visually interesting & relevant. We believe advertising currently sucks and it can be made awesome. How? Through visual content that peeks your curiousity & leads to more related and interesting content (think: Pinterest meets marketing).
import Debug | |
import Graphics.Input as Input | |
import Html | |
import Html (..) | |
import Html.Attributes (..) | |
import Html.Events (..) | |
import Html.Tags (..) | |
import Http | |
import Window |
time kubectl run --command --rm -i --tty java --image=java --restart=Never --overrides='{ "apiVersion": "extensions/v1beta1", "spec":{"template":{"spec": {"containers":[{"name":"java","image":"java", "imagePullPolicy":"Always"}]}}}}' -- uptime |