Skip to content

Instantly share code, notes, and snippets.

Anand asinode

Block or report user

Report or block asinode

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Intro to IPyNB
{
"metadata": {
"name": "",
"signature": "sha256:147dcf487b16eb854710b4f6cd9337622a3f512a927376e8c1421b5ee1b90e15"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
@asinode
asinode / StackOverflow Qn abt DualBootSys
Created Dec 23, 2014
StackOverflow Qn abt DualBootSys
View StackOverflow Qn abt DualBootSys
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
View OOPy Practice
{
"metadata": {
"name": "",
"signature": "sha256:f6e04d58f2a638268531d2372b0b09562304debfc7fdfd2e11b9b2b94ccc37e2"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
View OOPS in Python
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@asinode
asinode / Some Linux Commands
Created Dec 30, 2014
Linux Commands for NGS Analysis
View Some Linux Commands
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
View Iterators & Generators
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@asinode
asinode / gist:e5a1acfc7ad2712d6658
Created Jul 20, 2015
Naive Bayes Classifier using JasonBrownlee's Blog Post (100% copy of his work)
View gist:e5a1acfc7ad2712d6658
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"collapsed": false
},
"source": [
"# How To Implement Naive Bayes From Scratch in Python"
]
View do-debian8-locale-issues.md

#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:

@asinode
asinode / install_mysql.sh
Created May 2, 2016 — 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.
View install_mysql.sh
#! /usr/bin/env bash
# Variables
APPENV=local
DBHOST=localhost
DBNAME=dbname
DBUSER=dbuser
DBPASSWD=test123
echo -e "\n--- Mkay, installing now... ---\n"
@asinode
asinode / ec2_instance_create_and_setup.sh
Created May 3, 2016 — forked from Pablosan/ec2_instance_create_and_setup.sh
A bash script that will set up a new EC2 instance and ssh into it.
View ec2_instance_create_and_setup.sh
#!/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)
You can’t perform that action at this time.