##login as sudo user
su
###then enter password
yum remove ruby
ruby -v
# set prefix to control-f | |
set -g prefix C-f | |
#unbind system defined prefix | |
unbind C-b | |
# helps in faster key repetition | |
set -sg escape-time 0 | |
# start session number from 1 rather than 0 |
# collection | |
snippet coll | |
${1:Collection} = new Meteor.Collection "${2:collection}" | |
# isClient block | |
snippet isc | |
if Meteor.isClient | |
${1:isClient block} | |
# isServer block |
snippet tmp | |
<template name = "${1:name}"> | |
</template> | |
snippet #if | |
{{#if ${1}}} | |
${2} | |
{{/if}} | |
snippet #ife |
[global_config] | |
custom_url_handler = Terminator | |
enabled_plugins = CustomCommandsMenu, LaunchpadBugURLHandler | |
title_transmit_bg_color = "#d30102" | |
focus = system | |
[keybindings] | |
[profiles] | |
[[default]] | |
scrollbar_position = hidden | |
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3" |
# Machine name. | |
function box_name { | |
[ -f ~/.box-name ] && cat ~/.box-name || hostname | |
} | |
# Directory info. | |
local current_dir='${PWD/#$HOME/~}' | |
# Git info. | |
local git_info='$(git_prompt_info)' |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo add-apt-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get install -y python-software-properties | |
sudo apt-get install python-software-properties python g++ make | |
sudo apt-get install -y curl tree zsh unrar git sublime-text nodejs xclip python-matplotlib python-numpy python-scipy littler libxss1 skype graphicsmagick qbittorrent vlc uget docky cheese | |
curl -L http://install.ohmyz.sh | sh |
Meteor.publish("posts",(skip,limit)-> | |
return Posts.find({post_id:this.userId},{sort:{date:-1},limit:limit,skip:skip}) | |
) | |
Meteor.subscribe("posts",10,568) | |
# use session variables to keep track of limit and skip |
##First, ensure you have your Fedora install up to date: | |
`sudo yum update` | |
##Next, let's install the prerequisites we will need: | |
`sudo yum install git-core curl make bzip2 gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel libxslt-devel sqlite sqlite-devel openssl openssl-devel` | |
##We are now ready to install RVM: |
#! /bin/bash | |
yum remove ruby | |
yum install -y git-core curl make bzip2 gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel libxslt-devel sqlite sqlite-devel openssl openssl-devel | |
yum install -y nodejs | |
echo "adding rvm key" |