background preloader

Resources

Facebook Twitter

Netkas.org. The Religion of The Big Lebowski. Bubb Rubb And Lil Sis Soundboard. Schneier on Security. DIY Dropbox alternatives. July 26, 2011, 8:20 AM — Dropbox, when it's working and you feel good about it, is that kind of advanced technology that's indistinguishable from magic.

DIY Dropbox alternatives

Apple Time Capsule Repair - LaPastenague. Every Apple Time Capsule, running 24/7, purchased in 2008 will be dead by end of 2010.

Apple Time Capsule Repair - LaPastenague

(Well a few have made it longer.. good fortune to you.. ) The cause is dead capacitors in the oven baked, internally roasted power supply.. Average life appears to be 18-20months (See the register closed at 2500 dead TC). If you have an AppleCare warranty on any current MAC computer it should be replaced but check policy in your local area.

Note: Apple did have extended warranty on the first 6months worth of production.. this has now expired as all the Time Capsules produced in first half of 2008 exceed 3years. Time Machine for every Unix out there - IMHO. Rsync is one of the tools that have gradually infiltrated my day to day tool-box (aside Vim and Zsh).

Time Machine for every Unix out there - IMHO

Using rsync it’s very easy to mimic Mac OS X new feature called Time Machine. In this article I’ll show how to do it, but there is still a nice GUI missing – for those who like it shiny. What Time Machine does Time Machine makes a snapshot of your files every hour. The files are usually stored on a external hard drive connected to your Mac via USB or Firewire. Shuffling. Shuffling is a very interesting programming problem, Almost everybody can come up with a good algorithm using a simple rand() function, but it gets a little tricky when one has to perform a in place shuffle (i.e. w/o using any extra memory).

Shuffling

Knuth's Algorithm described in the Art of Computer programming, Vol 2 (which is based on Fisher Yates algorithm) is regarded as one the best known algorithm for the problem. Ben Pfaff: How can I shuffle the contents of an array? The function below is a reasonable way to shuffle an array into pseudo-random order in C.

Ben Pfaff: How can I shuffle the contents of an array?

The quality of the shuffle depends on the quality of implementation of the rand() function. Many implementations of rand() have predictable lower bits, so the function instead extracts randomness from the upper bits of rand()'s return value, as described in C FAQ 13.16. The shuffle's quality is also influenced by UINT_MAX, the number of possible seed values passed to srand(). Many implementations of the standard C random functions only have UINT_MAX + 1 possible internal states, so that there will only be UINT_MAX + 1 shuffles total for a given n.

An array of unique elements can be shuffled ! Learn Vim Progressively. Tl;dr: You want to teach yourself vim (the best text editor known to human kind) in the fastest way possible.

Learn Vim Progressively

This is my way of doing it. You start by learning the minimal to survive, then you integrate all the tricks slowly. Vim the Six Billion Dollar editor Better, Stronger, Faster. Learn vim and it will be your last text editor. I suggest you teach yourself Vim in 4 steps: LinuxUSBPenBoot - atv-bootloader - Apple TV bootloader. In this guide, we will build an atv-bootloader based USB flash disk that can be used for standalone boot.

LinuxUSBPenBoot - atv-bootloader - Apple TV bootloader

We will also enable telnet so we don't need a USB keyboard attached and can do everything remotely using a telnet session using a wired network connection. Unfortunately, wireless is not supported at this time. Since atv-bootloader contains all the disk tools required for creating GPT formatted partitions, one can use it to boot, partition and install Linux with a USB cdrom using only the AppleTV. Of course you do need a working Linux system to first create this USB flash disk. We need our standard items for creating an AppleTV "Recovery" partition. Parted --version. ATVBackup - atv-bootloader - Apple TV bootloader. Note: This requires "recovery-0.6.tar.gz" or greater.

ATVBackup - atv-bootloader - Apple TV bootloader

The previous versions do not contain all the required command-line tools. You have bought an AppleTV and want to alter the original internal PATA disk. To be able to restore the original contents, you need to make a backup. This is highly recommended and does not take much storage space. The AppleTV comes into two flavors, a 40GB version and a 160GB version. What we do is take advantage of the self-restoring capability that is already built into the AppleTV EFI fireware. Warning You might use "dd" to copy the entire disk but that's a waste of time and storage space and "dd" is not the correct tool to copy GPT format disks.

Prepare a Hard Drive. From AwkwardTV Overview atvDrive 1.1 <- greatly simplifies this process (Mac OS X only!)

Prepare a Hard Drive

These instructions will guide you through the preparation of a new hard disk to replace the factory disk in the Apple TV. Apple TV Harddrive Upgrade Tutorial. Update: Thanks to reader Epon, we now have a way to do this without requiring iPartition.

Apple TV Harddrive Upgrade Tutorial

So you can now do the upgrade for only the price of your new harddrive. Here it is, a step by step tutorial on upgrading your Apple TV harddrive. With thanks to Jonathan Bare, the brave soul who worked this out! It should be noted that this process will almost certainly void your Apple TV’s warranty and you are attempting this upgrade at your own risk. You can do this via the terminal, or by using some applications (which add $100 to the cost of the process).

Bell System Technical Journal, 1922-1983.