Skip to content

Instantly share code, notes, and snippets.

View ggangesh's full-sized avatar
🎯
Focusing

Gangesh ggangesh

🎯
Focusing
  • P
View GitHub Profile
@ggangesh
ggangesh / BigInt.cpp
Created October 11, 2017 14:23 — forked from ar-pa/BigInt.cpp
bignum class for C++
/*
######################################################################
####################### THE BIG INT ##########################
*/
const int base = 1000000000;
const int base_digits = 9;
struct bigint {
vector<int> a;
int sign;
/*<arpa>*/
@ggangesh
ggangesh / UFG.java
Created December 4, 2016 21:14 — forked from phaniram/UFG.java
Simple java class downloading a S3 .zip file and extract to local directory
package ufg;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintStream;
import java.net.MalformedURLException;
@ggangesh
ggangesh / README.md
Created October 27, 2015 11:14 — forked from ndarville/README.md
From CSV to HTML table (Simple)

This code generates an HTML table based from a CSV file. This is from the tutorial by Christophe Viau.

In trying his code example, I discovered that the code doesn't work as-is, so I figured others might like to see a working d3.js example that did not rely on a pre-existing container HTML element.

The code remains the same except for some cosmetic tweaks.

The task of writing the CSS is left as an exercise for the reader.