// jQuery
$(document).ready(function() {
// code
})
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
opacity(amount) | |
opacity amount | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=%s)" % (amount * 100); | |
// Just use opacity as you normally would in your stylus, and get support for IE8! |
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
Error processing request | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:606) | |
at core.http.RoutesHandler.channelRead0(RoutesHandler.java:161) | |
at core.http.RoutesHandler.channelRead0(RoutesHandler.java:47) | |
at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98) | |
at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:334) |
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
{ | |
"generatorsetup": { | |
"_id": "524e96b7ef86a4744ecc806c", | |
"name": "Iest test", | |
"catalogueId": "523314fc1c264d2131cbe7df", | |
"type": "ADWORDS", | |
"grouping": "", | |
"fields": { | |
"campaign": "", | |
"adgroup": "", |
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
setupController: function(controller, model) { | |
var report; | |
if (Ember.typeOf(model) === 'instance') { | |
report = model; | |
} else { | |
var title = this.get('routeName').split('.')[1]; |
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
# Turn off greeting | |
set fish_greeting "" | |
# Aliases | |
alias gs='git status' | |
alias ga='git add' | |
alias gc='git commit' | |
alias gl='git log' | |
alias gpr='git pull-request' | |
alias cpwd='pwd | pbcopy' |
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
/** | |
* Changes effective as of v1.2-2014-g59824b3 | |
* | |
* Update Holistic's CMS MongoDB schema to reflect API changes. | |
* | |
* 1. Remove leading slashes from the `relativePath`s of all pages | |
* 2. Replace template ObjectIDs stored on the page with the template file name. | |
* 3. Drops the `simpleCmsTemplates` collection. | |
* 4. Recursively add `absolutePath`s to all pages | |
* |
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
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Set the colours you can use | |
black='\033[0;30m' | |
white='\033[0;37m' | |
red='\033[0;31m' | |
green='\033[0;32m' |
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
gulp.task('styleguide', ['build'], function() { | |
var React = require('react'); | |
require('node-jsx').install(); | |
var p = require('path'); | |
var components = {}; | |
// This is the important bit | |
var normalizedPath = p.join(__dirname, "src/components/"); | |
require("fs").readdirSync(normalizedPath) |
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
'use strict'; | |
var React = require('react'); | |
var BzIframe = React.createClass({ | |
propTypes: { | |
src: React.PropTypes.string.isRequired, | |
onLoad: React.PropTypes.func | |
}, |
OlderNewer