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
| jQuery.fn.ajaxModal = function() { | |
| this.each(function() { | |
| var el = $(this); | |
| el.click(function(event) { | |
| // show loading overlay (optional) | |
| $("<div class='loading' id='loading'/>").appendTo('body'); | |
| $.ajax({ | |
| url: $(this).attr('href'), |
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
| #pipeline-overview .stage::after { | |
| content: ''; | |
| position: absolute; | |
| bottom: 0; | |
| left: 0; | |
| right: 0; | |
| height: 10px; | |
| background: linear-gradient(rgba(247,248,251,0),#f7f8fb); | |
| } |
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
| body { | |
| background-color:Red; | |
| } |
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
| params do | |
| optional :data, type: Hash do | |
| requires :text, type: String, desc: 'idea_article_snippet.text' | |
| end | |
| end | |
| patch do | |
| if current_idea_article_snippet.update(idea_article_snippet_params(params[:data])) | |
| present :data, V1::Entities::IdeaArticleSnippet.represent(current_idea_article_snippet, only: params[:data].keys) | |
| else | |
| error!(current_idea_article_snippet.errors) |
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
| Optimus Changes | |
| (Must be Responsive) I'm targeting all mobile devices. | |
| 1) Toggle above sidebar used to toggle between accounts. Kinda like how google analytics account chooser works but for this type of UI. https://dl.dropbox.com/u/45706771/account_selector.png | |
| 2) 404 page. Include title bar and footer. | |
| 3) Custom title bar. buttons: tab/dropdown/big_button Make it look kinda like this => https://dl.dropbox.com/u/45706771/custom_title_bar.png | |
| 4) 4 column footer w/ link support | |
| I might have a couple more in the future. This is all I can think of off the top of my head. |
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 Jammit | |
| class Controller < ActionController::Base | |
| newrelic_ignore | |
| 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
| git update-index --assume-unchanged <FILENAME> |
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 SimpleWorker | |
| class Base | |
| class << self | |
| def merge(f) | |
| ret = nil | |
| f2 = SimpleWorker::MergeHelper.check_for_file(f, @caller_file) | |
| fbase = File.basename(f2) | |
| ret = {:name=>fbase, :path=>f2} | |
| @merged[fbase] = ret |
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 SimpleWorker | |
| class Base | |
| class << self | |
| def merge_worker(file, class_name) | |
| ret = nil | |
| f2 = SimpleWorker::MergeHelper.check_for_file(file, @caller_file) | |
| fbase = File.basename(f2) | |
| ret = {:name=>fbase, :path=>f2} |