Part of a series of examples. See:
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
2013 Keystone Cougar XLite 5th Wheel (manufactured in NOV 2012). 5th wheel weighs 7,100 LBS unloaded, and we currently pull it with a Ford F-150 (1/2 ton) pickup. 5th wheel includes two slides (living room and closed in bedroom), a queen size bed, a fold-out couch with blow-up mattress, and a fold down dining area for an additional bed. Also includes a flat screen TV (27" I think), radio/CD/DVD combo with speakers inside and out, a rear kitchen with fridge/freezer, gas stove, gas oven, and microwave/over-hood fan combo. And then there's a single AC unit and gas furnace (both ducted throughout trailer) and two recliners. Outside, there's an electric awning, outdoor shower, and gas grill that attaches to the back of the 5th wheel. The 5th wheel has electric jacks on the front and manual scissor jacks on the back. A remote control is also included that controls both slides, the awning, and the front jacks. The 5th wheel also includes the polar insulation package. |
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
# this works... | |
route -n | grep ^0.0.0.0 | tr -s ' ' | cut -d ' ' -f2 | |
# and so does this... | |
ip route | grep ^default | cut -d ' ' -f3 |
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
HOMEBREW_VERSION: 0.9.2 | |
HEAD: 85de683f26cb777cd5fc552f4ceb54e92a905086 | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit arrandale | |
OS X: 10.6.8-i386 | |
Xcode: 4.1 | |
GCC-4.0: N/A | |
GCC-4.2: build 5666 | |
LLVM: build 2335 |
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 'formula' | |
class FooCore < Formula | |
url 'http://example.com/downloads/foo-core-21924.tgz' | |
sha1 '91cc434e88c1e370650927d8525cb828d7f7859a' | |
version '21924' | |
homepage 'http://foo.example.com/' | |
depends_on 'cmake' | |
depends_on 'boost' |
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 'rubygems' | |
require 'eventmachine' | |
EM.run do | |
memcache = EM::Protocols::Memcache.connect('127.0.0.1', 11211) | |
begin | |
memcache.get(:foo) do |value| | |
if value.nil? | |
raise Exception, "Tag :foo not found" |
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 'rubygems' | |
require 'xml' | |
doc = LibXML::XML::Document.file '/path/to/xml_document' | |
schema = LibXML::XML::Schema.new '/path/to/xml_schema' | |
doc.validate_schema(schema) do |message,flag| | |
puts message | |
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
### RPC Server Implementation File ### | |
import interface | |
import app_pb2 | |
class ApplicationServiceImpl(app_pb2.ApplicationService): | |
def __init__(self): | |
self.interface = interface.ApplicationInterface() | |
def CreateSystem(self, controller, request, done): |
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
# My bash_prompt file to do the following: | |
# - don't show current path | |
# - show current branch and branch status if in a git repository | |
# | |
# Original taken from: | |
# http://git.dreaminginlyrics.com/?p=configs.git;a=blob_plain;f=.bash_prompt;hb=HEAD | |
# | |
# I added: | |
# - prompt_git_open_bracket | |
# - prompt_git_close_bracket |