Skip to content

Instantly share code, notes, and snippets.

Aditya Bhatt adityab

Block or report user

Report or block adityab

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
adityab /
Created Jun 29, 2015
Keybase verification

Keybase proof

I hereby claim:

  • I am adityab on github.
  • I am adityab ( on keybase.
  • I have a public key whose fingerprint is A8CC 4D25 3BF1 BA6C F6D7 EDAE 5A01 4368 94BF EC2C

To claim this, I am signing this object:

View failingtest.patch
diff --git a/webodf/tests/ops/transformationtests.xml b/webodf/tests/ops/transformationtests.xml
index ab2d49b..2796d0c 100644
--- a/webodf/tests/ops/transformationtests.xml
+++ b/webodf/tests/ops/transformationtests.xml
@@ -1294,6 +1294,21 @@
+ <test name="MergeParagraphSplitParagraph_sameSourcePos">
+ <before>
View fixed-toolbar-bug-safari
<meta name="viewport" content="width=device-width, target-densityDpi=device-dpi, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
#toolbar {
text-align: center;
overflow: hidden;
top: 0;
adityab / gist:4274846
Created Dec 13, 2012
A mostly minimal vimrc
View gist:4274846
set nocompatible
syntax on
set backspace=eol,indent,start
set autoindent
set smartindent
set cursorline
set incsearch
adityab / gist:2648645
Created May 9, 2012
Sample CSS theme for Awwation
View gist:2648645
@import url(;
text {
font-family: 'Berkshire Swash', cursive;
text-shadow: 0px 0px 8px rgba(150, 150, 150, 1);
rect {
stroke: #AEAEFF;
adityab / gist:2648105
Created May 9, 2012
Out-Of-Bounds SVG example
View gist:2648105
<svg xmlns="" version="1.1" width="100" height="100">
<rect x="10" y="10" width="50" height="80" rx="-10" ry="-10" fill="red"/>
adityab / soziframes.js
Created May 9, 2012 — forked from chaosct/soziframes.js
sozi frame generator using phantomjs
View soziframes.js
soziframes.js : transforming sozi SVG animations
to a sequence of PNG images, so you can make
a proper video without capturing the screen.
author: Carles F. Julià < chaos.ct _AT_ gmail com >
You need phantomjs to run it!
var page = require('webpage').create(),
View app.js meme publishing
// publish meme = function(meme) {
if( && meme.text.line1 && meme.text.line2) {
db.collection('memes', function(err, collection) {
// add a date field and save =;
collection.insert(meme, function(err) {
You can’t perform that action at this time.