Skip to content

Instantly share code, notes, and snippets.

View dattasaurabh82's full-sized avatar

Saurabh Datta dattasaurabh82

View GitHub Profile
@dattasaurabh82
dattasaurabh82 / purgeAndroid.txt
Created December 18, 2017 14:54 — forked from tahmidsadik/purgeAndroid.txt
How to completely remove Android Studio from Mac OS X
How to Completely Remove Android Studio
Execute these commands from the terminal
rm -Rf /Applications/Android\ Studio.app
rm -Rf ~/Library/Preferences/AndroidStudio*
rm ~/Library/Preferences/com.google.android.studio.plist
rm -Rf ~/Library/Application\ Support/AndroidStudio*
rm -Rf ~/Library/Logs/AndroidStudio*
@dattasaurabh82
dattasaurabh82 / tmux-cheatsheet.markdown
Created August 21, 2017 07:34 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dattasaurabh82
dattasaurabh82 / ocr.markdown
Created June 15, 2017 03:53 — forked from henrik/ocr.markdown
OCR on OS X with tesseract

Install ImageMagick for image conversion:

brew install imagemagick

Install tesseract for OCR:

brew install tesseract --all-languages

Or install without --all-languages and install them manually as needed.

@dattasaurabh82
dattasaurabh82 / README.md
Created February 15, 2017 12:07 — forked from kashimAstro/README.md
H3 / Mali GPU driver and openframeworks armv7 ES / ES2

#A small guide to compile openFrameworks armv7 with driver OpenGL ES / ES2 sunxi for H3 / Mali GPU on ARMBIAN OS, compatible with orangepi and bananapi.

tested on: orangepi one banana pi M2

dependencies:

apt-get install libx11-dev libxext-dev xutils-dev libdrm-dev \ 
           x11proto-xf86dri-dev libxfixes-dev x11proto-dri2-dev xserver-xorg-dev \
 build-essential automake pkg-config libtool ca-certificates git cmake subversion
@dattasaurabh82
dattasaurabh82 / frameOptions.pde
Created September 16, 2016 17:13 — forked from mariuswatz/frameOptions.pde
Set display options for Processing window: Disable frame borders, set always-on-top and position on screen.
// Marius Watz - http://workshop.evolutionzone.com
//
// Window frame control: Disable frame decoration (see
// init() function), manipulate frame position (see
// keyPressed(), draw() )
int framePosX=0;
int framePosY=0;
float t;
float size = 40; //50
boolean makeGIF = true;
void setup(){
//size(540, 540);
size(270,270);
}
void draw(){
@dattasaurabh82
dattasaurabh82 / split-transients.py
Created February 3, 2016 07:58 — forked from kylemcdonald/split-transients.py
Split an audio file into multiple files based on detected onsets from librosa.
#!/usr/bin/env python
import argparse
import matplotlib.pyplot as plt
import librosa
import numpy as np
import os
from progressbar import ProgressBar
parser = argparse.ArgumentParser(
ArrayList<Pathfinder> pathsLeft = new ArrayList<Pathfinder>();
ArrayList<Pathfinder> pathsRight = new ArrayList<Pathfinder>();
PVector center;
PGraphics canvas;
void setup() {
size(displayWidth, displayHeight);
canvas = createGraphics(displayWidth * 2, displayHeight * 2);
canvas.beginDraw();