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
$ ipython | |
In [1]: import inspect | |
...: | |
...: for s in inspect.stack(): | |
...: m = inspect.getmodule(s[0]) | |
...: if m: print(m.__file__) | |
...: | |
/Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py | |
/Users/nishimura/.pyenv/versions/anaconda3-2019.03/lib/python3.7/site-packages/IPython/core/interactiveshell.py |
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 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
necst@necst1:~$ ip a | |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 | |
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 | |
inet 127.0.0.1/8 scope host lo | |
valid_lft forever preferred_lft forever | |
inet6 ::1/128 scope host | |
valid_lft forever preferred_lft forever | |
2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 | |
link/ether 1c:1b:0d:fa:7c:f8 brd ff:ff:ff:ff:ff:ff | |
inet 192.168.101.126/23 brd 192.168.101.255 scope global enp0s31f6 |
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
#!/bin/sh | |
# Uncomment the following two lines for normal desktop: | |
# unset SESSION_MANAGER | |
# exec /etc/X11/xinit/xinitrc | |
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup | |
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources | |
xsetroot -solid grey | |
vncconfig -iconic & |
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
QLOOK_SIZE = 500 | |
# --- | |
import os | |
import numpy | |
import PIL.Image | |
import PIL.ImageTk |
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
QLOOK_SIZE = 500 | |
# --- | |
import os | |
import numpy | |
import PIL.Image | |
import PIL.ImageTk |
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
# for python 3.5 | |
import time | |
import numpy | |
import matplotlib | |
matplotlib.use('TkAgg') | |
import matplotlib.pyplot | |
step = 0.2 | |
start = 0 |
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
INFO 2016-04-21 01:27:12,187 [LoggingFilter(101)] GET http://192.168.100.184/data_transfer 101 192.168.100.192 1[ms] | |
INFO 2016-04-21 01:27:12,188 [DataTransferEndpoint(50)] websocket open: 4 : 2 | |
INFO 2016-04-21 01:27:12,196 [DataTransferEndpoint(59)] /usr/local/tomcat/webapps/ROOT/ | |
INFO 2016-04-21 01:27:12,558 [DataTransferEndpoint(68)] INFO 2016-04-21 01:27:12,555 [AbstractBat(26)] DataTransferBat is start. | |
INFO 2016-04-21 01:27:12,729 [DataTransferEndpoint(68)] Env [KNOWLEDGE_HOME] was not found. | |
INFO 2016-04-21 01:27:12,797 [DataTransferEndpoint(68)] INFO 2016-04-21 01:27:12,797 [DBConnenctionLogic(35)] Custom connection setting is exists. | |
INFO 2016-04-21 01:27:14,577 [DataTransferEndpoint(68)] INFO 2016-04-21 01:27:14,577 [DatabaseMetaDataDao(114)] Read Table info: access_logs | |
INFO 2016-04-21 01:27:14,579 [DataTransferEndpoint(68)] INFO 2016-04-21 01:27:14,579 [DatabaseMetaDataDao(114)] Read Table info: account_images | |
INFO 2016-04-21 01:27:14,581 [DataTransferEndpoint(68)] INFO 2016-04-21 01 |
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
import zobs_tools | |
g1 = zobs_tools.forest_co_3line(1024, 3072, 64, 64) | |
print(g1.generate()) | |
g2 = zobs_tools.forest_co_3line(2048, 2048, 128, 64) | |
print(g2.generate()) | |
g3 = zobs_tools.forest_co_3line(1024, 3072, 64, 64) | |
print(g3.generate()) |
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
import numpy | |
import sam45tool | |
ddir = '../../../download/' | |
d1 = sam45tool.load_sldump(ddir+'SAM45.BET5ori.nstest2.pjtest.20150428155923.A1.txt') | |
d2 = sam45tool.load_sldump(ddir+'SAM45.BET5ori.nstest2.pjtest.20150428163101.A1.txt') | |
lev1 = sam45tool.loadtxt_panda(ddir+'20150428155923.txt') |
NewerOlder