1126Downloading a Website from archive.org

Sometimes it is necessary to download an archival copy of a complete website, luckily https://web.archive.org crawls the interwebs regularly. Unluckily there is no direct way to download a whole website directly.

One tool that facilitates this is the aptley named Wayback Machine Downloader:

Usage

wayback_machine_downloader https://example.com

I have been running into some issues with the original version:

Downloading https://www.example.com to websites/www.example.com/ 
from Wayback Machine archives.

Getting snapshot pages../Users/abc/.rbenv/versions/3.1.1/lib/
ruby/3.1.0/open-uri.rb:364: in `open_http': 400 BAD REQUEST
(OpenURI::HTTPError)
...

This fork is working:

wayback_machine_downloader https://example.com

Downloading https://example.com to websites/example.com/
from Wayback Machine archives.
Getting snapshot pages from Wayback Machine API...
.. found 6350 snapshots.
Saved snapshot list to websites/example.com/.cdx.json
...

If you want to download only to a certain timestamp, use the --to switch:

wayback_machine_downloader --to 20241231235959 https://example.com

688Ruby Version Manager for OSX

Nice, simple and clean way to install the latest version of Ruby and Gems on OSX.

The Tutorial: http://pragmaticstudio.com/blog/2010/9/23/install-rails-ruby-mac

And here's also the direct link: http://rvm.beginrescueend.com/

367Missing constants in RubyCocoa for Snow Leopard

Not sure if anyone except me will need this information again.

Situation: A legacy RubyCocoa Application that runs fine in OSX 10.5, but refuses to compile in 10.6. RubyCocoa is working, only access to constants seems to be problematic.

So far the following workarounds:

OSX::KCGScreenSaverWindowLevel ➯➤➲ OSX::NSScreenSaverWindowLevel

Bug Report and Workaround about inproper mapped constants in Bridgesupport on Snow Leopard http://lists.macosforge.org/pipermail/macruby-devel/2009-October.txt

Notes Structs in Ruby

365Project templates for PyObjC and RubyCocoa

svn co http://svn.macosforge.org/repository/ruby/MacRuby/trunk/misc/xcode-templates/ ruby-templates

svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-xcode/ python templates

Info from here: http://developer.apple.com/mac/library/releasenotes/DeveloperTools/RN-Xcode/index.html