Skip to content

Instantly share code, notes, and snippets.

@jakirkham
jakirkham / 1_Explanation.md
Last active August 29, 2015 14:18
Explanation and log below

This is part of a larger build system (called BuildEM). Here we try to build Pillow so it is not affected by the outside world. The command used to build is this ${BUILDEM_ENV_STRING} ${PYTHON_EXE} setup.py build_ext --disable-tcl --disable-tk --disable-lcms --disable-webp --disable-webpmux --disable-jpeg2000 install. The $BUILDEM_ENV_STRING contains the library paths, include directories, etc. Python 2.7.6 is built as part of the build system and that interpreter is referred to as $PYTHON_EXE.

@jakirkham
jakirkham / rank_filter-build.log
Created April 14, 2015 18:17
Results from trying to build `rank_filter` in `conda` without adding `-stdlib=libc++` to `CXXFLAGS` or `CXX_LDFLAGS`
$ conda build rank_filter
Removing old build directory
Removing old work directory
BUILD START: rank_filter-v0.1-np19py27_0
Fetching package metadata: ......
Solving package specifications: .
The following NEW packages will be INSTALLED:
boost: 1.56.0-1
fftw: 3.3.4-0
$ coveralls
INFO:sh.command:<Command '/bin/pwd' call_args {'bg': False, 'timeo...(476 more)>: starting process
INFO:sh.command:<Command '/usr/bin/git --no-pa...(53 more)' call_args {'bg': False, 'timeo...(476 more)>: starting process
INFO:sh.command:<Command '/usr/bin/git rev-par...(20 more)' call_args {'bg': False, 'timeo...(476 more)>: starting process
INFO:sh.command:<Command '/usr/bin/git remote ...(2 more)' call_args {'bg': False, 'timeo...(476 more)>: starting process
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): coveralls.io
INFO:coveralls:504
INFO:coveralls:<!DOCTYPE html>
<html lang="en">
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
/* BEGIN /Users/kirkhamj/Developer/PyCharmCE/bokeh/bokeh/server/static/css/bokeh.min.css */
.bk-bs-container,.bk-bs-container-fluid{margin-left:auto;padding-left:15px;padding-right:15px;margin-right:auto}.bk-bs-btn,.bk-toolbar-button{-ms-user-select:none;user-select:none;-webkit-user-select:none;-moz-user-select:none}.bk-bs-btn,.bk-bs-btn-danger.bk-bs-active,.bk-bs-btn-danger:active,.bk-bs-btn-default.bk-bs-active,.bk-bs-btn-default:active,.bk-bs-btn-info.bk-bs-active,.bk-bs-btn-info:active,.bk-bs-btn-success.bk-bs-active,.bk-bs-btn-success:active,.bk-bs-btn-warning.bk-bs-active,.bk-bs-btn-warning:active,.bk-bs-btn.bk-bs-active,.bk-bs-btn:active,.bk-bs-dropdown-menu>.bk-bs-disabled>a:focus,.bk-bs-dropdown-menu>.bk-bs-disabled>a:hover,.bk-bs-form-control,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-danger,.bk-bs-open .bk-bs-dropdown-toggle.bk-bs-btn-d
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
libbio
liblink
cmd/cc
cmd/gc
cmd/6l
@jakirkham
jakirkham / boot2docker.log
Created June 23, 2015 13:28
Output from `/var/log/boot2docker.log` when running into issue boot2docker/boot2docker#824
net.ipv4.ip_forward = 1
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/forwarding: No such file or directory
sysctl: setting key "cannot stat %s": No such file or directory
sysctl: "cannot stat %s" is an unknown key
sysctl: setting key "cannot stat %s": No such file or directory
Segmentation fault
automount ...
/dev/sda1
/dev/sda1
mount p:sda1 ...
@jakirkham
jakirkham / boot2docker.log
Created June 23, 2015 21:57
Output from `/var/log/boot2docker.log` when running into issue boot2docker/boot2docker#824
net.ipv4.ip_forward = 1
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/forwarding: No such file or directory
sysctl: setting key "cannot stat %s": No such file or directory
sysctl: "cannot stat %s" is an unknown key
sysctl: setting key "cannot stat %s": No such file or directory
Segmentation fault
automount ...
/dev/sda1
/dev/sda1
mount p:sda1 ...
@jakirkham
jakirkham / ipcluster_config.py
Created June 24, 2015 13:13
iPython Cluster (SGE) Registration Timeouts
c = get_config()
c.IPClusterEngines.engine_launcher_class = "SGE"
c.IPClusterStart.controller_launcher_class = "SGE"
c.HubFactory.ip = '*'
c.HubFactory.engine_ip = '*'
c.IPEngineApp.wait_for_url_file = 60
c.EngineFactory.timeout = 20
@jakirkham
jakirkham / README.md
Last active November 28, 2019 00:38
Boot2Docker_for_Windows

Install and setup Boot2Docker.

  1. Boot2Docker download form web page
  2. Use icon placed on screen
  3. boot2docker ssh
  4. docker login ( Use Docker Hub credentials username, pass, and email )

Add VirtualBox to your path

@jakirkham
jakirkham / console.log
Last active August 29, 2015 14:23
boot2docker_ssh_ip_addr_show
$ boot2docker ssh ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default
link/ether 3a:16:df:9e:6c:6d brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000