Skip to content

Instantly share code, notes, and snippets.

View vaibhavb's full-sized avatar

Vaibhav Bhandari vaibhavb

View GitHub Profile
@vaibhavb
vaibhavb / README.md
Last active December 28, 2015 01:49
What's the world buying?

This table shows consumption of countries around the world. Its a list of costs! May be i'll break them in separate bars.

@vaibhavb
vaibhavb / README.md
Last active December 28, 2015 04:48
Nigerians love clothes...is it?

Another stacked graph!

@vaibhavb
vaibhavb / notebook.md
Created January 9, 2014 23:25
Politicians In India!
@vaibhavb
vaibhavb / mbox.html
Last active August 29, 2015 13:55
CSS - Message box
<!doctype html>
<html>
<head>
<style>
</style>
</head>
<body>
<section class="module">
<header class="top-bar">
<link rel="import" href="../components/polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="" xmlns:cda="urn:hl7-org:v3" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mif="urn:hl7-org:v3/mif" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:h="urn:com.microsoft.wc.thing" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0"><xsl:output method="xml" indent="no" encoding="utf-8" /><xsl:param name="g_debug" /><xsl:template name="Unknown"><xsl:text>Unknown</xsl:text></xsl:template><xsl:template name="Write_LF"><xsl:value-of select="h:lf()" /></xsl:template><xsl:template name="Write_Line"><xsl:param name="value" /><xsl:if test="$value != ''"><xsl:value-of select="$value" /><xsl:call-template name="Write_LF" /></xsl:if></xsl:template><xsl:template name="Write_Divider"><xsl:call-template name="Write_Line"><xsl:with-param name="value">----------</xsl:with-param></xsl:call-template></xsl:template><xsl:template name="Concat"><xsl:param name="separator" /><xsl:param name="n
@vaibhavb
vaibhavb / MicrosoftHealthVaultCCD.xsl
Last active August 29, 2015 14:03
HealthVault XSLT for CCD/A documents. Created using the documentation available [here](http://blogs.msdn.com/b/familyhealthguy/archive/2011/07/10/healthvault-data-type-awesomeness.aspx)
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="" xmlns:cda="urn:hl7-org:v3"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mif="urn:hl7-org:v3/mif"
xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:h="urn:com.microsoft.wc.thing"
xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:output method="xml" indent="no" encoding="utf-8"/>
<xsl:param name="g_debug"/>
<xsl:template name="Write_LF">
<xsl:value-of select="h:lf()"/>
</xsl:template>
@vaibhavb
vaibhavb / Boxes.markdown
Last active August 29, 2015 14:27
Boxes
@vaibhavb
vaibhavb / Readme.txt
Created March 1, 2016 00:00
An example to show python 3.2 subprocess module working on Python 2.7 with the timeout parameter
In a terminal try:
> python fork.py
@vaibhavb
vaibhavb / 2022-01-09-intro2python.ipynb
Created January 9, 2023 20:28
2022-01-09-intro2python.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.