Skip to content

Instantly share code, notes, and snippets.

Avatar

Raja David rajadavidh

View GitHub Profile
View PRACTICE_RST.rst

Sample reStructuredText syntax

Installation

Install docutils package. .. code-block:: bash

$ easy_install docutils
@rajadavidh
rajadavidh / setup_sublime_macosx.md
Last active Oct 11, 2018
my personal setup and configuration of Sublime Text 3 on MacOSX
View setup_sublime_macosx.md

Setting up Sublime Text 3 for MacOSX

Install Sublime Text 3 :

  1. Download sublime text 3
  2. Setup sublime in command line [[1]][1] [[2]][2]:
    sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
    

Install package control

@rajadavidh
rajadavidh / learning_octave_basics.m
Last active Oct 11, 2018
Octave tutorial from Machine Learning course by Stanford University at Coursera
View learning_octave_basics.m
% Octave Tutorial --------------------------------
% Basic Operations --------------
octave:1> 5+6
ans = 11
octave:2> 1 == 2
ans = 0
octave:3> 1 == 2 % false
ans = 0
octave:4> 1 ~= 2 % true
ans = 1
@rajadavidh
rajadavidh / argparse_example.py
Last active Jun 30, 2018
Using argparse to pass arguments into python script
View argparse_example.py
"""
# Author: Raja David Hasugian
# Using argparse to pass arguments into python script
# Tutorial: https://rajadavidhasugian.wordpress.com/2017/06/10/using-argparse-to-pass-arguments-into-python-script/
# June 2017
"""
import argparse