Skip to content

Instantly share code, notes, and snippets.

View aniarya82's full-sized avatar
💭
brewing...

Hiten Chowdhary aniarya82

💭
brewing...
View GitHub Profile
@aniarya82
aniarya82 / markowitz.py
Created March 24, 2020 12:35
This code from Medium article on efficient frontier example. [link](https://medium.com/python-data/effient-frontier-in-python-34b0c3043314)
# import needed modules
import quandl
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
# get adjusted closing prices of 5 selected companies with Quandl
quandl.ApiConfig.api_key = 'zcfJ6696mcZScjzsyeta'
selected = ['CNP', 'F', 'WMT', 'GE', 'TSLA']
data = quandl.get_table('WIKI/PRICES', ticker = selected,

Google Summer of Code 2017

This is a summary of the work done during this summer as part of Google Summer of Code 2017 under the organisation Open Genome Informatics under the guidance of my mentors Yannick Wurm and Anurag Priyam.

About the project

Problem Statement: Performance and user centric improvements to Afra’s annotation editor.

Brief explanation: Gene prediction models are visually inspected and manually corrected for any mistakes. Curation of gene models is carried out on Afra, a crowdsourcing platform. Afra has two models - an annotation editor and a task processor. The annotation editor is build using JBrowse and WebApollo. This project focuses on migrating Afra to the latest JBrowse and getting a unit test suite ready to optimize the annotation editor and ease the learning curve of manual curation.

Project Summary

Before the project started, I was fairly acquainted with javascript and ruby. Initially, I got familiar with JBrowse's codebase and understood the upgrades along with c

Post installation of Arch Linux

Now when you boot the system you’ll simply boot into a command line. Login as root and password you created during the installation process. First we create a user account

useradd -m -g wheel -s /bin/bash hiten
passwd hiten

This will add a new user hiten to group wheel. Next we give this new user sudo privileges

Getting a Gig: A Guide

Introduction

Hey friends! This is a guide for getting a gig in college as a tech major. I graduated May 2014 with 10 job offers after having 5 internships throughout my four years of college. You can do that, too. Because you're great.

Contents

  • Introduction (you read that already)
  • ubuntu
  • Material Icons
  • alberta
  • Montserrat
  • Google File System GFS
  • Transactional (OLTP) and analytical (OLAP)
  • Neutral Networks NN

Mastering Markdown

Github

bootstrap v4-alpha

Bootstrap

mdo Code guide for HTML and CSS

MDO

Every line of code shoud appear to be written by same person, no matter how many contriburters

MhiBtenA:prep hiten$ gem install nokogiri
ERROR: Error installing nokogiri:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /Users/hiten/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/cache/nokogiri-1.6.6.2.gem
This error was one heck of a thing.
Seems that when you run `gem install nokogiri` for very first time gem fetches the gem file `nokogiri-[version].gem` and stores it in the gem cache.
Here was the error taking place, maybe the gem was corrupte in someway or some glitch occured during fetching the gem fill which caused the error.
And everytime you would run`gem install nokogiri' it will see that already gem file exists in the cache and hence doesn't fetch again, but the gem file was corrupt so the repeatedly kept on.
Finally i manually removed the gem file with `rm /path/to/gem/file.gem` and the again ran `gem install nokogiri` and this time it again fetch form api.rubygems.org.
And after fetch over Vola the gem was successfully insta

SPOLIERS ALERT

1. Ex Machina (2014)

2. Eagle Eye (2012)Imdb

@aniarya82
aniarya82 / Web Resources.md
Last active March 21, 2016 20:58
Some website worth looking again