This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install -y apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
eog \ | |
git \ | |
htop \ | |
mosh \ | |
nodejs \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; :::::::::: parse buffer :::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
;; working code | |
(defun vf-parse-buffer-defun () | |
"test buffer parsing" | |
(interactive) | |
(with-current-buffer | |
(progn | |
(save-excursion | |
(goto-char (point-min)) | |
(while (not (eobp)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
__author__ = 'AxelAli' | |
import os | |
import sys | |
#MADE BY AXEL ALI | |
#https://github.com/AxelAli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun sublime-text-2 () | |
(interactive) | |
(color-theme-install | |
'(sublime-text-2 | |
((background-color . "#171717") | |
(background-mode . light) | |
(border-color . "#1a1a1a") | |
(cursor-color . "#fce94f") | |
(foreground-color . "#cfbfad") | |
(mouse-color . "black")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# adapted from - https://github.com/saasbook/courseware/blob/master/vm-setup/configure-image-0.10.2.sh | |
# install rvm and ruby | |
curl -L https://get.rvm.io | bash -s stable --ruby=1.9.3 | |
source /home/ubuntu/.rvm/scripts/rvm | |
# install gems | |
## GEMS | |
# install rails 3.2.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
dir=$(dirname $0) | |
gconfdir=/apps/gnome-terminal/profiles | |
echo # This makes the prompts easier to follow (as do other random echos below) | |
######################## | |
### Select a profile ### | |
######################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'''Usage: barchart_top_issues.py <rating.csv file> <topn> | |
By Saravana <tutysara@gmail.com>''' | |
import csv | |
import sys | |
from pylab import * | |
fileName = sys.argv[1] | |
topn = int(sys.argv[2]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.oanda.com/currency/historical-rates/download?quote_currency=SGD&end_date=20129-3&start_date=2012-3-8&period=daily&display=absolute&rate=0&data_range=d180&price=bid&view=graph&base_currency_0=INR&base_currency_1=&base_currency_2=&base_currency_3=&base_currency_4=&download=csv |
NewerOlder