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
{ | |
"auto_find_in_selection": true, | |
"caret_extra_width": 2, | |
"color_scheme": "Packages/Seti_UI/Scheme/Seti.tmTheme", | |
"draw_indent_guides": true, | |
"draw_white_space": "none", | |
"find_selected_text": true, | |
"folder_exclude_patterns": | |
[ | |
".svn", |
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
# Created by https://www.gitignore.io | |
### OSX ### | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Thumbnails | |
._* |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width,minimum-scale=1,maximum-scale=1"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> | |
<meta name="author" content="Daniel Del Core"> | |
<meta name="description" content=""> | |
<title></title> |
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
/* | |
To calculate the padding top percentage | |
[smaller-dimension] / [larger-dimension] * 100 | |
*/ | |
@mixin aspect-ratio($small-di, $large-di) { | |
$ratio: percentage($small-di / $large-di); | |
position: relative; | |
width: 100%; |
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
'use strict'; | |
/** | |
* Get the data associated with the symbol (item) within the querystring. | |
* -- | |
* @param item : 'd' | |
* @return value or undefined | |
* -- | |
* Example | |
* Url: example.com.au/?d=16 |
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
'use strict'; | |
var $ = require('jquery'); | |
$.fn.serializeObject = function() { | |
var o = {}; | |
var a = this.serializeArray(); | |
$.each(a, function() { | |
if (o[this.name]) { | |
if (!o[this.name].push) { |
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
function getFormatedDate() { | |
var today = new Date(); | |
var dd = today.getDate(); | |
var mm = today.getMonth() + 1; | |
if(dd < 10) { dd = '0' + dd; } | |
if(mm < 10) { mm = '0' + mm; } | |
return dd+'/'+mm+'/' + today.getFullYear(); |
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
sup, sub { | |
vertical-align: baseline; | |
position: relative; | |
top: -0.4em; | |
} | |
sub { | |
top: 0.4em; | |
} |
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
ul li:nth-child(3n) { | |
// Styling for every third element here. | |
} |
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
module.exports = { | |
/** | |
* Capitalises the string supplied | |
* ===================================== | |
*/ | |
capitals: function(str) { | |
return str.toUpperCase(); | |
}, |
OlderNewer