First I tried:
echo `pwd` | echo `sed -e 's/production/staging/' ` | cd
That didn't work.
Then I tried:
cd $(echo `pwd` | echo `sed -e 's/production/staging/' ` )
That worked. Go figure...
echo `pwd` | echo `sed -e 's/production/staging/' ` | cd
cd $(echo `pwd` | echo `sed -e 's/production/staging/' ` )
jQuery("<a />").attr("href", "http://yahoo.com").appendTo("#foo").text("link to yahoo").after("<br />");
update-rc.d -f memcached remove
/usr/bin/memcached -d -p 11211 -u nobody -l 127.0.0.1 -m 64
require_once dirname(__FILE__) . '\MyClass.php';
class test extends UnitTestCase {
function test_pass(){
$tc = new MyClass();
$boolean = $tc->my_method() == "hello";
$this->assertFalse($boolean);
}
}
PHP Fatal error: Class 'MyClass' not found in ...test.php...[line number]
encodeURIComponent as opposed to escape or encodeURI. For details why, seeescape, the '+' symbol converts to a space in the database; and if I use encodeURI, any '&' will cause all subsequent characters to not make it into the database -- because those characters aren't converted with the other two Javascript methods.