Skip to content

Instantly share code, notes, and snippets.

Radhika Ghosal RadhikaG

Block or report user

Report or block RadhikaG

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
# See:
# Download this script onto your home directory, ie. whatever is $HOME for you.
# outputs all the commands run to stdout
set -x
echo $HOME
View mnemonic_table_snippet.cpp
static const char *const MnemonicTable =
View X86MachineInstrPrinter.cpp
#include "X86.h"
#include "X86InstrInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/Target/TargetRegisterInfo.h"
using namespace llvm;
#define X86_MACHINEINSTR_PRINTER_PASS_NAME "Dummy X86 machineinstr printer pass"
RadhikaG / Crime Data Visualization-Blog Version.ipynb
Created Jan 24, 2016
An IPython notebook for visualizing crime data for India, the United States, France, and the Netherlands.
View Crime Data Visualization-Blog Version.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
RadhikaG /
Last active Dec 13, 2017
A class to demonstrate the different operations on heaps.
def parent(i):
return i/2
def left(i):
return 2*i
def right(i):
return (2*i + 1)
class Heap:
RadhikaG /
Last active Dec 13, 2016
A short script to demonstrate the different operations on heaps.
global heap
global currSize
def parent(i): #returns parent index of ith index
return i/2
def left(i): #returns left child of ith index
return 2*i
def right(i): #returns right child of ith index
You can’t perform that action at this time.