Skip to content

Instantly share code, notes, and snippets.

View neilpanchal's full-sized avatar

Neil Panchal neilpanchal

View GitHub Profile
#!/bin/bash
echo ""
# Root check
if [[ "$UID" -ne 0 ]]; then
echo "!! This script requires root privileges. sudo ./create_koken.sh"
echo ""
exit
fi
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@neilpanchal
neilpanchal / README.md
Last active August 29, 2015 14:18 — forked from jxson/README.md

Synopsis

At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)

Code Example

Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.

Motivation

@neilpanchal
neilpanchal / tclem.css
Last active August 29, 2015 14:22 — forked from Carreau/tclem.css
.container {
margin:0;
width:100%;!important
}
body, html, .notebook_app, #header
{
background-color:white;!important
box-shadow:none;!important
}
# Function Reference Guide
## DataFrames
#### `DataFrame(cols::Vector, colnames::Vector{ByteString})`
Construct a DataFrame from the columns given by `cols` with the index
generated by `colnames`. A DataFrame inherits from
`Associative{Any,Any}`, so Associative operations should work. Columns
are vector-like objects. Normally these are AbstractDataVector's (DataVector's
Naming Schema for Panchal.io
The MIT License (MIT)
Copyright (c) Neil Panchal, http://panchal.io
File name
---------
Series:
CC.###
@neilpanchal
neilpanchal / .bashrc
Created July 27, 2016 21:01
Neil Panchal's .bashrc file for server droplets
# Neil Panchal's Server .bashrc file
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
==================================================
Getting Started With Matplotlib's OO Class Library
==================================================
Introduction
------------
For those people coming to Matplotlib without any prior experience
of MatLab and who are familiar with the basic concepts of
programming API's and classes, learning to use Matplotlib via the
@neilpanchal
neilpanchal / .r
Created April 13, 2017 09:00
set_theme error
$theme
List of 58
$ line :List of 6
..$ colour : chr "#6e6e6e"
..$ size : num 0.5
..$ linetype : num 1
..$ lineend : chr "butt"
..$ arrow : logi FALSE
..$ inherit.blank: logi TRUE
..- attr(*, "class")= chr [1:2] "element_line" "element"