Skip to content

Instantly share code, notes, and snippets.

View Saneyan's full-sized avatar

Saneyuki Tadokoro Saneyan

  • Yerevan, Armenia
View GitHub Profile
@rklaehn
rklaehn / Proxy.scala
Created January 31, 2015 16:29
Minimal akka http proxy
package akkahttptest
import akka.actor.ActorSystem
import akka.http.Http
import akka.stream.FlowMaterializer
import akka.http.server._
import akka.http.marshalling.PredefinedToResponseMarshallers._
import akka.stream.scaladsl.{HeadSink, Source}
object Proxy extends App {
@polamjag
polamjag / itfethauth.py
Last active December 25, 2015 02:28
宿舎ネットとの戦い
#!/usr/bin/python
import urllib.request
import urllib.parse
import sys
#webcon = http.client.HTTPConnetion("www.google.co.jp")
#accc_sv = "www.cc.tsukuba.ac.jp"
# 一の矢