This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76343,1839,53225,58647,59779,3644,71289,13609,93558,75653,5618,3685,21365,65239,42588,34057,64853,56048,58681,34100,93649,36685,78870,89039,61037,46267,63622,1460,19217,53506,86368,76977,19171,35711,25590,15569,76505,78260,38721,37063,69461,87896,28694,30342,98818,98319,12249,13537,55970,33401,31885,71183,80923,48360,11211,77934,56956,7147,76128,31342,84857,84498,6131,15634,18703,85602,43271,86712,12538,48882,15654,18980,19381,94477,56077,24550,54728,3385,17690,87965,828,94775,90840,56471,8795,33267,90741,32013,41471,65205,11682,43762,86152,23903,36442,25326,44621,47910,51889,52962,33567,61862,27033,2724,37466,37258,97610,89007,39176,85458,24206,17871,12826,99602,20033,83840,99222,88803,33426,23825,39739,29847,34963,86109,30546,70241,73403,20508,32514,2565,28755,44305,676,79358,5900,35430,27411,33190,89298,89929,68268,20571,20029,87496,34658,12046,42968,93017,47948,8425,23723,57166,31388,93427,33804,40465,54681,31206,31939,6253,47707,90501,47965,16620,47598,64417,33533,68571,62263,49988,62182,2164,34898,98606 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
08109012069 | |
20078431459 | |
28039512450 | |
29126442279 | |
05096832607 | |
30116423096 | |
19108707677 | |
24088726614 | |
27069544229 | |
08106443263 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
MVN_BIN=/[maven_dir]/bin/mvn | |
REP_ID=repository_id | |
REP_URL=http://repository_url/ | |
INPUT_DIR=$1 # Where jar and pom files are located | |
DRY_RUN=false | |
POMS=`find $INPUT_DIR -name *.pom` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import clang.cindex | |
import os, textwrap, StringIO | |
from clang.cindex import Config, Index, CursorKind | |
clib_scalanative_path = '/Users/timothyklim/Development/scala-native/clib/src/main/scala/scala/scalanative/libc' | |
scalatypes_map_dict = { | |
"int": "CInt" | |
"void": "Unit", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"test test" in { | |
case class Test(a: Int) | |
Some(Test(1)) must beSome[Test].matching.a(1) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In Application.scala: | |
object MyServer extends AutowirePlayServer[Api] { | |
override def routes(target: Api) = route[Api](target) | |
override def createImpl(autowireContext: AutowireContext): Api = new ServerImpl(autowireContext) | |
} | |
object Application extends Controller { | |
def api = PlayAutowire.api(MyServer)_ | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package controllers | |
import play.api.http.{ContentTypes, ContentTypeOf} | |
import upickle.Js | |
import upickle.default._ | |
import play.api.mvc._ | |
import scala.concurrent.Future | |
import scala.concurrent.ExecutionContext.Implicits.global |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mostly from django-fab-deploy | |
import os | |
import sys | |
from datetime import datetime | |
from subprocess import Popen, PIPE | |
import yaml | |
from fabric.api import env, run, sudo, task |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo ifdown wwan0 | |
qmi-network /dev/cdc-wdm0 stop | |
sudo /etc/init.d/network-manager start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Requires the following line in /etc/network/interfaces: | |
# iface wwan0 inet dhcp | |
# | |
sudo /etc/init.d/network-manager stop | |
echo AT+CGDCONT=1,"IP","internet.netcom.no" > /dev/ttyUSB2 | |
sudo modprobe qmi_wwan |
NewerOlder