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
# Load RVM into a shell session *as a function* | |
if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then | |
# First try to load from a user install | |
source "$HOME/.rvm/scripts/rvm" | |
elif [[ -s "/usr/local/rvm/scripts/rvm" ]] ; then | |
# Then try to load from a root install | |
source "/usr/local/rvm/scripts/rvm" |
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
$rvm_path/wrappers/oftobeeminder/ruby /Users/jerzy/Desktop/oftobeeminder.rb |
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
`touch /Users/jerzy/Desktop/_gottoa` #this does nothing |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise32" |
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
PACCPL-334RAGYA:preppervms jgangi001c$ vagrant up | |
Bringing machine 'servera' up with 'virtualbox' provider... | |
Bringing machine 'serverb' up with 'virtualbox' provider... | |
Bringing machine 'serverc' up with 'virtualbox' provider... | |
==> servera: Importing base box 'hashicorp/precise32'... | |
==> servera: Matching MAC address for NAT networking... | |
==> servera: Checking if box 'hashicorp/precise32' is up to date... | |
==> servera: Setting the name of the VM: preppervms_servera_1399389393651_15907 | |
==> servera: Clearing any previously set network interfaces... | |
==> servera: Preparing network interfaces based on configuration... |
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
jerzys-mbp:~ jerzy$ pip install --upgrade git+https://github.com/nyddle/pystash.git | |
Downloading/unpacking git+https://github.com/nyddle/pystash.git | |
Cloning https://github.com/nyddle/pystash.git to /var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip-iA9Uf0-build | |
Running setup.py (path:/var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip-iA9Uf0-build/setup.py) egg_info for package from git+https://github.com/nyddle/pystash.git | |
Requirement already up-to-date: args>=0.1.0 in /Library/Python/2.7/site-packages (from pystash==0.0.14) | |
Downloading/unpacking clint>=0.3.3 from https://pypi.python.org/packages/source/c/clint/clint-0.4.1.tar.gz#md5=d0a0952bfcc5f4c5e03c36854665b298 (from pystash==0.0.14) | |
Downloading clint-0.4.1.tar.gz | |
Running setup.py (path:/private/var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip_build_jerzy/clint/setup.py) egg_info for package clint |
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
Downloading/unpacking git+https://github.com/nyddle/pystash.git | |
Cloning https://github.com/nyddle/pystash.git to /var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip-iA9Uf0-build | |
Found command 'git' at '/usr/local/bin/git' | |
Running command /usr/local/bin/git clone -q https://github.com/nyddle/pystash.git /var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip-iA9Uf0-build | |
Running setup.py (path:/var/folders/ds/vq3d_chn7273nfg4gnt1xylh0000gn/T/pip-iA9Uf0-build/setup.py) egg_info for package from git+https://github.com/nyddle/pystash.git | |
running egg_info | |
creating pip-egg-info/pystash.egg-info | |
writing requirements to pip-egg-info/pystash.egg-info/requires.txt | |
writing pip-egg-info/pystash.egg-info/PKG-INFO | |
writing top-level names to pip-egg-info/pystash.egg-info/top_level.txt |
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
require "rubygems" | |
require "json" | |
require "net/http" | |
response = Net::HTTP.get_response(URI.parse("https://api.bitcoinaverage.com/exchanges/USD")) | |
puts response.body | |
puts JSON.parse(response.body) |
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
require "rubygems" | |
require "json" | |
require "net/http" | |
response = Net::HTTP.get_response(URI.parse("https://api.bitcoinaverage.com/exchanges/USD")) | |
parsed_response = JSON.parse(response.body) | |
puts parsed_response["bitex"]["rates"]["last"] |
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
sudo yum -y install git && git clone https://github.com/jerzygangi/seashell.git && ./seashell/commands/install_seashell |
OlderNewer