Sep 29

On the 29th of October I will attend a free seminar held by the Academic into Business Computing section of the Computing Department.

Topics will include:

  • How secure are you?
  • Turning browsers into customers online
  • Get Results and Hits further up Search Engine Listings
  • and much more…

Detailed information, with full seminar schedule is available.

Sep 29

Now I have some better ideas on my modules.

Object Oriented Program Development is a module on C# which is really cool. I already have some understanding about C# but this knowledge can now be expanded :) Also we are going to study about .NET 2.0 which is relevant enough nowadays.

Concepts of AI will kick some arse. It’s not beating around the bush. It’s AI, it’s hard. We will study about Prolog as well which came as a surprise to me but I’m quite satisfied with that too.

Both of the above mentioned modules will be held by Dr Dayou Li, Vitaly Schetinin, Des Stephens and Keith Lam (demonstrator).

DBMS Development will be about nothing else then Oracle. Held by Penny Onley and Mike Niblett.

Information Systems Engineering is rather a theoretical subject on understanding system developments and software development methodologies. Also this module will give practical understanding of the range of modern Information Systems approaches to software development. Held by Penny Onley again and Adrian Benfell.

Sep 24

My modules for Year 2 / Semester 1 are as follow:

Sep 21

At my previous workplace we used to create PST-s for Outlook and roaming profiles on separate network drives. The process was 1. setup the user in Active Directory, 2. create the folders, 3. setup permissions on folder. Now I thought why not merge the last two steps. I used VBS to create the folder and later I used cacls to set the permissions.

How to do that? You need to call up the command line from the VBS file:

1
2
Dim intRunError, objShell, strFolder
intRunError = objShell.Run("%COMSPEC% /c Echo Y| cacls " & strFolder & " /t /c /g DomainUsername ", 2, True)

By adding the Y| you always give the yes answer to any of the questions which might come up while processing the cacls.

The basic syntax for cacls is as follows:

cacls FileName [/t] [/e] [/c] [/g User:permission]/t : Changes DACLs of specified files in the current directory and all subdirectories.

/e : Edits a DACL instead of replacing it.

/c : Continues to change DACLs, ignoring errors.

/g User:permission : Grants access rights to the specified user. The following table lists valid values for permission. (n: none, r: read, w: write, c: change, f: full)

Sep 20

Ever heard of Google Suggest? I bet you did. Let me show you a simple Ajax-PHP-MySQL code based on suggest. This script will search a database and nest your result while and when you type.

I have used and modified the example shown on W3Schools.com.

What I have done, I left the Javascript file as it is and created a PHP file and instead of filling up the arrays I do the following:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
include("connection.php");
function suggest() {
//get the q parameter from URL
$q=addslashes($_GET["q"]);
 
//connect to database
makeConnection();
//make the query
$select = "SELECT * FROM (table) WHERE (field) LIKE '".$q."%'";
$result = mysql_query($select) or die (mysql_error());
//do whatever you want to do with the result
//disconnect from database
disconnect();
}
Sep 20

Just before I begin pasting codes and writing about technical stuff, I thought I’d give a small info on what kind of software I’m using for development. In every case I try to use free products, which are under the Free-software licence.

As I mainly do web development I’d mention some of these tools first:

For writing PHP code I really do recommend the Dev-PHP IDE. You can preview your code within the IDE, there is absolutely no need to switch to a browser and load up your script from there. Speaking about previewing the PHP code, you will need a local server to run it. I recommend AppServ. It’s a software package, which includes PHP, MySQL, Apache and phpMyAdmin. You just grab the executable file and set it up within a minute.

(If you need a separate MySQL client - other then phpMyAdmin - I’d choose HeidiSQL.)

For other languages I prefer to use Notepad++. This clever little software has a built in syntax highlighter for literally all of the programming languages that are used nowadays.

As I’ve mentioned before I mainly do web development. For that - and for many other - facts I use Firefox. I would like to mention a couple of neat add-ons which will make your life a lot more easier. Probably I don’t have to introduce Joe Hewitt’s Firebug. A nice add-on to mention is HackBar for exploiting all the unnecessary injection attacks.

IE Tab is just another amazing add-on which will load IE engine into a Firefox tab, so basically you can view any website if you’d see it under IE.  Oh yeah, no more Alt-Tab between FF and IE…do Ctrl-Tab between the tabs under Firefox.

NoScript is an add-on which makes your browsing more safe. It blocks all the scripts (Javascript, Java) without mercy.

Last but not least let me mention the Web Developer add-on. It will give you lots of useful web developer tools so you can view and test your website easily. Lovely to use this add-on with Firebug.

That’s all the tools/software I use. I really recommend them to you all as I’ve been using them for quite a time now and I can’t complain. They are all handy.

Sep 20

Let’s start this blog. :) Hopefully you will find lots and lots of interesting ideas, code snippets on here and - because, I know you want more - you will be able to follow the progression with my big final year project for the uni.

As it stands now I plan to create a webOS, something similar to eyeOS, but giving it an extra little touch by making it work both offline and online (something google gearish). This is just an idea, nothing has been settled so far, I might make up my mind and create something more simple. However I would still try to accomplish the main idea, and please, be my guest in keeping up with me.