Archive for the ‘Tech tips’ Category

New Bass Amp for GUITAR RIG 3 XE and SESSION

Tuesday, August 5th, 2008
GUITAR RIG 3 XE and GUITAR RIG SESSION are now even better value thanks to the addition of an incredible bass amp. Taken from the full version of GUITAR RIG 3, the

BASS PRO increases the already rich selection of amazing guitar and bass tones available. Existing GUITAR RIG 3 XE and GUITAR RIG SESSION users can download the free 3.1.1 update with the additional amp now.

Bass PRO is a bass amp delivering a gritty, growling sound that can really make a bass stand out in a mix. In addition to the unique tonal qualities, there’s a graphic equalizer to allow the sound to be tailored more precisely. Technorati Tags: , , ,

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia

W3C strict validation and session_start() input hidden issue - not passing

Monday, June 30th, 2008

Couple of days ago, I’ve finished building a new website of mine for Design to XHTML service. One of the things needed for a such a project is having the page(s) passed W3C Strict Validation.
Everything was cool except for the phantom hidden input field that was holding PHPSESSID value. The problematic input field was positioned right after the <form> tag, and you can’t have that if you want to pass W3C strict. You have to enclose that field with a <p> or a <div>.
I’ve installed a JQuery SWFUpload for easy & user friendly upload experience, so I thought that script might be the one causing trouble. I’ve spent an hour running through lines and lines of code and couldn’t find nothing relating to my problem.
Since that was the only exotic part of code I was inserting, I turned over to session_start() as my primary suspect. I’ve stripped everything from the page, left only the form and the session_start() function call. Uploaded, W3C verified and that was it! For some reason session_start() invoked another hidden field in my form that didn’t render in my Firefox or Safari, but only in W3C. Knowing that, the only solution was simple:

if(!strstr(”$HTTP_USER_AGENT”, “Validator”)) {
session_start();
}

All I can say is I hope this saves somebody an hour of his life.

Technorati Tags: , , , , , ,

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia

SVN client for Mac OS X Leopard worthy of Tortoise SVN

Saturday, May 31st, 2008

One piece of software I’m really missing after crossing over to Mac from a PC is Tortoise SVN. It is seamlessly integrated into shell, and is easy to use. I use SVN only to update my local working copy and commit changes to SVN server. I don’t need no fancy options, just that… and the ability to syn/commit only selected folder or file.

The first option that came to use is Eclipse. It did have a SVN extension which worked pretty well for the basic tasks I needed, but it felt like using a jumbo jet to fetch a pack of chewing gums! And one day - it stopped working. Some kind of Java error, and since I was unhappy with Eclipse from the very beginning, I started searching for the alternative.

Man, I didn’t realize what a trouble that will be! It seems that every Mac person handles SVN from the Terminal. I just couldn’t find plain and simple SVN client with graphical front end, that doesn’t need SSH tunneling or wormholes/rocket sience of any kind. Just when I was preparing to give up, Syncro SVN client showed up in some 15th Google search query. That’s it! Yeah, that’s it!

Plain and simple, Syncro SVN client handles things just as good as Tortoise SVN. It has SVN+SSH support that I needed, and I am a happier coder now, thank you SyncRO soft!

Technorati Tags: , , , , , ,

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia

Tables in CSS

Thursday, September 27th, 2007

Creating tables in CSS is not possible. Mimicking tables in CSS certainly is.

DIV layout is a lot different then table layout, and it is styled using CSS or Cascading Style Sheets. It was pretty easy for anybody to use table tool embedded in Macromedia Dreamweaver or Microsoft Frontpage, but now it isn’t so simple. If you are a beginner in HTML/CSS programming or you don’t want to learn - you just want to make the web page fast & easy, you have two options: One is to step over into the world of CSS and learn it, and the other is to use some of premade CSS templates at CSS Table Gallery .

CSS Table Style found there are quite amazing. It reminds me of CSS Zen Garden (if you haven’t seen CSS Zen Garden, go feast your eyes). CSS Table Gallery changes it’s css table layout as you click on various css table designs, and after you find one that looks nice, you can download it and use it in your web page.

So go to CSS Table Gallery and you’ll be creating tables in css in no time!

Technorati Tags:

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia

CSS Color Codes

Monday, September 24th, 2007

When you want to set a color for your text or any other HTML element you will most likely need CSS Color Codes.

You can specify CSS Color Codes in 3 ways:

1. Setting the CSS Color by Color name
You can use any of these 16 colors: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

Example:
<span style=”color:red;”>Sample text</span>
Output:
Sample text

2. Setting CSS Color Code by Color RGB Value
Since we’re limited by 16 CSS color names, the better way to find the exact color we want is by specifying its CSS RGB value. RGB stands for ‘Red Green Blue’, so if you want to set a red color you will set red to maximum, and green and blue to zero. Maximum value for a color is 255, so the value would look like rgb(255,0,0).

Example:
<span style=”color:rgb(255,0,0);”>Sample text</span>
Output:
Sample text

3. Setting CSS Color Code by Color Hex Value
The better way yet to set CSS Color Codes is to enter the CSS color hex value. For instance, color name ‘red’ has a hex value of ‘#FF0000′.
You can use our css color wheel to find hex value of any color.

Example:
<span style=”color:#FF0000;”>Sample text</span>
Output:
Sample text

Here is our CSS Color Wheel, happy coding!

Technorati Tags:

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia

Floated divs with width 50 percent problem in Internet Explorer

Thursday, August 23rd, 2007

Floated divs with width 50 percent problem in Internet Explorer is just one of the many, many joys Internet Explorer brings us. Even though some of those IE bugs seem totally absurd, some are quite logical, like this one:

If we have a div with a width of 501px or any other odd number, and inside it two floated divs with widths of 50%, Firefox will render it just fine, giving to each of those floats what appears to be 50% width. But it’s not. One of those floats is 1 pixel wider.

CSS Code: .container{
	width:500px;
	background-color:#FF0000
}
.float_1 {
	float:left;
	width:50%;
	background-color:#00FFFF;
}
.float_2 {
	float:left;
	width:50%;
	background-color:#99FF00;
	font:"Courier New", Courier, monospace
}
HTML Code:
<div class="container">
   <div class="float_1">Floating div 1, width = 50%</div>
   <div class="float_2">Floating div 2, width = 50%</div>
</div>

When we look at the same page in Internet Explorer, the second float div is underneath the first. That is because 501/2 = 250.5, and since we’re dealing with whole numbers here, 250.5 rounded gives us 251 pixels width for each floated div. 251 + 251 equals 502, and since the container is 501px wide, it can’t fit in the same row.

Live HTML/CSS preview (View with Internet Explorer to see the problem):
501px wide container
500px wide container

This seems logical to me, but impractial and time wasting like all other IE issues.

Powered by ScribeFire.

Bookmark this article! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • blogmarks
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • BlinkList
  • Furl
  • IndianPad
  • LinkaGoGo
  • Ma.gnolia