Skip to content

Instantly share code, notes, and snippets.

View StanSilas's full-sized avatar

Stan Silas(Vivek Mangipudi) StanSilas

View GitHub Profile
@StanSilas
StanSilas / list-all-repos.py
Created April 30, 2021 16:52 — forked from ralphbean/list-all-repos.py
Script to list all repos for a github organization
#!/usr/bin/env python
""" Print all of the clone-urls for a GitHub organization.
It requires the pygithub3 module, which you can install like this::
$ sudo yum -y install python-virtualenv
$ mkdir scratch
$ cd scratch
$ virtualenv my-virtualenv
@StanSilas
StanSilas / .block
Created January 3, 2018 03:17 — forked from kerryrodden/.block
Sequences sunburst
license: apache-2.0
@StanSilas
StanSilas / gist:de60520beb01d777c922f54c4b587d09
Created December 14, 2017 18:38 — forked from mailletf/gist:3484932dd29d62b36092
Display a mel-scaled power spectrogram using librosa
# Mostly taken from: http://nbviewer.ipython.org/github/bmcfee/librosa/blob/master/examples/LibROSA%20demo.ipynb
import librosa
import matplotlib.pyplot as plt
# Load sound file
y, sr = librosa.load("filename.mp3")
# Let's make and display a mel-scaled power (energy-squared) spectrogram
S = librosa.feature.melspectrogram(y, sr=sr, n_mels=128)
@StanSilas
StanSilas / 00-ReduceSideJoin
Created February 21, 2016 02:04 — forked from airawat/00-ReduceSideJoin
ReduceSideJoin - Sample Java mapreduce program for joining datasets with cardinality of 1..1, and 1..many on the join key
My blog has an introduction to reduce side join in Java map reduce-
http://hadooped.blogspot.com/2013/09/reduce-side-join-options-in-java-map.html