Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| description "Jupyter notebook" | |
| start on runlevel [2345] | |
| stop on runlevel [016] | |
| chdir /home/ubuntu/notebooks | |
| env PATH=/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
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
| [Unit] | |
| Description=Jupyter notebook | |
| [Service] | |
| Type=simple | |
| PIDFile=/var/run/jupyter-notebook.pid | |
| ExecStart=/usr/local/bin/jupyter notebook --ip=0.0.0.0 --port=80 --no-browser | |
| WorkingDirectory=/home/ubuntu/notebooks | |
| [Install] |
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 ( | |
| "html/template" | |
| "log" | |
| "net/http" | |
| "code.google.com/p/google-api-go-client/youtube/v3" | |
| "golang.org/x/oauth2" |
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" | |
| "sync" | |
| "time" | |
| ) | |
| func spawn(fn func(), count int, limit int) { | |
| limiter := make(chan bool, limit) |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <script type="text/javascript"> | |
| window.onbeforeunload = function(e) { | |
| return 'Any string'; | |
| } | |
| </script> | |
| </head> |
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
| Making install in tombupnp | |
| Making install in build | |
| cc -DHAVE_CONFIG_H -I. -I../.. -I../../tombupnp/upnp/inc -I../../tombupnp/ixml/src/inc -I../../tombupnp/ixml/inc -I../../tombupnp/threadutil/inc -I../../tombupnp/upnp/src/inc -I../../tombupnp/upnp/inc -I../.. -g -O2 -c -o libtombupnp_a-attr.o `test -f '../ixml/src/attr.c' || echo './'`../ixml/src/attr.c | |
| cc -DHAVE_CONFIG_H -I. -I../.. -I../../tombupnp/upnp/inc -I../../tombupnp/ixml/src/inc -I../../tombupnp/ixml/inc -I../../tombupnp/threadutil/inc -I../../tombupnp/upnp/src/inc -I../../tombupnp/upnp/inc -I../.. -g -O2 -c -o libtombupnp_a-document.o `test -f '../ixml/src/document.c' || echo './'`../ixml/src/document.c | |
| cc -DHAVE_CONFIG_H -I. -I../.. -I../../tombupnp/upnp/inc -I../../tombupnp/ixml/src/inc -I../../tombupnp/ixml/inc -I../../tombupnp/threadutil/inc -I../../tombupnp/upnp/src/inc -I../../tombupnp/upnp/inc -I../.. -g -O2 -c -o libtombupnp_a-element.o `test -f '../ixml/src/element.c' || echo './'`../ixml/src/element.c | |
| cc -DHAVE_CONFIG_H -I. -I../ |