OSX Snow Leopard has a command line zip/unzip utility…
Today I needed to unzip a MASSIVE (10GB) zip file (for Adobe LiveCycle - but that’s another story)… and got this response:
unzip LiveCycleES2.5-0.0.5.zip
Archive: LiveCycleES2.5-0.0.5.zip
skipping: LiveCycleES2.5-0.0.5/LiveCycleES2.5.x86_64-0.0.5.vmdk need PK compat. v4.5 (can do v2.1)
creating: LiveCycleES2.5-0.0.5/
inflating: LiveCycleES2.5-0.0.5/LiveCycleES2.5.x86_64-0.0.5.vmx
So what’s PK compat. v4.5 ? The standard zip libraries don’t let you unzip really big files. The PKZip libraries have evolved with myriad different versions and capabilities - including (in 4.5) the addition of Zip64 - with support for huge (>4.5 GB) files.
To get it to work, we need p7zip the Linux/Unix port of the 7-zip libraries.
I use homebrew - and you should too.
brew install p7zip
then use the 7z utility (with a magic ‘x’ for extract like so:
7z x LiveCycleES2.5-0.0.5.zip
…and we’re cookin with gas.
Yishan Wong spent several years as a technical manager at Facebook. These posts from him are a real revelation, particularly the need to focus on tools for efficiency and for all members of the team to be technically proficient. Great stuff.
I use Compass with Blueprint for all projects these days.
When deploying on Heroku, the read-only filesystem has trouble with the conditional around the IE stylesheet - leading to something like this;
Errno::EROFS (Read-only file system - /disk1/home/slugs/.../mnt/public/stylesheets/compiled/ie.css - Heroku has a read-only filesystem. See http://docs.heroku.com/constraints#read-only-filesystem)
I get around it by asking Compass / SASS to not bother trying to regenerate my sass/scss files in production:
in config/environments/production.rb:
Sass::Plugin.options[:never_update] = true
Among the various things we’re doing for UNE’s move to Moodle, one thing we thought would be cool would be to remove the ancient option Assignment type that allows only one student file per submission (and no teacher “response” files).
This gives us a stack of simple benefits:
First, add a config setting (in config.php):
$CFG->assignment_hide_uploadsingle = true;
Then tweak mod/assignment/lib.php as per the commit at https://github.com/une/moodle/commit/cf89f14ffc36cae22175874f6f737f4e773cfd74
The change is basically:
- $standardassignments = array('upload','online','uploadsingle','offline');
+ $standardassignments = array('upload','online','offline');
It doesn’t break any existing assignments of that type - just means your teachers won’t go creating new ones.
Moving to Moodle in 2011 brings with it a number of challenges for how we manage assessment. It also introduces a stack of exciting opportunities.
Today marks the start of a focused attempt to draw…
Rolling your own PHP (or any othr *nix tool) is not insanely hard… but when someone puts together a nice set of binaries, it certainly makes life easier.
Wanting to do some quick development in Mahara, I found that Snow Leopard’s own PHP had no Freetype support baked into its GD libraries :( I turned up Taracque’s great set of binaries built with the Entropy toolkit…
I’d have loved to have been able to use homebrew to do it, but this is also fairly easy - and the installer plays nice by installing to /usr/local/php5
No warranty attached, but it’s certainly working nicely for me in development.
Macquarie Uni announced last week that they’ll be joining UNE and others in shifting from Blackboard CE (formerly WebCT) to head to Moodle 2. It’s great to see other unversities “seeing the light”…
Last month we set up a quick Drupal 6/Acquia site. It’s my first foray back into Drupal since some projects two years ago with Fairfax and Austereo. The strategy to go online with communications for our program of twenty-something projects at UNE Flexible and Online was to fourfold:
Getting it online was a cinch - we used Chef Solo to build the server (on Sydney-based VPSes at Mammoth - currently on just the $20/mth plan). I’m not a massive fan of PHP, but it sure was easy!
Moodle’s bug, issue and feature “tracker” (http://tracker.moodle.org) helps the project track new feature requests, issues and bugs. All bugs are rated on a scale: blocker, critical, major and…