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
[jane@nixos:~/graphviz]$ cat default.nix | |
let | |
pkgs = import <nixpkgs> {}; | |
mkDerivation = import ./autotools.nix pkgs; | |
patchedPkgs = import /home/jane/nixpkgs {} // {binutils-unwrapped="";}; | |
mkDerivation2 = import ./autotools.nix patchedPkgs; | |
libs = with patchedPkgs; { inherit gd fontconfig bzip2 libjpeg;}; | |
in |
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
cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2 |
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 socket | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect(("127.0.0.1", 80)) | |
#s.send() | |
#print(s.recv(1024)) |
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 tensorflow | |
tensorflow.Session(config=tensorflow.ConfigProto(log_device_placement=True)) |
NewerOlder