Santosh Srinivas

227 posts •
Spinning

Streaming from Macbook to Amazon Fire Stick

Good fun this weekend! I've been trying to stream my Pelton classes to my Fire Stick that is attached to the TV. I have a ton of Peloton classes on my

Meteor

Customized Deployment of Meteor App

This is a pain! ... So, hopefully these notes will help! Mup configuration: Keypoints to take note (follow EXACTLY): Server config host: '127.0.0.1', username: 'ghost', pem: '

MongoDB

Useful stuff on Mongo DB on Ubuntu 16.04

Ran into few very irritating issues related to MongoDB. Here are some notes for future reference: * Path for mongodb systemctl service: /lib/systemd/system/mongod.service .. open it up .. its self explanatory * Path

Meteor

Useful stuff on Meteor on Ubuntu 16.04

Notes to solve terrible issues on meteor: * Buffer not defined issue * Add below code in <app_path>/client/lib/init.js // this is an expensive polyfill for clientside Buffer usage // but

Random

Bike Ride + Rain + iPhone7 + Audiobook + Spotify = Nirvana

I've been pretty busy over the past few months with a variety of competing issues (priority and utility). Coupled with pretty hot weather ... I haven't biked for a while.

Hacks

Amazon Fire TV Stick with Beats Wireless Headphones

Discovered this last night and am pretty kicked about it. I never thought this would be possible. I wanted to watch Tron in the living room without disturbing family in the house. I

Data Mining

Data analysis from PDFs using Camelot

Camelot was making a lots of news on Hacker News and the github repo was on of most starred too! Pretty exicting particular given that the guys behind it are from India (home

Hacks

Reset PRAM and SMC on Macbook Pro

Life can get weird and somethings seem to work by the "Shut-it OFF" and "Shut-it ON" way :-) Here is the way to do it for PRAM and SMC.

Hacks

Solved : Displayport of Macbook 2011 (Early) not working

OK! I hate ridiculous solutions, but this actually seems to work! My displayport of Macbook Pro 2011 edition stopped working ... suddenly! I tried a lot of restarts, plug-ins and plug-outs .... and the usual

iPhone

Accessing Iphone 7s photos on Ubuntu 16.04

I have tons of photos on my iPhone 7s and was looking to download them onto my MacBook Pro. I swapped the harddisk in my Macbook Pro (2011 edition!) with an SSD and

Interactive Brokers

Amicable Interactive Brokers Data Analysis using Python and R using reticulate

In this post, I will demonstrate through an example the immense joy of working with both R and Python using reticulate! First a little on the background, the discussion and arguments on R

Ghost

Running a upstart service as different user

I just upgraded Ghost [https://ghost.org/] that powers this blog to v2.1. I have an upstart script that starts off this instance. With the latest upgrade, it is a requirement that

Terminal

Run Bash commands in Fish

I love the fish shell and its been my default terminal for ages! Running bash scripts in fish seems feasible to certain extent using edc/bass: Make Bash utilities usable in Fish shell

Hacks

Redirect IP Address to localhost

I had some of my code (terrible as usual) pointing to an IP Address. I had downloaded my code to a local machine and wanted to use the same code to function of

Tools

SVG Based Illustrations from UnDraw

Felt this is kinda cool ... given my rekindled love for SVGs! Credit: https://undraw.co/illustrations

FFMPEG

Creating an audiobook from a list of mp3 files

I recently got my hands on an audiobook with a collection of mp3 files. I like to listen on an iPhone and creating a playlist wasn't working the way I intended.

Trading

Empirical analysis of put-call parity

I was wondering this morning on the viability of making money from arbitrage using put-call parity. Put Call Parity as explained well here defines the relationship between calls, puts and the underlying futures

Hacks

Solved! Display setting of Dell ST2420L monitor going black after few seconds!

This is weird. I dug up my closet and pulled out my old Dell ST2420L and plugged it in. It was turning off after a few seconds! Sucks! After an hour of changing

Fitness

Cool diet chart!

Came across this cool diet chart today! Awesome! :) Credit: https://www.facebook.com/photo.php?fbid=2275871102475512&set=pcb.1852975161428454&type=3&theater

Notes

Collection of ImageMagick Scripts

There is so much of utility to these scripts and I unfortunately always seem to be losing them. So here is a record of this great collection and a pretty good discussion. * Fred&

hat-tip

Installing HP Drivers for Win 8.1

Installing HP Drivers * Using HP ProBook 450 G3 Notebook PC (To use Win 8.1) * https://support.hp.com/in-en/drivers/selfservice/hp-probook-450-g3-notebook-pc/7834555 * Download from above link * https://h30434.www3.hp.com/

hat-tip

Create a bootable Win 8.1 USB from Mac OSX

Create a bootable USB using UNetbootin [https://unetbootin.github.io/] First format the USB to FAT using the Disks utility Next, just download and install by following the instructions.

python

Upgrading pip packages

Here is an easy way to upgrade pip packages that are already installed. Use simion/pip-upgrader: An interactive pip requirements upgrader. It also updates the version in your requirements.txt file. [https://github.

Tools

s4cmd on Ubuntu

I had trouble installing on Ubuntu. This worked for me as mentioned here [https://github.com/bloomreach/s4cmd/issues/108] sudo pip install s4cmd --ignore-installed six chmod +x /usr/local/bin/s4cmd On

Chirp

Fixing NodeJS ENOSPC error on Ubuntu while watching many file

I ran into the a ENOSPC error while watching many files using chokidar. I assumed the issue related to disk space which was not the case. The below fix worked like magic once

© 2025
Latest Posts Ghost