Skip to content

Instantly share code, notes, and snippets.

Divya Manian nimbupani

Block or report user

Report or block nimbupani

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nimbupani / index.html
Created Dec 2, 2011
Showing latest post on home page with Jekyll
View index.html
layout: default
<div class="blog-index">
{% assign post = site.posts.first %}
{% assign content = post.content %}
{% include post_detail.html %}
nimbupani / yaml.txt
Created Dec 29, 2011 — forked from anonymous/yaml.txt
a really useless fucking yaml cheat sheet
View yaml.txt
Collection indicators:
'? ' : Key indicator.
': ' : Value indicator.
'- ' : Nested series entry indicator.
', ' : Separate in-line branch entries.
'[]' : Surround in-line series branch.
'{}' : Surround in-line keyed branch.
Scalar indicators:
'''' : Surround in-line unescaped scalar ('' escaped ').
'"' : Surround in-line escaped scalar (see escape codes below).
nimbupani / gist-clone.js
Created Sep 30, 2011 — forked from tbranyen/gist-clone.js
clone all gists
View gist-clone.js
#!/usr/bin/env node
var request = require("request");
var exec = require("child_process").exec;
if (process.argv.length < 3) {
console.log("Missing username argument");
var username = process.argv[2];

grid-row: span 2/3

The original syntax was:

grid-row-span: 2;

My concerns

  • I do not understand why this was altered.
  • The newer syntax is harder to understand than the old one.
nimbupani / gyazo.rb
Created Aug 27, 2012
Hacking Gyazo to save to AWS
View gyazo.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'aws/s3'
# capture png file
tmpfile = "/tmp/image_upload#{$$}.png"
imagefile = ARGV[1]
if imagefile && File.exist?(imagefile) then
echo '================================================================='
echo 'This will set up all the files necessary for Test the web forward'
echo '================================================================='
promptValue() {
read -p "$1"": " val
echo $val
nimbupani / gist:2770321
Created May 22, 2012 — forked from paulirish/gist:2731401
draft post on a11y
View gist:2770321

Jacob Thornton has an inspiring slide deck on accessibility that brings to fore all the concerns that web developers have with implementing features around accessibility.

For a very long time, developers have been told about making websites 'accessible'. Like it is a faucet that should be turned on or off. Till [Victor Tsaran's demonstration of using a screenreader][] (which was in 2007 - a very long time since accessibility evangelism began) - very few web developers had any idea of the real immediate impact of implementing accessibility features.

It is also interesting that very few developers even knew that blind users of screen readers read at such an extraordinary speed that very few sighted users are capable of. What are some of the other abilities that disabled users of the web use to their advantage?

People like Jason Kiss and Steve Faulkner who detail the [behavior and suppo

nimbupani /
Created Mar 31, 2012 — forked from erikh/
OSX For Hackers
#!/usr/bin/env sh
# This is script with usefull tips taken from:
# install it:
# curl -sL | sh
nimbupani / prefixed.css
Created Mar 7, 2012
Trying some ideas for prefix solution
View prefixed.css
h1 {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
body {
background-image: -webkit-gradient(linear, #000, #fff), url('image.png');
nimbupani / color-overlay.scss
Created Feb 18, 2012
Fake color overlay on an image with gradients
View color-overlay.scss
// Use @include colorize('image.png', red, 0.5)
@mixin colorize($image, $color, $opacity) {
background: $color;
$color: transparentize($color, 1 - $opacity);
background: -webkit-linear-gradient(left, $color, $color), url($image);
background: -moz-linear-gradient(left, $color, $color), url($image);
background: -ms-linear-gradient(left, $color, $color), url($image);
background: -o-linear-gradient(left, $color, $color), url($image);
You can’t perform that action at this time.