Skip to content

Instantly share code, notes, and snippets.

@abhishekanand
abhishekanand / codesnippet.md
Last active December 3, 2018 07:17
My Code snippet

Create multiple file from a large JSON file

import urllib.request, json 
with urllib.request.urlopen("https://raw.githubusercontent.com/prust/wikipedia-movie-data/master/movies.json") as url:
    data = json.loads(url.read().decode())
    print (data[0])

i=1
@abhishekanand
abhishekanand / resume.md
Created October 3, 2018 16:56
Product Manager

Test

TEST

@abhishekanand
abhishekanand / R
Last active August 29, 2015 14:19
My R packages
installed.packages(lib.loc = NULL, priority = NULL, noCache = FALSE, fields = NULL, subarch = .Platform$r_arch)
installed.packages(lib.loc = NULL)
install.packages("rmarkdown")
install.packages("shiny")
@abhishekanand
abhishekanand / .gitconfig
Last active August 29, 2015 14:19 — forked from pksunkara/config
[user]
name = Pavan Kumar Sunkara
email = [email protected]
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[sendemail]
smtpencryption = tls
smtpserver = smtp.gmail.com
@abhishekanand
abhishekanand / AAosx-10.10-setup.md
Last active August 29, 2015 14:11 — forked from kevinelliott/osx-10.10-setup.md
My OSX10.10 setup

Mac OS X 10.10 Yosemite

Custom recipe to get OS X 10.10 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install. On average, I reinstall each computer from scratch every 6 months, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

# based on http://blogs.msdn.com/b/wats/archive/2014/05/19/how-to-determine-current-guest-os-family-only-for-pass-instance-web-role-and-worker-role-windows-azure-powershell.aspx
#
# setup Azure publish settings according to http://blogs.msdn.com/b/wats/archive/2013/02/18/windows-azure-powershell-getting-started.aspx
# Here is a powershell script from http://blogs.msdn.com/b/timomta/archive/2014/01/17/i-never-have-to-worry-about-upgrading-the-os-on-my-azure-paas-roles-or-do-i.aspx (by Tim Omta ) to list the osFamilies.
# Martin Grasruck modified it slightly to show staging as well.
$namespace=@{ns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration"}