Skip to content

Instantly share code, notes, and snippets.

@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
@jakirkham
jakirkham / conda_build_nwjs.log
Created July 1, 2015 00:03
`nwjs` recipe appears to be broken at present
$ conda build nwjs
Removing old build directory
Removing old work directory
BUILD START: nwjs-0.12.0.3alpha-1
Removing old work directory
Source cache directory is: /zopt/conda/conda-bld/src_cache
Found source in cache: nwjs-v0.12.0-alpha3-osx-x64.zip
Extracting download
Package: nwjs-0.12.0.3alpha-1
source tree in: /zopt/conda/conda-bld/work/nwjs-v0.12.0-alpha3-osx-x64
$ vagrant up ; vagrant ssh
/opt/vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/pre-rubygems.rb:31: warning: Insecure world writable dir /zopt in PATH, mode 040777
/opt/vagrant/embedded/gems/gems/bundler-1.10.5/lib/bundler/shared_helpers.rb:78: warning: Insecure world writable dir /zopt in PATH, mode 040777
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 9022 (adapter 1)
Welcome to Git (version 1.9.5-preview20150319)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
$ boot2docker -v init
Boot2Docker-cli version: v1.7.1
Git commit: 8fdc6f5
2015/07/21 13:30:24 executing: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe
@jakirkham
jakirkham / ipcluster.log
Created July 27, 2015 18:08
IPython_Cluster_SGE_Registration_Timeouts
2015-07-27 18:04:01.881 [IPClusterStart] Starting ipcluster with [daemon=True]
2015-07-27 18:04:01.883 [IPClusterStart] Creating pid file: /root/.ipython/profile_sge/pid/ipcluster.pid
2015-07-27 18:04:01.883 [IPClusterStart] Starting Controller with SGE
2015-07-27 18:04:01.900 [IPClusterStart] Job submitted with job id: u'2'
2015-07-27 18:04:02.901 [IPClusterStart] Starting 7 Engines with SGE
2015-07-27 18:04:02.919 [IPClusterStart] Job submitted with job id: u'3'
2015-07-27 18:04:10.502 [IPClusterStart] ERROR | IPython cluster: stopping
2015-07-27 18:04:10.502 [IPClusterStart] Stopping Engines...
2015-07-27 18:04:13.515 [IPClusterStart] Removing pid file: /root/.ipython/profile_sge/pid/ipcluster.pid
@jakirkham
jakirkham / gist:0e50786bbbeedc7bf93a
Last active August 29, 2015 14:27 — forked from jdoconnor/gist:32ef0314cecb80157c4e
Update mtimes based off commit time
#!/bin/bash -e
####
# based on https://gist.github.com/jeffery/1115504
# Helper script to update the Last modified timestamp of files in a Git SCM
# Projects working Copy
#
# When you clone a Git repository, it sets the timestamp of all the files to the
# time when you cloned the repository.
#
# This becomes a problem when you want the cloned repository, which is part of a
@jakirkham
jakirkham / Untitled.ipynb
Created August 21, 2015 17:28
jq_1.5_parsing_bug
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / callback.ipynb
Created August 31, 2015 16:31
Using Callback in iPython Bokeh v0.9.3 based off of this example ( http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#cutomjs-for-widgets )
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jakirkham
jakirkham / conda-build-conda_build.recipe.log
Last active August 31, 2015 21:07
Attempting to build `conda-build`
$ conda build conda_build.recipe
Removing old build environment
Removing old work directory
BUILD START: conda-build-1.17.0+7.g7954a9d-py27_7_g7954a9d
Fetching package metadata: ........
WARNING: conda-build appears to be out of date. You have version 1.16.0 but the
latest version is 1.17.0. Run
conda update -n root conda-build
@jakirkham
jakirkham / numpy_float32_traceback_example.ipynb
Last active September 21, 2015 12:52
Demonstrates how `numpy.float32` is rejected as a range argument.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.