Jan 28
Today : in-class practice !
- Please work in pairs to explore any of the following.
- Find online tutorials and documentation with google.
Shell :
- remote login & file copy: ssh , scp
- public/private keys for authentication
- moving around: ls , cd , mkdir , more (less)
- documentation: google it! , man
- directory names: ~ . ..
- environment: printenv , export , alias , echo $var, history , ps
- permission: ls -al , chmod
- change password: passwd
- customization & "invisible" files start with . : "ls -a"
- computer-side file layout , $PATH variable
Editing in a terminal :
- nano
- emacs -nw # no window
- vim
misc unix :
publishing on the internet
- ./site/ folder (specific to our setup)
- index.html
Version control :
- git (at the command prompt)
- github (was down Wed night!)
Languages on csmarlboro (not a complete list) :
- racket (lisp, scheme variety)
- sclang (supercollider audio processing language)
- rustc (rust, designed to replace c)
- python (and ipythyon)
- perl
- irb (ruby, interactive prompt)
- node (javascript, interactive prompt)
- gcc (gnu C)
- javac (Java compiler)
- ghc (Haskell)
Installing software :
- fetching things over the web : wget
- unpacking: tar for .tar.gz or .tgz (google for examples)
- typical recipe: .configure; make; make install
Assignment ... let's discuss and see how this sounds.
- Pick another projecteuler.net coding problem.
- Implement on csmarlboro.org
- if python, include triple-quote doc strings and doctests
- or try some other language
- Be ready to share & discuss on Tuesday.
- Optional:
- put code & output on your csmarlboro internet site
- create git repository with project folder & readme.txt & trimmings