Monday, October 1, 2012

Add fonts to your website

  • Visit Google Web Fonts and search fonts, if you know the name of font
  • Add to your fonts collection
  • Use them in your website by
  1. link tag in your website, or
  2. @import in your css file, or
  3. javascript

Monday, July 16, 2012

Online Web Development Tools

Lucid Chart
Draw online UML diagrams

Moqups
Draw online web wireframes / moqups

SVG maker
Make graphics and download in SVG (no signup required)

Friday, December 30, 2011

Tuesday, September 27, 2011

10 Steps to Install ruby on rails 3 on Ubuntu 10.10 (Maverick)

1. Update ubuntu repositories
sudo apt-get update 
 
2. Install all libraries including mysql, git, curl
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev autoconf libmysql-ruby libmysqlclient-dev mysql-client mysql-server mysql-query-browser mysql-administrator openssh-client openssh-server
 
3. Install rvm 
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) 
 
4. Set rvm path in bash 
source .bashrc
 
5. Check rvm install or not (you can skip this step) 
rvm --version  
//OP:rvm 1.8.4 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]
 
6. Install ruby 1.8.7 or 1.9.2 (according to your need)
rvm install 1.8.7
 
7. Set default ruby 1.8.7 
rvm --default use 1.8.7
 
8. Create gemset for rails3 application (you can name it as you wish) 
rvm gemset create rails3
 
9. Use the rails3 gemset on ruby 1.8.7
rvm use 1.8.7@rails3
 
10. Final Step
git clone your_project ; gem install bundle ; bundle check 

Manage git repos on S3

Use jgit to manage git repos on Amazon S3

Download jgit.sh from here and put jgit in your $HOME path

Make a .jgit file in your home directory and put

accesskey: *******************
secretkey: ********************



Make a bucket for git repos say git-repos

Now got to your project directory and add a remote for Amazon S3

>cd git_project

>git remote add s3 amazon-s3://.jgit@git-repos/git_project.git



>git push s3 branch

and it's done.

thanks to following bloggers

gabrito

spearce









Followers