Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, July 28, 2009

Basic SCiTE configuration for Drupal

Suppose you are working on Drupal and new to SCiTE editor and you want to customize then try this little below trick to help your eyes feel cool. The below info will help you to colorize little. This is just a start and would let you guys know how easy to do the stuff. I know most of the guys working in Ubuntu + SCiTE + Drupal for their projects.

In the SCiTE editor click Options Menu then click "Open User Options File"

copy paste the below settings

# PHP
style.php.118=fore:#CD1C69,back:#25272B,eolfilled
# Matching braces
style.php.34=fore:#E21E1E,back:#25272B,font=Monospace,size:12
# Not maching braces
style.php.35=fore:#FF0000,back:#25272B,font=Monospace,size:12
# Double quoted String
style.php.119=fore:#E17C4A,back:#25272B
# Single quoted string
style.php.120=fore:#F6E443,back:#25272B
# Keyword
style.php.121=fore:#FCFDFA,back:#25272B
# Number
style.php.122=fore:#CC9900,back:#25272B,
# Variable
style.php.123=fore:#53B6F0,back:#25272B
# Comment
style.php.124=fore:#999999,$(font.comment),back:#25272B,eolfilled
# One line comment
style.php.125=fore:#929394,$(font.comment),back:#25272B
# PHP variable in double quoted string
style.php.126=fore:#00007F,italics,back:#25272B
# PHP operator
style.php.127=fore:#FCFDFA,back:#25272B

# File patterns
file.patterns.php=*.php;*.php4;*.inc;*.module;*.info;*.install;*.views.inc;*.admin.inc;

if PLAT_GTK
selection.alpha=90
selection.back=#C0CCCC
find.files=*.php *.inc *.module *.views.inc *.admin.inc *.info *.install

#SCiTE Cursor Config
caret.fore=#FF0000
caret.width=2
caret.line.back=#FFFED8
caret.line.back.alpha=33
caret.period=310


Just Save an you will feel the difference when you open the Drupal's / PHP code file. Please let me know if you need more.

Sunday, July 19, 2009

Sharing files and folders from Mac OS X to Ubuntu

Sometimes you want a folder from Mac OS X to be shared and need to be accessed by Ubuntu then you need to follow the below link, which is really nice and beautiful. I was in search for not using "scp" / "ssh" command as I have to log in as a user and need to give pwd too.

Please follow Mac OS X File Sharing