First challenge: How do I "download these four data files"?
mkdir sc
# Use shell expansion to get each of the four files
wget http://resbaz.github.io/2014-03-18-combine/novice/python/inflammation-0{1,2,3,4}.csvThat's complicated. We might need a "download me" script.
It's not made clear if I should be following along or just reading for the shell lessons, but I'll work on the assumption I should be able to run any of the commands that are mentioned.
nano draft.txt
# bash: nano: command not foundFixed with sudo yum install -y nano but we should have it installed from the outset.
- Need to add nano to installed programs.
After skim-reading, that's it for the shell. Next...
Following along happily enough, and I decide to maximize my editor. Bad move - when opening nano, things go weird. Have to ditch the terminal and refresh page - quite annoying, but doesn't require lesson to restart from earlier place.
Tried it again later when maximized. Attempted to close with Ctrl-W, and closed my entire window. Ouch.
Resized window and used nano. Similar screwup. Refresh needed. Grrrr...
Learnt something new: git status --ignored. Neat.
Pulling & pushing to GitHub is a little annoying, but only because I have 2-factor auth enabled.
Nano editing of Git messages works just fine.
"Autosave failed!". Nginx reports:
2014/06/17 04:50:03 [crit] 15#0: *1957 open() "/var/lib/nginx/tmp/client_body/00
00000046" failed (13: Permission denied), client: 172.17.42.1, server: , request
: "PUT /ipynb/api/notebooks/sc/01-numpy.ipynb HTTP/1.1", host: "172.17.42.1:4917
3", referrer: "https://timtest1.dit4d.labs.cloud.unimelb.edu.au/ipynb/notebooks/
sc/01-numpy.ipynb"
Uh oh. Caused by lack of execute permissions on parent directories, as mentioned here: http://forum.nginx.org/read.php?2,239816,239817
- Need to fix permissions on /var/lib/nginx
"Request Entity Too Large". Nginx again, for both the outer and container Nginx servers.
- "client_max_body_size ?G" needed for Nginx
Missing sqlitemagic, but that's a supplied file. Needs texttable though:
- Install texttable & sqlite?
When attempting to install it as a PIP module, didn't have sudo privs
- Allow sudo to execute python-pip
- Provide a symlink to pip?
Created using Inkpen - http://inkpen.in
Does Zed Editor count? I've seen other browser-based editors, and so far I've not be terribly impressed by any of them. There are HTML5 editors that I could write a backend for, but time I spend on that is time I can't spend on other things.
Don't forget you also have Nano, which does have highlighting if you turn it on.
I will need to hack TTY.js to allow this, but it should be possible to add that feature to it.
Right-click, then select paste? That works for me. Similarly drag-select text & right-click for copy.
Whoa, huge bug there. This was the least troublesome file manager for me to integrate, but occasionally it does some dumb things. (In this case, using an absolute URL where a relative one would have worked much better.) I'll see what I can do to fix it this morning.