Skip to content

Instantly share code, notes, and snippets.

View tatygrassini's full-sized avatar

tatygrassini tatygrassini

View GitHub Profile
@tatygrassini
tatygrassini / prestashop gitignore
Created February 17, 2012 16:59 — forked from prestarocket/prestashop gitignore
Prestashop gitignore
# This is a template .gitignore file for git-managed Prestashop projects. Inspired by micahwalter wordpress gitignore
#Ignore ds_store
*.DS_Store
# Ignore everything in the root except modules, themes and override.
/*
!modules/
!themes/
@tatygrassini
tatygrassini / style.css
Created July 2, 2012 02:02 — forked from necolas/style.css
CSS: normalize.css
/* =============================================================================
HTML5 element display
========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }
/* =============================================================================
Base
@tatygrassini
tatygrassini / config.rb
Created July 2, 2012 04:38
Sass: config file for Compass
# Require any additional compass plugins here.
# require 'modular-scale'
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
@tatygrassini
tatygrassini / google_adsense 250x300.html
Created July 5, 2012 17:49
HTML: Google AdSense 250x300
<html>
<head>
<title>Google AdSense 250x300</title>
<style>
body {
background-color:transparent;
font-family:verdana,arial,sans-serif;
}
/*
Make the Facebook Like box responsive (fluid width)
https://developers.facebook.com/docs/reference/plugins/like-box/
*/
/* This element holds injected scripts inside iframes that in some cases may stretch layouts. So, we're just hiding it. */
#fb-root {
display: none;
}
@tatygrassini
tatygrassini / CSS_wrapper_hack.html
Last active December 11, 2015 04:58
CSS hack for markup wrappers
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Hacking wrappers</title>
<style>
/* normalize CDN, test it on a server or add http: to the import */
Single line, no attribution:
<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
</figure>
Single line, with attribution and optional cite:
<figure class="quote">
<blockquote>It is the unofficial force—the Baker Street irregulars.</blockquote>
<section class="map cf">
<header>
<h3>Super Responsive Map</h3>
</header>
<div class="map" id="map"></div>
<ul class="mapinfo"></ul>
</section>
jQuery(".modal-backdrop, .youtube .btn").click(function() {
var iframe = jQuery(this).parent().parent().find("iframe");
iframe.attr("src", iframe.attr("src"));
});
@tatygrassini
tatygrassini / 1001-albums
Last active November 4, 2024 20:11
1001 Albums You Must Hear Before You Die
1001 Albums You Must Hear Before You Die
List taken from then book edited by Robert Dimery.
Missing from the list:
Machito - Kenya 1957
Jack Elliot - Jack Takes The Floor 1958
Dolly Parton - Coat Of Mahy Colors 1971
George Jones - The Grand Tour 1974
R.D. Burman / Bappi Lahiri - Shalimar / College Girl 1975