Skip to content

Instantly share code, notes, and snippets.

View danieldelcore's full-sized avatar
🐙
Say hello!

Daniel Del Core danieldelcore

🐙
Say hello!
View GitHub Profile
'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
@danieldelcore
danieldelcore / aspect-ratio
Last active August 29, 2015 14:24
Aspect Ratio Fix SASS
/*
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%;
@danieldelcore
danieldelcore / HTML Empty
Created June 24, 2015 05:34
An empty html doc. To be used as a starting point
<!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>
# Created by https://www.gitignore.io
### OSX ###
.DS_Store
.AppleDouble
.LSOverride
# Thumbnails
._*
@danieldelcore
danieldelcore / sublime-text-config
Created May 27, 2015 05:13
Sublime Text 3 - Config
{
"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",