Skip to content

Instantly share code, notes, and snippets.

View anandology's full-sized avatar

Anand Chitipothu anandology

View GitHub Profile
@anandology
anandology / shp2pgsql.txt
Created March 27, 2014 04:55
shp2pgsql for AC and PC data
[geosearch-anandology.rhcloud.com S01]\> shp2pgsql -W "latin1" -s4326 -d S01_AC ac geosearch > ac.sql
Shapefile type: Polygon
Postgis type: MULTIPOLYGON[2]
[geosearch-anandology.rhcloud.com S01]\> psql -q geosearch < ac.sql
dropgeometrycolumn
-------------------------------------
public.ac.geom effectively removed.
(1 row)
NOTICE: CREATE TABLE will create implicit sequence "ac_gid_seq" for serial column "ac.gid"
@anandology
anandology / day1.ipynb
Last active August 29, 2015 13:56
Advanced Python Training at LinkedIn -- Feb 26 - Mar 1, 2014
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandology
anandology / day1.ipynb
Last active January 4, 2016 18:59
Notes from python training at LinkedIn (Jan 28-Jan30, 2014) - http://nbviewer.ipython.org/gist/anandology/8663909/
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandology
anandology / day1.ipynb
Last active December 31, 2015 05:09
Advanced Python TrainingDecember 13-14, 2013Global Analytics -- http://nbviewer.ipython.org/gist/anandology/7939444
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandology
anandology / Readme.txt
Last active December 28, 2015 06:59
Advanced Python Workshop - Nov 2013 http://advancedpython.hasgeek.com/
Notes from Advanced Python Workshop by Anand Chitipothu conducted on Nov 14-16, 2013
@anandology
anandology / day1.ipynb
Last active December 23, 2015 23:39
Python Training - September 26-28, 2013
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandology
anandology / 0-python-training.ipynb
Created September 24, 2013 13:46
Python Training Notes - June 2012
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anandology
anandology / gist:6422356
Last active December 22, 2015 05:09
Commands for Processing videos

Pick Noise

The video will have noise and we need to listen to the video and pick the section which have only noise so that we can remove that from the video.

ffmpeg -i input.mp4 -ss 00:00:13.000 -t 00:00:02 noise.wav

The same noise file can be used for cleaning all the videos taken in the that room.

Remove Noise from a video

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.