$ python
Python 2.7.9 (default, Feb 4 2015, 17:42:56)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> type(exit)
<class 'site.Quitter'>
>>> exit.__class__()
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
| root@nature-more-capacity-1:~# iptables -t nat -L -n | |
| Chain PREROUTING (policy ACCEPT) | |
| target prot opt source destination | |
| REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8000 | |
| DOCKER all -- 0.0.0.0/0 0.0.0.0/0 ADDRTYPE match dst-type LOCAL | |
| REDIRECT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 redir ports 8000 | |
| Chain INPUT (policy ACCEPT) | |
| target prot opt source destination |
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
| from IPython.html.widgets import interact, interactive, fixed | |
| from IPython.html import widgets | |
| from IPython.display import display | |
| def spectogram(sound_file): | |
| IPython.display.Audio(filename=sound_file) | |
| interact(spectogram, sound_file={"Lion": "lion.wav", "Sine Wave": "sin.wav", "Square Wave": "sq.wav"}); |
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=Cleanup Service | |
| [Service] | |
| Type=oneshot | |
| ExecStart=-/usr/bin/bash -c \ | |
| "/usr/bin/docker rmi $(/usr/bin/docker images -q --filter 'dangling=true')" | |
| User=core | |
| [X-Fleet] |
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=NotebookViewer | |
| Requires=docker.service | |
| Requires=etcd.service | |
| After=docker.service | |
| After=etcd.service | |
| [Service] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.