Skip to content

Instantly share code, notes, and snippets.

@SantoshSrinivas79
SantoshSrinivas79 / Ghost install notes.md
Created February 9, 2019 09:16
Ghost install notes
@SantoshSrinivas79
SantoshSrinivas79 / Create scaffolder for a meteor collection.md
Last active February 7, 2019 10:35
Create scaffolder for a meteor collection

Meteor Scaffolder

  • Get list of files required
find . -type f -name '*ghost*.js'
rm -rf ~/temp/scaffolder
mkdir -p ~/temp/scaffolder
@SantoshSrinivas79
SantoshSrinivas79 / The ultimate vim distribution.md
Last active December 12, 2018 07:15
The ultimate vim distribution

The ultimate vim distribution

vim is an extremely powerful editor and it is becoming high time for me to start learning vim well enough to hack on a lean and mean system.

##Distributions

There are likely many distributions of vim available. I plan to use the following distribution as the vim of my choice!

spf13-vim - The Ultimate Vim Distribution

@SantoshSrinivas79
SantoshSrinivas79 / Installing LAMP on Ubuntu.md
Last active August 10, 2018 11:09
Installing LAMP on Ubuntu

#Installing LAMP on Ubuntu

Installing LAMP is the first thing I usually do along with a couple of other things on every Ubuntu machine I setup :-)

Here are the steps in order to get LAMP going smoothly.

Install LAMP

sudo apt-get install lamp-server^
@SantoshSrinivas79
SantoshSrinivas79 / Startups in Financial Services.md
Last active September 12, 2016 23:09
Startups in Financial Services

#Startups in Financial Services

  • LearnVest - Financial Planning Services for Women. For $19 a month, plus a $299 set-up fee, get a financial plan, automated budget management tools organized with to-do lists and goals, and advice from human financial planners.
  • Check - Billpay app
  • Motif Investing - Buy a bucket of up to 30 stocks (a motif) built around a hot idea like CleanTech or 3-D printing for just $9.95. Buy basic Motifs made up of index ETFs for free.
  • Wealthfront - For 0.25% of invested assets a year above $10,000 (below that is free), manages your asset allocation using index ETFs. Helps Twitter and Facebook workers diversify out of company stock.
  • Personal Capital - High-end “wealth management,” including human planners and tax-saving computerized index-style investing (using individual stocks) for 0.95% of assets a year, falling in steps to 0.75% above $5 million.
  • Betterment - Makes saving and investing easy with automatic debit from your checking and with index ETF portfolios designed for
dualplot <- function(x1, y1, y2, x2 = x1,
col = c("#C54E6D", "#009380"),
lwd = c(1, 1), colgrid = NULL,
mar = c(3, 6, 3, 6) + 0.1,
ylab1 = paste(substitute(y1), collapse = ""),
ylab2 = paste(substitute(y2), collapse = ""),
nxbreaks = 5,
yleg1 = paste(gsub("\n$", "", ylab1), "(left axis)"),
yleg2 = paste(ylab2, "(right axis)"),
ylim1 = NULL, ylim2 = NULL, ylim.ref = NULL,
@SantoshSrinivas79
SantoshSrinivas79 / Setting up my new macbook air.md
Last active July 2, 2016 03:58
Setting up my new macbook air

#Setting up my new macbook air

###Applications Downloaded

  • iTerm
  • Alfred
  • VLC
  • Chrome
  • Sublime
@SantoshSrinivas79
SantoshSrinivas79 / Accelerated Development using Meteor.md
Last active June 24, 2016 03:19
Accelerated Development using Meteor
@SantoshSrinivas79
SantoshSrinivas79 / Exporting MongoDB from one server to another.md
Last active June 22, 2016 02:55
Exporting MongoDB from one server to another

#Exporting MongoDB from one server to another

##Dumping the database

Source: mongodump — MongoDB Manual 3.0.3

mongodump --host mongodb1.example.net --port 37017 --username user --password pass --out /opt/backup/mongodump-2011-10-24