Skip to content

Instantly share code, notes, and snippets.

View shubhgo's full-sized avatar

Shubham Goel shubhgo

View GitHub Profile
/*@font-face {
font-family: 'm1plusm';
src: url(https://mplus-fonts.osdn.jp/webfonts/basic_latin/mplus-1m-light-sub.woff) format("truetype");
}*/
.figure img {
background-color: white
}
.tb-title-wrapper {
@shubhgo
shubhgo / README.md
Last active May 19, 2021 14:37
D3 tree with weighted links and color coding

A tree visualization built using d3 and inspired from mbostock's work. Some of the features supported are:

  • Weighted edges
  • Color coded links
  • Links originate along the height of the node instead of the center of the node

The MIT License (MIT)

Copyright (c) 2014 Shubham Goel

@shubhgo
shubhgo / README.md
Last active August 29, 2015 14:11
D3 tree with weighted links and color coding

The MIT License (MIT)

Copyright (c) 2014 Shubham Goel

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

@shubhgo
shubhgo / 205.md
Last active August 29, 2015 13:56
[INFO 205] Information Law and Policy, UC Berkeley class notes

#205 Notes


##Key Terms Respondent Some one who brings the case

Petitioner One who presents a formal, written application to a court, officer, or legislative body that requests action on a certain matter.

Certiorari Order by which a higher court reviews the decision of a higher court.

<head>
<!--<meta http-equiv="refresh" content="1">-->
</head>
<div class='content'>
<p>So I asked Bob about quotations on the Web and he said <q>I know as much about quotations as I do about pigeon fancying</q>. Luckily, I found HTML Dog and it said:</p>
<blockquote cite="http://www.htmldog.com/guides/html/intermediate/text/">
<p>blockquote and q are used for quotations. blockquote is generally used for standalone often multi-line quotations whereas q is used for shorter, in-line quotations.</p>
</blockquote>
<figure>
@shubhgo
shubhgo / gist:1875823
Created February 21, 2012 10:55
brew doctor
Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libasprintf.0.0.0.dylib
/usr/local/lib/libcherokee-base.0.dylib
/usr/local/lib/libcherokee-client.0.dylib
/usr/local/lib/libcherokee-server.0.dylib
@shubhgo
shubhgo / gist:1846855
Created February 16, 2012 18:21
brew install dpkg
==> Downloading http://ftp.debian.org/debian/pool/main/d/dpkg/dpkg_1.15.8.12.tar.bz2
######################################################################## 100.0%
==> Patching
patching file configure
patching file lib/dpkg/dpkg.h
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 97 with fuzz 1.
==> ./configure --prefix=/usr/local/Cellar/dpkg/1.15.8.12 --disable-compiler-warnings --disable-linker-optimisations --disable-compiler-optimisations --without-start-stop-daemon
==> make
make all-recursive
@shubhgo
shubhgo / Questions
Created September 21, 2011 20:32
GOTO Amsterdam
Day job: Entrepreneur/ Developer
What is your language of choice: Python
Open Source contributions: None yet
How do you use GitHub: I am an mechanical engineer turned developer and the repos on github are a great learning source.
/* This is a template command. */
CmdUtils.CreateCommand({
names: ["df"],
icon: "http://definr.com/favicon.ico",
description: "Searches for word meanings in the dictionary site Definr.com",
help: "type df <word>",
author: {name: "Shubhgo", email: "shubham.goel@gmail.com"},
license: "GPL",
homepage: "http://techutney.blogspot.com/",
arguments: [{role: 'object', nountype: noun_arb_text}],