Santosh writes here

Thoughts, stories and ideas.

  • Home
Subscribe
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

Santosh Srinivas
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's

Santosh Srinivas
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/

Santosh Srinivas
hat-tip

Create a bootable Win 8.1 USB from Mac OSX

Create a bootable USB using UNetbootin First format the USB to FAT using the Disks utility Next, just download and install by following the instructions.

Santosh Srinivas
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. Pretty easy

Santosh Srinivas
Tools

s4cmd on Ubuntu

I had trouble installing on Ubuntu. This worked for me as mentioned here sudo pip install s4cmd --ignore-installed six chmod +x /usr/local/bin/s4cmd On OSX, I was running into a ton

Santosh Srinivas
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

Santosh Srinivas
Mac

Show task switcher on CMD+TAB on Laptop Display

I was running into an irritating issue where my Task Switcher on pressing CMD+TAB was showing up on my external display. I prefer to choose using the laptop display that I use

Santosh Srinivas
MongoDB

Installing MongoDB on Ubuntu 16.04

Following steps worked for installing MongoDB on Ubuntu 16.04 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 echo "deb [ arch=amd64,arm64 ] http://repo.mongodb.org/apt/ubuntu

Santosh Srinivas
Visualization

Creating Waffle Charts in R for infographics

Came across this pretty cool post to create waffle charts using R. I had to install fontawesome font on my mac from Font Awesome. First download, then double click fontawesome-webfont.ttf and FontAwesome.

Santosh Srinivas
Shiny

Shiny Server on Ubuntu

Install Shiny Server on ubuntu following the instructions here. Install rbase sudo apt-get install r-base Install shiny R package sudo su - \ -c "R -e \"install.packages('shiny', repos='https://cran.

Santosh Srinivas
Tools

ripgrep - Command line based text manipulation

I love the command line and love command line tools! They are just so minimalistic and efficient! Just discovered ripgrep that seems to be a great alternative to ack and ag!! ripgrep is

Santosh Srinivas
Visualization

Drawing Capitan America Logo!

This post is motivated by this post on KANDINSKY (http://giorasimchoni.com/2017/07/30/2017-07-30-data-paintings-the-kandinsky-package/) library(grid) grid.newpage() grid.circle(x = 0.5, y = 0.5, r = 0.4, gp = gpar(

Santosh Srinivas
Scraping

Puppeteer - API to control headless Chrome

I've used various options available for scraping in a headless mode including PhantomJS, Nightmare, ScraperJS, etc. Unfortunately, most of these options required xvfb which makes things slower, less reliable and utilizes a lot

Santosh Srinivas
Visualization

Enable WebGL on Chrome on a Macbook Pro 2011

This took me a while to figure out. I was trying to play with Mapbox-GL maps shown at Play map locations as a slideshow | Mapbox. I was getting an error that WebGL is

Santosh Srinivas
rstats

Understanding Paul Grahams Thoughts using R

Paul Graham posted this tweet on A hypothesis about how you might discover the next Twitter. Unfortunately, the tweet was an image which makes quoting it in this post very difficult! :( Fortunately, Jeroen

Santosh Srinivas
Tools

Cleanup over sized files on Mac and Ubuntu

My Macbook SSD is running out of space and I am trying to figure out which directories are the biggest in my attempt to clean them up. The best utility I could find

Santosh Srinivas
Ghost

Upgrading Ghost to v1.0.0

In this post, I will cover the steps I followed to run Ghost v1.0.0 with **Sqllite**

Santosh Srinivas
Getting Started

Welcome to Ghost

Hey! Welcome to Ghost, it's great to have you :) We know that first impressions are important, so we've populated your new site with some initial Getting Started posts that will help you get

Ghost
Getting Started

Using the Ghost editor

Ghost uses a language called Markdown to format text. When you go to edit a post and see special characters and colours intertwined between the words, those are Markdown shortcuts which tell Ghost

Ghost
Getting Started

Organising your content with tags

Ghost has a single, powerful organisational taxonomy, called tags. It doesn't matter whether you want to call them categories, tags, boxes, or anything else. You can think of Ghost tags a lot like

Ghost
Getting Started

Managing Ghost users

Ghost has a number of different user roles for your team Authors The base user level in Ghost is an author. Authors can write posts, edit their own posts, and publish their own

Ghost
Getting Started

Making your site private

Sometimes you might want to put your site behind closed doors If you've got a publication that you don't want the world to see yet because it's not ready to launch, you can

Ghost
Getting Started

Advanced Markdown tips

There are lots of powerful things you can do with the Ghost editor If you've gotten pretty comfortable with all the basics of writing in Ghost, then you may enjoy some more advanced

Ghost
Getting Started

Setting up your own Ghost theme

Creating a totally custom design for your publication Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be easily adapted for

Ghost
Santosh writes here © 2018
Latest Posts Twitter Ghost
Santosh writes here

Subscribe to Santosh writes here

Stay up to date! Get all the latest & greatest posts delivered straight to your inbox