- Get Chromium OS from one of the following places
- Download the vanilla build (old but stable): http://chromeos.hexxeh.net/
- NOTE: Password is
facepunch
- NOTE: Password is
- Download the nightly build (sync doesn't work): http://download-chromiumos.appspot.com/
- NOTE: If you want developer mode, you must change
_base_
in the download URL to_test_
as the base image does not have developer tools enabled - NOTE: Password is unknown, instructions for working around this are provided later
- NOTE: I could not get syncing working with this build, perhaps due to no API KEYS being provided???
- NOTE: If you want developer mode, you must change
- Download the vanilla build (old but stable): http://chromeos.hexxeh.net/
- NOTE: I could not move past the welcome screen on the 64bit build due to no network being found (32bit worked)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'zip/zip' | |
def zip(dir) | |
Zip::ZipOutputStream::write_buffer do |zos| | |
Dir["#{dir}/**/**"].each do |file| | |
path_for_file_in_zip = file.sub(/\A#{dir}\//, '') | |
if !File.directory?(file) | |
zip_entry = zos.put_next_entry(path_for_file_in_zip) | |
zos << IO.read(file) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Signal catching | |
def shut_down | |
puts "\nShutting down gracefully..." | |
sleep 1 | |
end | |
puts "I have PID #{Process.pid}" | |
# Trap ^C | |
Signal.trap("INT") { |
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.