If you're wondering what Simon is all about, I'd blogged about the same just a few days back. You might as well want to read that post, before going through this one. Click here to read it. So, I was reading the Simon handbook and chapter-4 covers this topic in great detail. You can access … Continue reading Creating new Scenarios with Simon (Part-I)
Tag: OpenSource
I saw Tony running this test and didn’t really understand what was going on. Well, this explains it,or at least tries to 😛
You need to replace the
$address =”the_test_address.com”;
$port = ‘port_number’;
/*Code starts*/
/*port test*/
<?php
$address=”smtp.gmail.com”;
$port = ‘456’;
if (isset($port) and
($socket=socket_create(AF_INET, SOCK_STREAM, SOL_TCP)) and
(socket_connect($socket, $address, $port))) {
$text=”Connection successful on IP $address, port $port”;
socket_close($socket);
}
else {
$text=”Unable connect<pre>”.socket_strerror(socket_last_error()).”</pre>”;
}
echo “<html><head></head><body>”.
$text.
“</body></html>”;
?>
/*code ends*/
code courtesy: http://php.net/socket_connect
How to test :- Copy this code to a file say, porttest.php, change the $address , $port to the required and put it somewhere accessible by your server , like /var/www/ in linux. And run the same by opening localhost/porttest.php
Recently, I was encountering this error "Could not initialize GLX". Now, I had no clue whatsoever as to what it meant ! It was the first time I was encountering this error and I was puzzled. All I tried to do was run the plasma-mediacenter application on my Kubuntu 13.10 and I would get this … Continue reading Removing NVIDIA X drivers to solve the GLX error
Simon is basically an Open Source Speech recognition solution. It can be used in your linux system just as you use Siri in IOS or S-Voice in Samsung's galaxy range of android smart-phones. It is a new and unique solution to a daunting task, that is speech recognition and while there remains a lot of … Continue reading Simon – A brief overview
Recently I was working or rather just building the application "digikam" and "plasma-media center" . Since I needed to build these applications from source , it was quite obvious that I would require "cmake" and possibly "make" as well. So the first thing I did was And sure enough it does work fine but this … Continue reading Installing the latest version of cmake