Skip to content

Instantly share code, notes, and snippets.

# based on https://gist.github.com/amirsani/d2aa0763cc138902bf73
# Read this two also
# http://stackoverflow.com/questions/11443302/compiling-numpy-with-openblas-integration/14391693#14391693
# http://osdf.github.io/blog/numpyscipy-with-openblas-for-ubuntu-1204-second-try.htmlhttp://osdf.github.io/blog/numpyscipy-with-openblas-for-ubuntu-1204-second-try.html
# OS dependencies
sudo apt-get install -y build-essential gfortran
sudo apt-get install -y git curl vim
# Python dependencies
package com.test.lucene;
import java.io.File;
import java.io.IOException;
import java.io.StringReader;
import java.util.Calendar;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
@vaibhaw
vaibhaw / install_ffmpeg_ubuntu.sh
Created May 6, 2017 11:02 — forked from xdamman/install_ffmpeg_ubuntu.sh
Install latest ffmpeg on ubuntu 12.04 or 14.04
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
@vaibhaw
vaibhaw / TensorFlow_Windows.md
Created January 30, 2018 16:15 — forked from ericjang/TensorFlow_Windows.md
Setting up TensorFlow on Windows using Docker.

TensorFlow development environment on Windows using Docker

Here are instructions to set up TensorFlow dev environment on Docker if you are running Windows, and configure it so that you can access Jupyter Notebook from within the VM + edit files in your text editor of choice on your Windows machine.

Installation

First, install https://www.docker.com/docker-toolbox

Since this is Windows, creating the Docker group "docker" is not necessary.

@vaibhaw
vaibhaw / 1-setup.md
Created October 22, 2019 19:31 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS

Methods of Signing with GPG

There are now two ways to approach this:

  1. Using gpg and generating keys
  2. Using Kryptonite by krypt.co

This Gist explains how to do this using gpg in a step-by-step fashion. Kryptonite is actually wickedly easy to use-but you will still need to follow the instructions

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing with either GPG or Krypt.co.

@vaibhaw
vaibhaw / gmail-github-filters.md
Created July 29, 2021 18:19 — forked from ldez/gmail-github-filters.md
Gmail and GitHub - Filters

Gmail and GitHub

Create new filters and create new labels.

Pull Request

from:(notifications@github.com) AND {"Patch Links" "approved this pull request." "requested changes on this pull request." "commented on this pull request." "pushed 1 commit." "pushed 2 commits." "pushed 3 commits."}

label: gh-pull-request

@vaibhaw
vaibhaw / cloneall.sh
Created August 20, 2021 22:37 — forked from potter0815/cloneall.sh
clone all private repos of an organization
#!/bin/bash
#requires jq -> http://stedolan.github.io/jq/
#optional change working_dir
working_dir=${1-$(pwd)}
cd $working_dir
user="github_username"
token="application token"
organization="Organization_Name"