Skip to content

Instantly share code, notes, and snippets.

Avatar
🎲
🗿✂️🗞

Nikolay Kushin zikolach

🎲
🗿✂️🗞
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am zikolach on github.
  • I am zikolach (https://keybase.io/zikolach) on keybase.
  • I have a public key ASAfEEyyEZRDJFpKvDY_Fguhkm9-6x1ic7y0w0Qfwa4P1go

To claim this, I am signing this object:

View AbruptTerminationExceptionExample.scala
import akka.actor.ActorSystem
import akka.event.Logging
import akka.http.scaladsl.Http
import akka.http.scaladsl.client.RequestBuilding._
import akka.http.scaladsl.unmarshalling.Unmarshal
import akka.stream.ActorMaterializer
import scala.concurrent.Await
import scala.concurrent.duration.Duration.Inf
View index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body style="background:#fff;">
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r82/three.min.js"></script>
<canvas id="canvas"></canvas>
<script id="jsbin-javascript">
View install_scala_sbt.sh
#!/bin/sh
# one way (older scala version will be installed)
# sudo apt-get install scala
#2nd way
sudo apt-get remove scala-library scala
wget http://www.scala-lang.org/files/archive/scala-2.11.6.deb
sudo dpkg -i scala-2.11.6.deb
sudo apt-get update
View about.md
View jsbin.OtOyUYi.coffee
App = Ember.Application.create()
App.Router.map ->
this.resource 'users', ->
this.resource 'user', { path: '/:user_id' }, ->
this.route 'edit'
this.route 'new'
this.resource 'posts', ->
this.resource 'post', { path: '/:post_id' }, ->
this.route 'edit'