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
/* Character Count for Posts */ | |
function checkPostForURL(post){ | |
var matches = [], | |
urlexp = new RegExp("(^|[ \t\r\n])((http|https):(([A-Za-z0-9$_.+!*(),;/?:@&~=-])|%[A-Fa-f0-9]{2}){2,}(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*(),;/?:@&~=%-]*))?([A-Za-z0-9$_+!*();/?:~-]))","g"), | |
$linkShort = $('#linkstoshort'), | |
matchIdx = 0; | |
if ( post !== undefined ){ | |
if ( urlexp.test(post) ){ | |
var offset = 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
// Put this file in Program Files\Adobe\Photoshop\Presets\Scripts\ | |
// In PhotoShop menu File > Automate > Scripts: layersToSprite.js | |
// Arrange layers into a sprite sheet. | |
if (documents.length > 0) | |
{ | |
// -------------------------- | |
docRef = activeDocument; |
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
// ---- | |
// libsass (v2.0.0) | |
// ---- | |
%Placeholder1 { | |
color: red; | |
} | |
%Placeholder2 { | |
background: black; |
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
// ---- | |
// Sass (v3.4.12) | |
// Compass (v1.0.3) | |
// ---- | |
/*CUSTOM*/ | |
body{ | |
#HeaderBar { | |
background: none; | |
margin-bottom: 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
@font-face { | |
font-family: 'eagle-bookregular'; | |
src: url('/fonts/WW/EAGLBK.eot'); | |
src: url('/fonts/WW/EAGLBK.eot?#iefix') format('embedded-opentype'), | |
url('/fonts/WW/EAGLBK.woff2') format('woff2'), | |
url('/fonts/WW/EAGLBK.woff') format('woff'), | |
url('/fonts/WW/EAGLBK.ttf') format('truetype'); | |
font-weight: bold; | |
font-style: normal; | |
} |
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
actions: { | |
renderTopLevel: function () { | |
this.sendAction('renderTopLevel'); | |
}, | |
renderPost: function () { | |
this.sendAction('renderPost'); | |
} |
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
/* global require, module */ | |
var stew = require('broccoli-stew'); | |
var concat = require('broccoli-concat'); | |
var Funnel = require('broccoli-funnel'); | |
var replace = require('broccoli-string-replace'); | |
var mergeTrees = require('broccoli-merge-trees'); | |
var esTranspiler = require('broccoli-babel-transpiler'); | |
var HtmlbarsCompiler = require('ember-cli-htmlbars'); | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); |
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
#!/usr/bin/env node | |
var fs = require('fs'); | |
var path = require('path'); | |
var log = require('verbalize'); | |
var yaml = require('js-yaml'); | |
var Nightmare = require('nightmare'); | |
var Promise = require('q').Promise; | |
var argv = require('minimist')(process.argv.slice(2)); |
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
/*jshint node:true*/ | |
var stew = require('broccoli-stew'); | |
var Funnel = require('broccoli-funnel'); | |
var BroccoliMergeTrees = require('broccoli-merge-trees'); | |
var OPTIONAL_ROUTES = [ | |
'optional-1', | |
'optional-2' | |
]; |
OlderNewer