This file contains hidden or 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
| $ git commit -am "fixed it" | |
| $ git checkout master | |
| $ git merge some-bug |
This file contains hidden or 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
| <div id="footer"> | |
| This site is Copyright © 2008 - blah, blah, blah | |
| </div> |
This file contains hidden or 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
| module Comfy | |
| class Database | |
| # we'll use some other Comfy:: classes here | |
| include Comfy | |
| def initialize( name ) | |
| # setup the instance using 'name' | |
| end | |
| end | |
| end |
This file contains hidden or 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
| # aptitude remove apache2-mpm-worker | |
| # aptitude install apache2-mpm-prefork | |
| # aptitude install apache2-prefork-dev |
This file contains hidden or 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
| class Document | |
| class NotFound < StandardError; end | |
| class InvalidFieldName < StandardError; end | |
| @@__cache = {} | |
| @@connection = nil | |
| @@database_name = nil | |
| @@database = nil | |
| def self.cached |
This file contains hidden or 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).siblings('pre').slideDown( event.shiftKey ? 4000 : 'fast' ); |
This file contains hidden or 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
| // Note: The functions should be wrapped in "double quotes" the | |
| // same as the keys, I've removed them here for syntax | |
| // highlighting purposes. | |
| { | |
| "_id": "_design/ratings", | |
| "views": { | |
| "by_permalink": { | |
| "reduce": function( keys, values ) { | |
| return sum( values ) / values.length; |
This file contains hidden or 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
| html { | |
| overflow-y: scroll; | |
| } |
This file contains hidden or 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
| import flash.display.Graphics; | |
| import flash.display.BitmapData; | |
| import flash.geom.Matrix; | |
| import flash.events.MouseEvent; | |
| [Embed(source='overlay.png')] | |
| private var Overlay:Class; | |
| private var g:Graphics; | |
| private var bmd:BitmapData; |
This file contains hidden or 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
| <form id="comment_form" | |
| action="/cgi-bin/comment.py" | |
| method="post"> | |
| Full Name: <input name="full_name" /><br/> | |
| Email <small>(optional)</small>: <input name="email" /><br/> | |
| Subject: <select name="subject"> | |
| <option selected value="Comment">Comment</option> | |
| <option value="Complaint">Complaint</option> | |
| <option value="Question">Question</option> | |
| </select><br/> |