Skip to content

Instantly share code, notes, and snippets.

{
"metadata": {
"name": "",
"signature": "sha256:147dcf487b16eb854710b4f6cd9337622a3f512a927376e8c1421b5ee1b90e15"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@suranands
suranands / StackOverflow Qn abt DualBootSys
Created December 23, 2014 10:51
StackOverflow Qn abt DualBootSys
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@suranands
suranands / OOPy Practice
Created December 24, 2014 16:43
OOPy_Practice
{
"metadata": {
"name": "",
"signature": "sha256:f6e04d58f2a638268531d2372b0b09562304debfc7fdfd2e11b9b2b94ccc37e2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@suranands
suranands / OOPS in Python
Created December 26, 2014 12:44
OOPython
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@suranands
suranands / Some Linux Commands
Created December 30, 2014 09:55
Linux Commands for NGS Analysis
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@suranands
suranands / gist:e5a1acfc7ad2712d6658
Created July 20, 2015 12:56
Naive Bayes Classifier using JasonBrownlee's Blog Post (100% copy of his work)
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"collapsed": false
},
"source": [
"# How To Implement Naive Bayes From Scratch in Python"
]
@suranands
suranands / do-debian8-locale-issues.md
Created April 20, 2016 11:52 — forked from 5car1z/do-debian8-locale-issues.md
Debian 8 DO Locale Issues Fix

#Debian 8 DO Locale Issues Fix

##Problem

"Locale problems" in both the 32-bit & 64-bit versions of Debian 8 droplets

Create a new Debian 8 droplet and login as root:

@suranands
suranands / install_mysql.sh
Created May 2, 2016 06:57 — forked from rrosiek/install_mysql.sh
Vagrant provision script for php, Apache, MySQL, phpMyAdmin, Laravel, and javascript helpers. Outputs nearly everything to /dev/null since "quiet" on most commands is still noisy.
#! /usr/bin/env bash
# Variables
APPENV=local
DBHOST=localhost
DBNAME=dbname
DBUSER=dbuser
DBPASSWD=test123
echo -e "\n--- Mkay, installing now... ---\n"
@suranands
suranands / ec2_instance_create_and_setup.sh
Created May 3, 2016 13:22 — forked from Pablosan/ec2_instance_create_and_setup.sh
A bash script that will set up a new EC2 instance and ssh into it.
#!/bin/bash
# Authorize TCP, SSH & ICMP for default Security Group
#ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0
#ec2-authorize default -P tcp -p 22 -s 0.0.0.0/0
# The Static IP Address for this instance:
IP_ADDRESS=$(cat ~/.ec2/ip_address)
# Create new t1.micro instance using ami-cef405a7 (64 bit Ubuntu Server 10.10 Maverick Meerkat)