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
$tw: ( | |
screens: ( | |
sm: 640px, | |
md: 768px, | |
lg: 1024px, | |
xl: 1280px | |
), | |
colors: ( | |
transparent: transparent, | |
black: #000, |
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
$tw: ( | |
screens: ( | |
sm: 640px, | |
md: 768px, | |
lg: 1024px, | |
xl: 1280px | |
), | |
colors: ( | |
transparent: transparent, | |
black: #000, |
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
/* | |
Two steps to get bootstrap css working with foundation | |
- Adding main overrides to bower.json | |
- Removing exclusions from conf/gulp.conf.js | |
*/ |
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
$fa-font-path: "~font-awesome/fonts"; | |
@import '~font-awesome/scss/font-awesome'; | |
.glyphicon { | |
@extend .fa; | |
&.glyphicon-asterisk { | |
@extend .fa-asterisk; | |
} | |
&.glyphicon-plus { | |
@extend .fa-plus; |
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
param | |
( | |
[string] $inputFile, | |
[string] $outputFile | |
) | |
if (($inputFile -eq $null) -or ($outputFile -eq $null)) { | |
"usage: convert_csv_to_json.ps1 [inputFile] [outputFile]" | |
return; | |
} |
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
JSON.flatten = function (data) { | |
var result = {}; | |
function recurse(cur, prop) { | |
if (Object(cur) !== cur) { | |
result[prop] = cur; | |
} else if (Array.isArray(cur)) { | |
for (var i = 0, l = cur.length; i < l; i++) | |
recurse(cur[i], prop + "[" + i + "]"); | |
if (l == 0) result[prop] = []; |
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
<?xml version="1.0"?> | |
<configuration> | |
<system.webServer> | |
<httpProtocol> | |
<customHeaders> | |
<add name="X-Prerender-Token" value="XXXXXXXXXXXXX" /> | |
</customHeaders> | |
</httpProtocol> | |
<rewrite> | |
<rules> |
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
//#region function recursiveFind | |
function recursiveFind(data, key, childKey, match, result) { | |
///<summary>Returns JSON obj and its parents based on a data set, key and match.</summary> | |
///<param name="data" type="Object" optional="false">the data object you want to find within</param> | |
///<param name="key" type="String" optional="false">the key for the data you want to match against eg. 'id' will look for data.id</param> | |
///<param name="childKey" type="String" optional="false">the data object you want to find within</param> | |
///<param name="match" type="Any" optional="false">the data object you want to find within</param> | |
///<returns type="Object">returns the found result</returns> |
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
/* | |
* TextAreaExpander plugin for jQuery | |
* v1.0 | |
* Expands or contracts a textarea height depending on the | |
* quatity of content entered by the user in the box. | |
* | |
* By Sam Blowes | |
* | |
* As featured on SitePoint.com: | |
* http://www.sitepoint.com/blogs/2009/07/29/build-auto-expanding-textarea-1/ |