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

Keybase proof

I hereby claim:

  • I am adityab on github.
  • I am adityab (https://keybase.io/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 @@
<office:text><text:p>a</text:p><text:p>bc</text:p></office:text>
</after>
</test>
+ <test name="MergeParagraphSplitParagraph_sameSourcePos">
+ <before>
View fixed-toolbar-bug-safari
<html>
<head>
<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">
<script>
</script>
<style>
#toolbar {
text-align: center;
overflow: hidden;
top: 0;
@adityab
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
adityab / gist:2648645
Created May 9, 2012
Sample CSS theme for Awwation
View gist:2648645
@import url(http://fonts.googleapis.com/css?family=Berkshire+Swash);
text {
font-family: 'Berkshire Swash', cursive;
text-shadow: 0px 0px 8px rgba(150, 150, 150, 1);
}
rect {
stroke: #AEAEFF;
}
@adityab
adityab / gist:2648105
Created May 9, 2012
Out-Of-Bounds SVG example
View gist:2648105
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100" height="100">
<rect x="10" y="10" width="50" height="80" rx="-10" ry="-10" fill="red"/>
</svg>
@adityab
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
everyone.now.publish = function(meme) {
if(meme.name && meme.text.line1 && meme.text.line2) {
db.collection('memes', function(err, collection) {
// add a date field and save
meme.date = Date.now();
collection.insert(meme, function(err) {
if(!err)
everyone.now.receiveMeme(meme);
});
You can’t perform that action at this time.