Package managers

Package managers (package management systems)

a collection of software tools that automates the process of installing, upgrading, configuring, and removing software packages for a computer’s operating system in a consistent manner.

Typically maintains a database of:

  • software dependencies
  • version information

Why? to prevent software mismatches and missing pre-requisites.

Binary packages

Binary package management system = distribute apps in binary package form = apps are compiled and ready to use


– RPM Package Manager: Created by Red Hat.
– the Linux Standard Base packaging format
– file format: .rpm

Mac OS X

Mac App Store
The official distribution platform for OSX apps

Package manager for OSX.
Based on git.

Application-level package managers

– a programming library and package manager for Node.js
– a package manager for JavaScript, and is the default for Node.js.
– allows users to install Node.js applications that are available on the npm registry
– written entirely in JavaScript
– developed by Isaac Z. Schlueter

– a package manager and repository for Ruby

Making forms in InDesign

  1. Create rectangle
  2. Duplicate (Paste in Place)
  3. Reduce size by 0.5mm on all sides (resize in Control Panel with Center Reference Point)
    1. This will give the form “padding” – there will be a small white border around the form (the rectangle behind it), but the text will look better
  4. Buttons and Forms Panel > Type > Text Field
  5. Click “multi-line” – else the form field will be vertically center-aligned, and there will only be one non-wrapping line of text!
  6. Style
    1. The “fill” of the field will be the colour that will display UPON a CLICK event
    2. ie. if it’s white, once the user enters the field, the field will turn white
    3. ie. if it’s “none”, the field will remain the (nasty) violet colour of the text field
  7. Export
    1. Interactive PDF (not print)


  1. A text frame that says “Press “TAB” for next field” – so users don’t click “Escape”, which clears form :(
  2. Name fields
  3. Set tab order

To Do

  1. Form default colour
    1. Acrobat > Preferences > Forms > Highlight colour > Choose
    2. But can’t save this into the PDF





a:link = unvisited link

p:first-child = paragraphs that are the FIRST CHILD of their parents (not the first child of paragraphs) – can also use this with <a> tags too!

p:nth-child(n) = selects all paragraphs that are the nth-child (p:nth-child(3) selects all paragraphs that are the 3rd child)

Remember that “children” are not tag-specific – if there is a <h1> followed by 3 <p>’s, then the last <p> is the 4th child.

Function Keys and Chrome DevTools

  1. Get rid of needing to press “fn”
    1. System Preferences > Keyboard > Keyboard
      1. Select “Use all F1, F2, etc keys as standard function keys
      2. Now, if you want to increase volume (for example), then you use the “fn” key
  2. Get rid of Mission Control
    1. System Preferences > Keyboard > Shortcuts > Mission Control
    2. Deselect “Show Desktop” (which is F11)
    3. Deselect “Show Dashboard” (which is F12)

Journal 151022

  1. BJS – Values, Operators, If, Else, Switch, For
  2. BJS – Wrote a little program that converted an array of 3 Fahrenheit degrees into Celcius, and output to console
  3. JS – Using ++ (unary operator ++) and — (unary operator –) throws an error in JSLint; used Brackets preferences to turn this off! (and used to fix my JSON = had a “;” inside the object literal :( and it worked!)
    1. “plusplus”: true
  4. Brackets – made “console” not defined go away!
    1. “devel”: true