April 22nd, 2009
Have you seen this message lately ?
csvn: Commit failed (details follow):
svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found
Here is how to export SVN_EDITOR variable.
Feel free to change the editor to pico, nano etc.
echo export SVN_EDITOR=vi >> ~/.bash_profile
Logout and then Login again to *see* the change.
By *see* I mean that you have to do execute the following command and the editor of your choice should be run for you:
svn ci
Related:
Tags: EDITOR, Linux, rcs, svn, SVN_EDITOR, vcs, version control systems
Category: General, Linux/Unix, Operating Systems
|
No Comments »
April 19th, 2009
I have just received an email for those hunting for domains through GoDaddy.
This special offer expires 5/3/2009, so start shopping today!
Use source code fbDomain10 to get your extra savings when you order online at GoDaddy.com or by phone at
(480) 505-8821.
Tags: coupon, Coupons, discount
Category: Business, Coupons
|
4 Comments »
April 17th, 2009
I was checking a post about 8 Most Creative Wallets.
The cool thing is that the site gives you interesting information AND also links with their affiliate link.
That's a genial idea.
Tags: affiliate
Category: Affiliate Programs, Business
|
No Comments »
April 16th, 2009
I was constantly refreshing to see who is going to win the competition by receiving 1 million twitter followers.
It's between Ashton Kutcher and CNN Network
I am supporting Ashton. By the way his film with Cameron Diaz was pretty cool.
When I refreshed I saw Ashton's followers jumped to almost 2m and then went back to ~990 000.
Twitter definitely is having hard time calculating the real number of the followers.

Category: General
|
No Comments »
April 15th, 2009
Sometimes you don't need users to select some of the options in the HTML drop down menu.
For example you have a dropdown menu with these options.
==========================
Please select a province/state for US/Canada
Canada
--------------
Prov1
...
Prov10
United States
--------------
State1
...
State50
==========================
What we need is a province/state but what if the user selects the separators '----' ? or the country name ?
To solve this challenge we use negative values for values that should not be selected. Then using jQuery we disable them.
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#acc_info select option").each(function (index, obj) {
// Disable items that have a value less then 0 OR an empty string
// We want those elementes to be disabled only.
if (jQuery(obj).val() == '' || jQuery(obj).val() <= 0) {
jQuery(obj).attr("disabled", "disabled");
}
});
});
</script>
Related:
Tags: Javascript, jQuery, js
Category: General
|
2 Comments »
April 3rd, 2009
I just checked what headphones are available at bose.ca
Look at the quality of the pictures. Click the following link and then Photos
http://www.bose.ca/controller?url=/shop_online/headphones/noise_cancelling_headphones/quietcomfort_2/index.jsp
Having so high quality pictures gives the user a great experience.
What do you do in your organization in order to impress your clients ?
Tags: high res, high resolution
Category: Best Pratices
|
No Comments »
March 19th, 2009
Today I've tried installing Drupal 5.16.
It couldn't pass the database settings screen.
The fix applied for Drupal 6 couldn't fix it.
I created a ticket: http://drupal.org/node/407342
We all know that in every software product contains errors. This is *normal*.
I think that a better software product should allow different options for doing one action depening on the different personas.
E.g. experienced linux guru, designer, complete newbie etc.
For example php, MySQL and other offer installers as well as manual installation instructions.
This way bugs in the installer won't prevent people from using the software.
An early bug can easily turn many clients down.
Tags: MySQL, php, Programming, software
Category: Best Programming Practices, Programming
|
No Comments »
March 18th, 2009
The following cool code is supposed to redirect if your site has been opened in a frame.
<script type="text/javascript" language="JavaScript">
var topLocation
try {topLocation = top.location.href; }
catch(er) { window.top.location.href = self.location.href;}
</script>
Credits: http://www.mydreamsbook.com
How did I find this ?
I was looking for Elizabeth Banks pictures
(She's so beautiful by the way).
She is in Zack and Miri Make a Porno film which by the way I didn't like so much but that's another topic.
Related
Tags: frame, html, js, redirect
Category: General
|
1 Comment »
March 18th, 2009
I have just created a group called Canada Web Professionals.
I've tried before with a group in Facebook but it didn't work out.
Maybe people just want to chat there.
I am giving a try with LinkedIn.
Feel free to join at: http://tinyurl.com/canadawebpros
or
http://www.linkedin.com/groups?about=&gid=1853638&trk=anet_ug_grppro
Tags: canadawebpros, linkedin, social
Category: General
|
No Comments »
March 18th, 2009
Today when I tried to install drupal but the installation wizard couldn't continue.
Solution:
Edit /sites/default/settings.php and change
$db_url = 'mysql://username:password@localhost/databasename';
to the actual db settings and then reload the page (CTRL+R) or press F5 in your browser.
Good Luck
Tags: cms, Database, Db, drupal, installation
Category: System Administration
|
1 Comment »