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
##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: |
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
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 |
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 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 |
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
# 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)' |
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
[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" |
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
snippet tmp | |
<template name = "${1:name}"> | |
</template> | |
snippet #if | |
{{#if ${1}}} | |
${2} | |
{{/if}} | |
snippet #ife |
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
# collection | |
snippet coll | |
${1:Collection} = new Meteor.Collection "${2:collection}" | |
# isClient block | |
snippet isc | |
if Meteor.isClient | |
${1:isClient block} | |
# isServer block |
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
# 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 |
NewerOlder