Skip to content

Instantly share code, notes, and snippets.

Vedant Misra vedant

Block or report user

Report or block vedant

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
@vedant
vedant / build.sh
Created Oct 29, 2016
Set up Ubuntu 14.04 to run Tensorflow
View build.sh
echo "hostname" > /etc/hostname
echo "127.0.0.1 davinci" >> /etc/hosts
sudo service hostname restart
export PS1="\[\e[01;31m\]\u\[\e[00m\]@\[\e[01;34m\]\h\[\e[00m\] [\A] [\[\e[01;32m\]\W\[\e[00m\]] :: "
# Set up NVIDIA Drivers
sudo add-apt-repository -y ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install -y dkms
sudo apt-get install -y linux-headers-generic
@vedant
vedant / gist:9333992
Last active Jul 10, 2019
Export note files from Google Keep
View gist:9333992
/* Vedant Misra (vedantmisra.com) (github.com/vedant)
*
* Script for exporting Google Keep note files.
*
* This does not handle attachments or checklists, only note files. Downloads
* each note to a .txt file named for the note's title.
*
* To use this, go to https://drive.google.com/keep/ and wait for the page to
* fully load all of your saved notes; scroll to the bottom to confirm they're
* loaded. Then paste the below in your URI bar, go to the start of the line,
@vedant
vedant / pytsa.py
Created Oct 3, 2011
Simple time series utility for pedagogical purposes
View pytsa.py
#!/usr/bin/env python
# -*- coding: ascii -*-
#-----------------------------------------------------------------------------
"""
Time Series Analysis
pytsa (read "pizza") depends on scipy and numpy.
Pytsa is a simple timeseries utility for python.
It is good for pedagogical purposes, such as to understand moving averages,
linear regression, interpolation, and single/double/triple exponential smoothing.
You can’t perform that action at this time.