Skip to content

Instantly share code, notes, and snippets.

View pratyakshs's full-sized avatar
Hallucinating

Praty Sharma pratyakshs

Hallucinating
  • Stanford University
  • Stanford, CA
View GitHub Profile
{
"explorer.confirmDelete": false,
"javascript.preferences.quoteStyle": "single",
"typescript.preferences.quoteStyle": "single",
"telemetry.telemetryLevel": "off",
"workbench.colorCustomizations": {
"editorWarning.foreground": "#ff8800",
"editorOverviewRuler.warningForeground": "#ff8800"
},
"typescript.disableAutomaticTypeAcquisition": true,
#include <stdio.h>
#include <curl/curl.h>
#include <json/json.h>
#include <string.h>
// compile using: gcc curl-example.c -ljson -lcurl -lb64
char * host = "0.0.0.0:17070";
char * getRowCol(char * tableName, char * rowName, char * colName) {
sudo apt-get install libb64-dev libcurl4-openssl-dev libcurl3 libcurl3-gnutls libcurl4-openssl-dev libjson0 libjson-c2 libjson-glib-1.0-0 libjson-glib-1.0-common libjson-perl libjson0-dev libjson-c-dev libjson-glib-1.0-0-dbg libjson-glib-dev libjson-xs-perl libb64-dev
./configure --prefix=${POSTGRES_INSTALLDIR} --enable-debug LDFLAGS="-lcurl -ljson -lb64";
export enable_debug=yes;
make | tee make.out
make install | tee make_install.out
#!/bin/bash
CURDIR=`pwd`;
# Add any other dependencies that you may find
sudo apt-get update;
sudo apt-get install -y git eclipse eclipse-cdt flex bison zlib1g-dev libreadline6-dev;
# Makes a shallow clone of REL9_4_STABLE branch from postgres' github mirror
git clone https://github.com/postgres/postgres.git --branch REL9_4_STABLE --single-branch --depth 1;
#!/bin/bash
CURDIR=`pwd`;
# Add any other dependencies that you may find
sudo apt-get update;
sudo apt-get install -y git eclipse eclipse-cdt flex bison zlib1g-dev libreadline6-dev;
# Change the repository URL to your own
git clone https://github.com/pratyakshs/postgres.git --depth 1;
@pratyakshs
pratyakshs / gsoc.patch
Created March 15, 2015 10:29
Patch for adding induced graph method
From 3be7292b35e5a7141b46b6536bd4a5bec39cf47c Mon Sep 17 00:00:00 2001
From: Pratyaksh <pratyaksh@me.com>
Date: Sun, 15 Mar 2015 00:50:12 +0530
Subject: [PATCH 1/2] Fixed typo in README
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md