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
//basic parameters - Change for your grid | |
$number_of_columns: 10 | |
$width_of_gutters: 20px | |
$width_of_grid: 900px | |
//calculate parameters | |
$column_width:($width_of_grid / $number_of_columns - $width_of_gutters) | |
$padding: $width_of_gutters / 2 | |
.col |
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
/* | |
* Date Format 1.2.3 | |
* (c) 2007-2009 Steven Levithan <stevenlevithan.com> | |
* MIT license | |
* | |
* Includes enhancements by Scott Trenda <scott.trenda.net> | |
* and Kris Kowal <cixar.com/~kris.kowal/> | |
* | |
* Accepts a date, a mask, or a date and a mask. | |
* Returns a formatted version of the given date. |
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
/* | |
* Cross-browser display: inline-block | |
* | |
* References: | |
* - http://foohack.com/2007/11/cross-browser-support-for-inline-block-styling/ | |
* - http://www.getonthenet.eu/css-howto-cross-browser-inline-block/ | |
*/ | |
inline-block { | |
display: -moz-inline-box; /* Firefox 2 */ |
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
String.prototype.trim = function() { | |
return this.replace(/^\s+|\s+$/g,""); | |
} | |
String.prototype.ltrim = function() { | |
return this.replace(/^\s+/,""); | |
} | |
String.prototype.rtrim = function() { | |
return this.replace(/\s+$/,""); | |
} |
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
<style type="text/css"> | |
.clearfix:after { | |
content: "."; | |
display: block; | |
height: 0; | |
clear: both; | |
visibility: hidden; | |
} |
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
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0 | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
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
// | |
// .Net DataGrid spits out only a tbody for the entire table, but http://datatables.net/ needs thead as well | |
// This yanks out the first row of the table, assumed to be the header row, then places it within a new thead | |
// Should be called like this: #("#dot_net_table_id").convertFirstTableRowToHeader().dataTable(); | |
// | |
(function ($) { | |
$.fn.convertFirstTableRowToHeader = function () { | |
return this.each(function () { | |
var table = $(this); | |
if (!table.is("table")) |
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
/// | |
/// A singleton class template for header (.h) | |
/// | |
@interface Singleton : NSObject | |
+ (Singleton*)shared; | |
@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
/// <summary> | |
/// Class for holding extensions for the HtmlHelper function | |
/// </summary> | |
public static class HtmlHelperExtensions | |
{ | |
/// <summary> | |
/// Returns true if the build is DEBUG; otherwise, returns false | |
/// </summary> | |
/// <param name="htmlHelper"></param> | |
/// <returns></returns> |
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
# File Types known to be unecessary | |
*.swp | |
*.bin | |
*.checkpoint | |
*ShaderCache* | |
*PCTOC* | |
*.log | |
*.obj | |
*IphoneTOC* | |
*.dmp |
OlderNewer