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
sseclient = buildPythonPackage rec { | |
version = "0.0.14"; | |
pname = "sseclient"; | |
name = "sseclient-${version}"; | |
doCheck = false; | |
src = pkgs.fetchurl { | |
url = "mirror://pypi/s/sse-client/${name}.zip"; | |
sha256 = "0f9r5rn9lzgi4hvkhgb6vgw8kpz9sv16jsfb9ws4am8gbqcgv2iy"; |
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
acoustics = buildPythonPackage rec { | |
pname = "acoustics" | |
version = "0.1.2" | |
name = pname + "-" + version | |
buildInputs = with self [ cython pytest ] | |
propagatedBuildInputs = with self [ numpy scipy matplotlib pandas tabulate ] | |
src = pkgs.fetchurl { | |
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz" |
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
with import <nixpkgs> {}; | |
pkgs.python35Packages.buildPythonPackage rec { | |
name = "dcos-cli-${version}"; | |
version = "0.5.1"; | |
src = pkgs.fetchFromGitHub { | |
owner = "dcos"; | |
repo = "dcos-cli"; | |
rev = version; |
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 com.temerev.mi.actor | |
import akka.actor.{ActorSystem, Props, ActorRef, Actor} | |
class Skynet(parent: ActorRef, num: Int, size: Int, div: Int) extends Actor { | |
var received = 0 | |
var total = 0L | |
size match { |
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 main | |
import "fmt" | |
func skynet(c chan int, num int, size int, div int) { | |
if (size == 1) { | |
c <- num | |
} else { | |
rc := make(chan int) | |
sum := 0 |
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
searchField.getDocument().addDocumentListener(new DocumentListener() { | |
@Override | |
public void insertUpdate(DocumentEvent documentEvent) { | |
anyChange(documentEvent); | |
} | |
@Override | |
public void removeUpdate(DocumentEvent documentEvent) { | |
anyChange(documentEvent); | |
} |