Gnome window compositing

Gnome >= 2.22 has its own window compositing. To enable:

gconftool-2 -s --type bool /apps/metacity/general/compositing_manager true

To disable, set ‘true’ to ‘false’

without-compositing
Without window compositing
with-compositing
With compositing. See the drop shadow on app window and opacity on terminal window

Patching

Better reference: http://www.thegeekstuff.com/2014/12/patch-command-examples/

yum install patch

To create patch:

diff -crB OriginalFolder ModifiedFolder > folder.patch

-c: context
-r: recursive (multiple level dir)
-B: ignore blank lines

To apply patch:

(dry run first, at target folder – to check for any error)

patch --dry-run -p1 -i folder.patch

If dry run success, do real patching:

patch -p1 -i folder.patch
munky-patch
Monkey patch

Compass & rubygem

Compass is a stylesheet authoring framework that makes your stylesheets and markup easier to build and maintain. – http://compass-style.org/

To install in Fedora:

yum install rubygems
gem install compass

By default, Compass is using Blueprint CSS framework – http://www.blueprintcss.org/

To kickstart a project:

compass -f blueprint project-name

To start designing website using Compass:

cd project-name
compass -w

It will watch for file changes and recompile *.sass source file into *.css

Reference on how to use Compass – http://wiki.github.com/chriseppstein/compass/
Sass reference – http://sass-lang.com/

Some of design using Compass + Blueprint CSS framework:

webdesign1
Web design #1
webdesign2
Web design #2
webdesign3
Web design #3