This file contains 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 akkaWorkerMainJS | |
import scala.scalajs.js | |
import akka.actor._ | |
import akka.worker.AkkaWorkerMaster | |
import com.typesafe.config.ConfigFactory | |
class A extends Actor { | |
import context.system | |
def receive = { |
This file contains 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
.jsSettings( | |
unmanagedSourceDirectories in Compile += baseDirectory.value / "../../akka-js-testkit/js/src", | |
libraryDependencies ++= Seq( | |
"be.doeraene" %%% "scalajs-pickling" % "0.4.0", | |
"org.scalatest" %%% "scalatestjs" % "2.3.0-SNAP2", | |
"org.scala-js" %%% "scalajs-dom" % "0.8.0" | |
) | |
) |
This file contains 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
[error] missing or invalid dependency detected while loading class file 'Matchers.class'. | |
[error] Could not access type SequencingConstraint in value org.scalactic.enablers, | |
[error] because it (or its dependencies) are missing. Check your build definition for | |
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) | |
[error] A full rebuild may help if 'Matchers.class' was compiled against an incompatible version of org.scalactic.enablers. | |
[error] missing or invalid dependency detected while loading class file 'Matchers.class'. | |
[error] Could not access term enablers in package org.scalactic, | |
[error] because it (or its dependencies) are missing. Check your build definition for | |
[error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) | |
[error] A full rebuild may help if 'Matchers.class' was compiled against an incompatible version of org.scalactic. |
This file contains 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
{ | |
"_id" : ObjectId("52691e5c9122a8d97b000001"), | |
"__v" : 10, | |
"author" : "Sonia Lifonti", | |
"body" : "<p>Quante volte negli ultimi anni abbiamo sentito questa frase? Nienta paura, però – in\r\nquesto caso non ci riferiamo al bestseller che ha venduto milioni di copie, ma\r\nal trend più classico nella moda maschile autunno inverno 2013-2014: il ritorno\r\nal classico, e sempre amato, grigio.</p>\r\n<p>Declinato dallo smart al casual ritroviamo il grigio in questa nuova stagione\r\ncompletamente sdoganato dallo stigma di colore serioso. Grazie all’intervento\r\ndei top designer a tutte le sfumature di grigio, dal pallido Paris Grey fino ad\r\narrivare all’antracite e gunpowder, vengono affiancati tagli moderni, chic e\r\nportabili sia come workwear, sia nel tempo libero, magari abbinato ad un jeans\r\na sigaretta. Molto in voga anche il gilet, o waistcoat, non solo relegato nei completi rigorosi, ma\r\nabbinato a look urban smart.</p>\r\n<p>Oltre alle varie palette di grigio in vers |
This file contains 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
“Do you have a press kit I could check out?” | |
When a journalist asks you that question, the answer needs to be “yes.” | |
- Jim Glade and Andrew Wight (publicize.co) | |
"For developers, having or not having a press kit can be the | |
difference between tons of coverage and zero attention." | |
- Harrison Weber (VentureBeat, TheNextWeb) |
This file contains 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
> Object.keys(res).filter(function(e) { return res[e] > 1; }).sort(function(a,b) { return res[a] > res[b] }).reverse().slice(0,10) | |
[ 'google', | |
'github', | |
'twitter', | |
'typesafe', | |
'shopify', | |
'rackspace', | |
'nodejitsu', | |
'plataformatec', | |
'linkedin', |
This file contains 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
var ffi = require('lib/llffi'), | |
console = require('lib/console'); | |
var Struct = ffi.defineCStruct({ | |
z: ffi.CTypes.int, | |
a: ffi.defineCArray(ffi.CTypes.int, 3) | |
}) | |
var Other = ffi.defineCStruct({ | |
k: ffi.CTypes.int, |
This file contains 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
var Struct2 = ffi.defineCStruct({ | |
z: ffi.CTypes.int | |
}) | |
var Struct = ffi.defineCStruct({ | |
x: ffi.CTypes.int, | |
y: ffi.CTypes.long, | |
k: Struct2 | |
}) |
This file contains 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
/* A simple server in the internet domain using TCP | |
The port number is passed as an argument */ | |
#include <stdio.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
void error(char *msg) | |
{ | |
perror(msg); |
This file contains 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
sudo apt-get install python-software-properties | |
sudo apt-add-repository ppa:hollywood/ppa | |
sudo apt-get update | |
sudo apt-get install hollywood | |
hollywood |