Skip to content

Instantly share code, notes, and snippets.

View saigrandhi's full-sized avatar

Sai Grandhi saigrandhi

View GitHub Profile
@saigrandhi
saigrandhi / Python3 Virtualenv Setup.md
Created May 10, 2018 05:27 — forked from pandafulmanda/Python3 Virtualenv Setup.md
Setting up and using Python3 Virtualenv on Mac

Python3 Virtualenv Setup

Requirements
  • Python 3
  • Pip 3
$ brew install python3
@saigrandhi
saigrandhi / clip.js
Created April 2, 2017 20:02
Node.js script for clipboard management
#!/usr/bin/node
'use strict';
const tty = require('tty');
const fs = require('fs');
//var copyStream = fs.createWriteStream('/tmp/jsclip.tmp');
// var readCopyStream = fs.createReadStream('/tmp/jsclip.tmp');
var self = process.stdin;
var data = '';
@saigrandhi
saigrandhi / 0-startup-overview.md
Created March 15, 2017 19:33 — forked from dideler/0-startup-overview.md
Startup Engineering notes
@saigrandhi
saigrandhi / Node.java
Created September 29, 2016 22:05
Generic Node Implementation
public class Node<T extends Comparable<T>> {
private T data;
private Node<T> next;
public Node(T data) {
this.data = data
}
public T getData() {