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
| var Crossfade = new Class({ | |
| Implements: [Options, Chain], | |
| options: { | |
| duration: 1000 | |
| }, | |
| initialize: function(element, options) { | |
| this.setOptions(options); | |
| this.element = element; | |
| this.currentIndex = 0; |
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
| location / { | |
| if (-f $document_root/system/maintenance.html) { | |
| return 503; | |
| } | |
| try_files $uri $uri/index.html @proxy; | |
| } | |
| error_page 503 @503; |
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
| Showing app/views/shared/_search_user_form.html.haml where line #1 raised: | |
| negative argument | |
| Extracted source (around line #1): | |
| 1: - form_tag(users_path, :method => 'get') do | |
| 2: %div | |
| 3: -# Email: #{text_field_tag "email"} | |
| 4: %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
| GlitchyGem.configure do |config| | |
| config.api_key = "YOUR_API_KEY" | |
| 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
| var url = "/txn_store_api"; | |
| var t = new Thrift.Transport(); | |
| var p = new Thrift.Protocol(t); | |
| var client = new TxnStore.TxnStoreClient(p); | |
| var d = dojo.xhrPost({ | |
| url: url, | |
| handleAs: "json", | |
| postData: client.send_getTxns("110237153", []), | |
| load: function(res){ |
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
| def proc = ["which", "git"].execute() | |
| proc.waitFor() | |
| println "stdout: ${proc.in.text}" |
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
| Reference: | |
| refs/heads/* | |
| Owner | |
| Administrators | |
| Anonymous Users | |
| Create Reference | |
| Administrators | |
| Anonymous Users | |
| Push | |
| Administrators |
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
| #!/bin/bash | |
| exec god -D |
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
| ~/Sites/outright.github.com[master]% gem list | |
| *** LOCAL GEMS *** | |
| rake (0.9.2 ruby) | |
| rubygems-update (1.8.8) | |
| ~/Sites/outright.github.com[master]% gem install jekyll | |
| Fetching: liquid-2.2.2.gem (100%) | |
| Fetching: fast-stemmer-1.0.0.gem (100%) | |
| Building native extensions. This could take a while... |
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
| def create | |
| @glitch = current_user.glitches.new(params[:glitch]) | |
| respond_to do |format| | |
| if @glitch.save | |
| UserMailer.glitch(@glitch).deliver | |
| format.xml { render :xml => @glitch, :status => :created, :location => @glitch } | |
| format.json { render :json => @glitch } | |
| else | |
| format.xml { render :xml => @glitch.errors, :status => :unprocessable_entity } |