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
/************************************************ | |
FILENAME | |
server_simple.js | |
DESCRIPTION | |
creates a simple web server that | |
displays translations of requested words | |
HOW TO START SERVER: | |
1) from terminal run 'node simple_server.js' |
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
diff --git a/server.go b/server.go | |
index 646cb44..33cd4ea 100644 | |
--- a/server.go | |
+++ b/server.go | |
@@ -1247,8 +1247,8 @@ func (srv *Server) ContainerCopy(name string, resource string, out io.Writer) er | |
} | |
func NewServer(flGraphPath string, autoRestart, enableCors bool, dns ListOpts) (*Server, error) { | |
- if runtime.GOARCH != "amd64" { | |
- log.Fatalf("The docker runtime currently only supports amd64 (not %s). This will change in the future. Aborting.", runtime.GOARCH) |
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
#container{ | |
margin-top:20px; | |
width:100%; | |
height:30px; | |
border: 1px solid #ccc; | |
box-shadow: -1px 1px 1px 1px #ccc; | |
overflow:hidden; | |
} | |
#container:hover{ | |
cursor:pointer |
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
#container{ | |
margin-top:20px; | |
width:170px; | |
height:30px; | |
border: 1px solid #ccc; | |
box-shadow: -1px 1px 1px 1px #ccc; | |
overflow:hidden; | |
} | |
#container:hover{ | |
cursor:pointer |
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
#container{ | |
margin-top:20px; | |
width:200px; | |
border:1px solid white; | |
} | |
.half{ | |
width:50%; | |
border:1px solid white; | |
float:left; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> | |
<meta charset=utf-8 /> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<ul id="buh"></ul> | |
</body> |