I need a new chair, have been sitting on my crappy old one for too long and it is becoming painful after sitting on it for a while.
What are you guys using/what do you recommend?
Thinking about getting an Aeron as I remember it being recommended in past threads. Is that still up to date or is...
$link = 'http://www.google.com';
$nodelist = $xPath->query( '//a[@href="'.$link.'"]/@href');
Is there a way to match $link with and without a trailing slash without having to use additional php for it?
How can I save the captcha image?
I think I can select it like that but when I try to use save it gives an error 'not implemented'.
@browser.image(:xpath, "//*[@id='gwt-debug-captcha-container']/div[2]/img")
I'm using watir webdriver
I will share the bot when I'm done, but I need a...
I know there are quite a few ruby coders on here. Why is there only a PHP and Python thread?
Checks for available exact match domains.
.org domains return not found which is unreliable so only .com and .net are checked.
As I am new to ruby feel free to improve/correct my script
class Emds...
Just got into ruby and it's great.
But I'm having some problems with safariwatir, I keep getting this error:
/Library/Ruby/Gems/1.8/gems/safariwatir-0.4.0/lib/safariwatir/locators.rb:87:in `method_missing': undefined method `set' for #<Watir::Container::SelectList:0x10
Line 87...
I'm a big fan of bluehatseo and have done my SEO homework. If you need anything SEO related that can be done in PHP, I can do it. But I also know my limitations and will not accept a project where I'm not sure if I can deliver. No false promises with me.
I started working in IT in 2005. I am...
I want to host clients websites on shared hosting with cpanel. Can I somehow mask the nameservers to have them be ns1.mydomain.com ns2.mydomain.com? Maybe with subdomains or something?
Cheers
Does anyone know how I can control a serial port from a website?
Device <-serial-> UserPC <-internet-> PHP Website
All I found was how to control it if the device is connected to the server. Do I need to have a custom software on the UserPC?
Cheers
My current htaccess
RewriteEngine on
RewriteRule ^layer1/([^/\.]+)/?$ index.php?layer1=$1
RewriteRule ^layer1/([^/\.]+)/layer2/([^/\.]+)/?$ index.php?layer1=$1&layer2=$2
RewriteRule ^layer1/([^/\.]+)/layer2/([^/\.]+)/layer3/([^/\.]+)/?$ index.php?layer1=$1&layer2=$2&layer3=$3
I click on a link...
I'm currently working on an asset management software, it is written in php and uses a mysql database.
How can I make it easy for the customers to install? The demographic I'm aiming towards has little computer knowledge.
Maybe pack up something like XAMPP/EasyPHP together with the software...
I'm interested in buying big (10k minimum), sports related databases (anything from gyms to sport teams etc).
I'm only interested in cheap offers because I can write scrapers myself. But time is money as you know.
Cheers
When I do the scraping of the links, I get the errors 400/403/501 depending on the website (for example wordpress, digg)... But it works for some sites (for example iBlog)...
Probably something is fucked up with my curl code, but I can't see it...
<?php
$hostname =...
I scrape following data from the adwords kw tool but have problems isolating the #searches/month with preg_match. I can get the kw phrase with the [], but I'm lost with isolating the #searches/month.
Can anyone help with the regex or come up with another solution?
Thanks...
(Go to...