Skip to content

Instantly share code, notes, and snippets.


Richa Avasthi ravasthi

View GitHub Profile
View macvim.rb
require 'formula'
class Macvim < Formula
homepage ''
url ''
version '7.3-66'
sha1 'd11696f7089688fa96a45fc57410c60f6ca5a394'
head '', :branch => 'master'
View color-management-01.scss
$old-copper : #6f452b;
$tuscany : #c8653a;
$hurricane : #94847c;
$bone : #e5dbc7;
$pattens-blue : #dde7f3;
$rain-forest : #696f2b;
$lochinvar : #46948d;
$jacarta : #4b2b6f;
$fire : #8a3528;
$azure : #37649b;
ravasthi / compass-01.html
Created Oct 24, 2011
Compass will change your life
View compass-01.html
<style type="text/css">
/*clearfix styles here*/
float: left
ravasthi / back-button-cache-01.conf
Created Oct 24, 2011
Browser back button cache
View back-button-cache-01.conf
Cache-Control: no-cache, max-age=0, must-revalidate, no-store
ravasthi / css3-foundation-01.txt
Created Oct 27, 2011
How we bootstrap responsive web designs
View css3-foundation-01.txt
ravasthi / ios5-fixed-positioning.html
Created Oct 28, 2011
iOS 5 MobileSafari fixed-positioning + JavaScript scroll bug
View ios5-fixed-positioning.html
<!DOCTYPE html>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>iOS fixed positioning/JS scroll test</title>
<style type="text/css" media="screen">
View html5-placeholder.html
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>HTML5 Placeholder</title>
<style type="text/css" media="screen">
ravasthi / markup.html
Created Dec 6, 2011
Add retina graphics to your website
View markup.html
<div id="page">
<a class="home" href="/"><div class="logo">&nbsp;</div></a>
<a class="gallery" href="gallery.html">Gallery</a>
<a class="pricing" href="pricing.html">Pricing</a>
<a class="contact" href="">Contact</a>
</div> <!-- /#page -->
View favicon.html
<!-- Favicons and touch icons -->
<!-- For retina-display iPads -->
<link href="/assets/images/apple-touch-icon-xlarge.png" rel="apple-touch-icon-precomposed" sizes="144x144" type="image/png"/>
<!-- For retina-display iPhones -->
<link href="/assets/images/apple-touch-icon-large.png" rel="apple-touch-icon-precomposed" sizes="114x114" type="image/png"/>
<!-- For iPad 1 -->
<link href="/assets/images/apple-touch-icon-medium.png" rel="apple-touch-icon-precomposed" sizes="72x72" type="image/png"/>
<!-- For iPhone 3G, iPod Touch and Android -->
<link href="/assets/images/apple-touch-icon-small.png" rel="apple-touch-icon-precomposed" type="image/png"/>
<!-- For Nokia -->
ravasthi / Rakefile
Created Feb 14, 2012
Jekyll Rakefile modifications
View Rakefile
require "rubygems"
require "rake"
require "fileutils"
SOURCE = "."
'themes' => File.join(SOURCE, "_includes", "themes"),
'layouts' => File.join(SOURCE, "_layouts"),
'posts' => File.join(SOURCE, "_posts"),
'post_ext' => "md"
You can’t perform that action at this time.