Original: http://www.shadowandy.net/2012/03/asus-rt-n66u-tomatousb-firmware-flashing-guide.htm
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
#!/bin/zsh | |
### BEGIN INIT INFO | |
# Provides: hubot | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the hubot service | |
# Description: starts the Hubot bot for the Campfire rooms |
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
#!/bin/bash | |
# | |
# pgpool-II replication manager | |
# | |
# Interfaces with pgpool's pcp command-line tools to provide access to common functions for managing | |
# load-balancing and failover. | |
# | |
# dsimmons@squiz.co.uk | |
# 2011-08-28 |
- First, plug in an 8GB (or bigger) USB drive, and use Disk Utility to erase it
- If you use the default settings, you should wind up with a blank drive at
/Volumes/Untitled
.
With that volume in place, and with the macOS installer sitting in /Applications/Install\ macOS\ [VERSION].app
,
run the following command in your terminal to create a bootable install media (for Sierra):
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
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
Ruby is a complex programming language. It’s power comes from the richness and flexibility of the language’s features. | |
There’s so many cool and interesting bits to ruby, that sometimes we don’t take the time to fully grok them all. | |
It’s possible to use a Ruby feature everyday, but not really understand how it works. | |
In this talk, we’ll dig deep into 5 of the most commonly misunderstood aspects of programming in Ruby. | |
Geared mostly towards newer Ruby devs, but there’ll certainly be something for everyone! | |
* Code evaluation time | |
* Methods called while defining a class (attr_accessor, has_many, etc) |