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 subprocess | |
cmd = 'myprogram myargs' | |
returncode = subprocess.call(cmd) |
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
$ mkdir -p rclone | |
$ curl -O https://downloads.rclone.org/rclone-current-osx-amd64.zip | |
$ unzip -a rclone-current-osx-amd64.zip | |
$ cd rclone-*-osx-amd64 | |
(* にはバージョンが入る.2017年7月末現在ではv1.37のはず.) | |
# sudo mv rclone /usr/local/bin/ | |
# cd .. | |
# rm -rf rclone-*-osx-amd64 rclone-current-osx-amd64.zip |
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
% sudo pip install s3cmd |
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 scipy.linalg import flapack | |
clapack = flapack | |
_use_force_clapack = 0 |
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
こんにちは. | |
さようなら. | |
-- | |
Hogera Hogera <[email protected]> | |
> おはようございます. | |
> こんばんは. | |
> | |
> ---- |
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
# easy_install pip | |
Reading https://pypi.python.org/simple/pip/ | |
Download error on https://pypi.python.org/simple/pip/: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found! | |
Couldn't retrieve index page for 'pip' | |
Scanning index of all packages (this may take a while) | |
Reading https://pypi.python.org/simple/ | |
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found! | |
Best match: pip 6.0.6 | |
Processing pip-6.0.6-py2.7.egg | |
pip 6.0.6 is already the active version in easy-install.pth |
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
# cd ~/tmp | |
# wget http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz | |
# tar xzf bzip2-1.0.6.tar.gz | |
# cd bzip2-1.0.6 | |
# make -f Makefile-libbz2_so | |
# make | |
# make install PREFIX=/home/akisato/src/downloads/bzip2-1.0.6 | |
# export CFLAGS=-I/home/akisato/src/downloads/include | |
# export CPPFLAGS=$CFLAGS | |
# export LDFLAGS=-L/home/akisato/src/downloads/lib |