Skip to content
View bem.scss
// BEM mixins for laying out modules.
// Based on:
//
// https://medium.com/@marcmintel/pushing-bem-to-the-next-level-with-sass-3-4-5239d2371321
$element-separator: '__' !default;
$modifier-separator: '--' !default;
// Creates a "block" in a BEM module.
//
View CSSTransitionGroup.coffee
React = require('react')
ReactTransitionGroup = require('react/lib/ReactTransitionGroup')
CSSTransitionGroupChild = require('./CSSTransitionGroupChild.cjsx')
CSSTransitionGroup = React.createClass
displayName: 'CSSTransitionGroup'
propTypes:
View in_network.sql
SELECT DISTINCT "insurance_insuranceissuer"."id", "insurance_insuranceissuer"."slug", "insurance_insuranceissuer"."issuer_code", "insurance_insuranceissuer"."legal_name", "insurance_insuranceissuer"."marketing_name", "insurance_insuranceissuer"."company_code", "insurance_insuranceissuer"."group_code", "insurance_insuranceissuer"."state", "insurance_insuranceissuer"."created_at", "insurance_insuranceissuer"."updated_at" FROM "insurance_insuranceissuer" INNER JOIN "insurance_coverage_practiceissuer" ON ( "insurance_insuranceissuer"."id" = "insurance_coverage_practiceissuer"."issuer_id" ) WHERE ("insurance_coverage_practiceissuer"."in_network" = %s AND "insurance_coverage_practiceissuer"."practice_id" = %s ) LIMIT 21' - PARAMS = (True, u'b107925f-aac8-4baa-b304-3ec720ef082d'); args=(True, u'b107925f-aac8-4baa-b304-3ec720ef082d')
View filters_1.py
from assetfiles.conf import filter, patterns
from assetfiles.filters import (CoffeeFilter, ConcatFilter,
SassFilter, UglifyFilter)
# Resembles Django's URL configuration where the filters are basically views.
# Apps could define their own filter patterns, but you would not need to
# explicitly `include` filter patterns.
#
# The big trick here is reversing the patterns in order to find the input files
View config.ru
require 'rubygems'
require "bundler/setup"
require 'rack'
require 'sprockets'
require 'sprockets-sass'
require 'compass'
Sass::Engine::DEFAULT_OPTIONS[:load_paths].tap do |paths|
paths.push *Compass.sass_engine_options[:load_paths]
View gist:752136
<!-- Works in Opera 11.0 -->
<html>
<head>
<script src="head.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<script>
head.js("script1.js");
head.ready(function() {
alert('READY!');
View Bundler Error Backtrace
/usr/local/lib/site_ruby/1.8/rubygems/dependency.rb:52:in `initialize'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:355:in `new'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:355:in `search'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:181:in `resolve'
/usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:95:in `sort_by'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:177:in `each'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:177:in `sort_by'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:177:in `resolve'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:162:in `start'
/home/[username]/.gem/ruby/1.8/gems/bundler-1.0.0/lib/bundler/resolver.rb:131:in `resolve'
Something went wrong with that request. Please try again.