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
"============================================================================= | |
" dracula.vim --- dracula theme for SpaceVim | |
" Author: Joseph DelCioppio < joseph.delcioppio@gmail.com > | |
" URL: https://spacevim.org | |
" License: GPLv3 | |
"============================================================================= | |
" The default color palette that Dracula.vim exports | |
" { | |
" 'bgdarker': ['#191A21', 234], | |
" 'bgdark': ['#21222C', 235], |
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
ActBlue | |
Basecamp | |
Big cartel | |
Box | |
Business Insider | |
CNN | |
Cleveland.com | |
Etsy | |
Github | |
Grubhub |
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
class RegistrationsController < ApplicationController | |
def create | |
# Some logic to sign up | |
render json: @user, each_serializer: UserSerializer | |
end | |
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
collection = new Backbone.Collection([{id: 1, name: 'bar'}, {id: 2, name: 'foo'}]) | |
firstModelInstance = collection.findWhere({id: 1}) | |
firstModelInstance.on 'testEvent', -> | |
console.log 'Does this get run?' | |
firstModelInstance = undefined |
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
3) Streetstyle when keywords is not nil adds source_name to keywords after source_name is set | |
Failure/Error: streetstyle.keywords.should == 'red My Blog' | |
expected: "red My Blog" | |
got: "red" (using ==) | |
# ./spec/models/streetstyle_spec.rb:16:in `block (3 levels) in <top (required)>' |
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
webpack app/js/entrypoint.coffee generated/webpack.js -d ● webpack-conversion@8f473d9 | |
Hash: c18c8e88db17da071caa | |
Version: webpack 1.4.5 | |
Time: 57ms | |
Asset Size Chunks Chunk Names | |
webpack.js 2041 0 [emitted] main | |
webpack.js.map 1749 0 [emitted] main | |
[0] ./app/js/entrypoint.coffee 118 {0} [built] [2 errors] | |
[1] ./app/js/closetspace/closetspace.coffee -1 [built] [failed] | |
[2] ./app/js/closetspace/router.coffee -1 [built] [failed] |
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
def notify_user | |
Notification.create text: text do |notification| | |
notificaiton.user = followed_user | |
notification.notable = user | |
end | |
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
require "capybara/rspec" | |
require 'rspec/example_steps' | |
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") | |
require File.expand_path(File.dirname(__FILE__) + "/support/helpers") | |
require File.expand_path(File.dirname(__FILE__) + "/support/paths") | |
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} | |
include ApplicationHelper | |
include HelperMethods | |
include FacebookAuthHelper |
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
--color -f TmuxNotifier |
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
module DEFT | |
class RemittanceSlip | |
def initialize(*credits) | |
@credits = credits | |
end | |
def print | |
output = print_header_record |
NewerOlder