git (private server)
Alternative: github
Cashboard
/bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 | |
/sbin/mkswap /var/swap.1 | |
/sbin/swapon /var/swap.1 |
# From a fresh install of squeeze | |
apt-get install ruby rubygems # Need ruby to use fpm | |
gem1.8 install fpm --no-ri --no-rdoc | |
apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev ncurses-dev libyaml-dev | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p125.tar.gz | |
tar -zxvf ruby-1.9.3-p125.tar.gz | |
cd ruby-1.9.3-p125 | |
rm -rf /tmp/ruby193 |
Cartalyst PSL | |
Copyright (c) 2011-2014, Cartalyst LLC, | |
All rights reserved. | |
This license is a legal agreement between you and Cartalyst LLC for the use of | |
any package (*all versions*) Software (the "Software"). By downloading any | |
version of the Software you agree to be bound by the terms and conditions of | |
this license. | |
You may alter, modify, or extend the Software for your own use or for use in as |
http://www.dizzy.co.uk/cheatsheets | |
This work is licensed under the Creative Commons | |
Attribution-NonCommercial-NoDerivs 2.0 License. To | |
view a copy of this license, visit | |
http://creativecommons.org/licenses/by-nc-nd/2.0/uk | |
########## Shell Commands ########## | |
Installation: | |
$ gem install capistrano |
<!--#include virtual="/ajaxed/bootstrap.asp" --> | |
<!--#include virtual="/includes/authCheck.asp" --> | |
<!-- classes --> | |
<!--#include virtual="/ajaxed/class_email/email.asp" --> | |
<!--#include virtual="/class/split.inc" --> | |
<!--#include virtual="/class/csvparser.inc" --> | |
<% |
# Properly Setup Cygwin | |
#### Moving your home directory to your Windows profile directory | |
I found this setup to be consistent with other unix systems. It preserves my sanity in the long run. | |
``` | |
mkpasswd -l -d -p "$(cygpath -H)" > /etc/passwd | |
mkgroup -l -d > /etc/group | |
``` | |
#### Installing Essential Programs | |
Download the setup.exe and install it along with wget. We will be using apt-cyg, which is similar to apt-get in Debian-based linux distros. It allows you to specify the packages you want to install right on the terminal: |
mysqldump –uYoursqlname –pYourSQlpwd dbname > dumpfile-name.sql && perl –pie 's/your-local-site-here/theserver-path-here/g' dumpfile-name.sql > dumpfile-name.sql && git add . && git commit –m "commit message" && git push | |
/* | |
* HTML5 ✰ Boilerplate | |
* | |
* What follows is the result of much research on cross-browser styling. | |
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, | |
* Kroc Camen, and the H5BP dev community and team. | |
* | |
* Detailed information about this CSS: h5bp.com/css | |
* | |
* ==|== normalize ========================================================== |
describe "Absolute", -> | |
xit "should return an absolute number", -> | |
pos_num = 1; neg_num = -1 | |
expect(absolute(neg_num)).toEqual(pos_num) | |
xit "should return same number", -> | |
pos_num = 1; neg_num = -1 | |
expect(absolute(pos_num)).toEqual(pos_num) | |