Thursday, December 24, 2009

Password Maker for LINUX users!

And here it is our Present for Linux Users! Make Passwords that nobody can guess!
Download Now!

Christmas Game By VasLabs v1.0

Hello Everyone! Haven't got your Christmas present? Get our present now and play with your friends the Square tile game created by Vasilis Nicolaou!
Instructions:
Choose Multiplayer (single-player is not yet available due to unexpected technical difficulties! Hold the left mouse button on a tile, move right or down (not up or left) and release it at the next tile. Players are playing by turn. the one who manage to create a square earns points! Who can create a double square and earn applause? Enjoy!
Download Now!
report any bugs!

Wednesday, November 18, 2009

How to delete files which deny to be deleted!

This is a usual problem. We delete a file and a message like this appears: "The action can't be completed because the file is opened by another process!" We can do 2 simple thinks to delete them.
1) Open the command prompt: press start, type cmd, press enter.
on the command line type chdir "the path of the file" (path of the file i.e. C:\users\user\desktop)
press enter
then type del /f "the name of the file including format i.e (test.txt)"
press enter.
chdir=change directory
del=delete
/f=force deleting of read only files
if this fails go to method 2
2) open notepad
write:

@echo off
del /f "path of the file including file name"

left click file
select save as
choose all files
write delete.bat
save in c:\
open registry
(start type regedit press enter)
go to Computer\HKEY_LOCAL_MACHINE\SOFTWARE|Microsoft\Windows\CurrentVersion\Run
right click, new, string value.
name it delete
right click on it ->modify->type "C:\delete.bat"
restart your pc
remember to delete the value after restart (see the post below Control Startup Applications)
By Vasilis Nicolaou

Sunday, November 15, 2009

Control Startup Applications

We are going to see how to control our start-up applications with a little registry operation...
First, a start-up application is a program that is executed as soon as Windows starts. The applications are started by the windows explorer, and the services, by the svchost.exe .
But how do this programs know which programs shall be executed? They read some keys in the registry that tell them so... We are going to learn how to modify this keys, so we won't need to download a program to do the job, and of course to praise ourselves to our friends :)
We open the registry editor with these steps: In windows vista: press start button and in the search bar type: regedit and press enter. Click continue to continue(duh!).
In windows XP: press start button, press run, type regedit, press enter.

The registry editor will open. Follow this path:
computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
In the right will appear some keys. In the column 'name' you can see the programs' names, and under the data their paths. Note that the names mean nothing for the computer, it's the data that is important. A virus can avail from this by putting it's path in the data of an innocent program and run itself rather than that program...
If we want to stop a program from executed with the windows we simply delete the key:
right click on the key, click delete. If we want a program to run with the windows we right click in the empty space, new>string value, and we write the path of the program.

By Vasilis Nicolaou

Binary code

Hello lads!!! No time no see... Read this article to find out how to convert a number into a binary code or reverse...
First, let's say that binary code is a line of n numbers 1 or zero...
e.g. this 1001100...
If we take it logically 1 represents true and 0 false. If we had an electronic circuit, 1 means that electricity runs through it and 0 it's not...
So, let's go to the mathematical part now... Think about a calculator... How does it understand numbers and how does the calculations? With binary code... We are now going to see how the binary code represents a number leaving the engineering part out of this unit.
Think about a table of one column or row that has n cells... In that cells we put 1 (one) or 0 (zero). The function that returns the decimal (normal) number is working like this:
The first cell represents the 2^0, the second 2^1 the third 2^2.... It's like this:
the table:
index
0
1
2
3
4
.
.
.
n
If in a cell there's the number 1 we add 2^index and we add nothing if there's a zero.
Remember that in a line the index 0 represents the last number we see...
Let's look an example.
example 1. Find the decimal number that is represented by the binary : 1001110
1001110=0x2^0+1x2^1+1x2^2+1x2^3+0x2^4+0x2^5+1x2^6=0+2+4+8+0+0+64=78
In the above example we see a zero in the cell with index 0 so we ignore it or we multiply 2^0 with zero (it is the same thing, duh!).
Now if we have a number e.g 100 we do reverse work. we found the number power of 2 that is the closest to our number. In this case it is the number 64 i.e 2^6. 100-64=36. 32 is the closest, 32=2^5. 36-32=4. 4=2^2. So we are going to put the number 1 in the cells with index 6, 5 and 2. 100=1100100
You can practice making your own binary codes. To confirm your results you can download DBHC.exe from our blog.
P.S. If there are grammatical errors on the above article please let us know in order to fix it.
By Vasilis Nicolaou

Sunday, October 25, 2009

Our tennis robot!!!


Watch our robot moving the ball over the net!!!

Friday, October 16, 2009

Annoying Ads!!! How to get rid of them!

Has anyone of you written e.g. this: 240.132.980.12 instead of e.g. that: www.google.com ? Probably, not. Only the network administrators remember IP numbers and specifically they only know their server IP addresses.
A computer system, however, doesn't understand the address e.g. www.vaslabs.blogspot.com . It needs someone to translate that phrase into a language that can understand. And no one is better than DNS, the Domain Name System. Imagine the dialog below between a browser and the DNS:

Browser: Hey, DNS buddy, they want me to show them the page from www.vaslabs.blogspot.com. Who the hell is he? I don't know anybody called by this name.
DNS: Hi Browser. Don't worry my little friend, www.vaslabs.blogspot.com, is no one but 245.112.30.81.
Browser: Oh!!! I know him! Ok thanks buddy!

A decade ago, things were a little different. The above job, was made by ARPANET, who used an archive called 'hosts' and searching for the site's name in order to match it with the IP. That archive never died, it is still there even on Vista! You can find it in the folder
'C:\Windows\System32\drivers\etc'. On Linux, the folder is '/etc'.

So, that's how we are going to work. We are going to avail by this archive in order to eliminate the annoying ads!

In the search bar on vista or the run on XP write 'system32' and press enter. Find the folder drivers and then the folder etc. If you can't find anyone of them, probably is hidden, so you can use the file engineer to find them, or the cmd command 'attrib -h -s "the path of the folder"'. Then find host file. Open it with notepad! So that's the file we are going to edit.

Every ads, even if it's a picture, has a source. To find that source, we right click on the ad and choose properties. A window opens and we find something like this: www.adlog.com/this.add/picture.jpg. So the domain name we don't want is www.adlog.com .

We have found our archive, and the unwanted domain name. We return in the archive hosts and we add this line:
127.0.0.1 www.adlog.com

The IP 127.0.0.1 represents the local host. So every time an advertisment is up to appear, it will fail. A white, empty space is going to replace its position. For better results we put 0.0.0.0 for the best results!

This process offer us the benefits below:
-more bandwith available (i.e. webpages open quicker!)
-no more unwanted or ads we don't want kids to see.
-we don't do the favor of the advertiser to affect our minds :)

PS: Could you think a funny way of using the hosts file? Imagine typing www.yahoo.com and instead of yahoo you see www.google.com . Or something more..................................... :)

Note: On vista you should run notepad as an administrator and find from the notepad the hosts file in order to perform these actions!
By Vasilis Nicolaou

Tuesday, October 13, 2009

How to shut down your pc when it stubbornly denies your commands

Well,first I am going to apologise for my bad english and I hope you'll catch the general idea :)
So, you press the shut down button and you wait... you wait, you wait... and nothing happens... Hopefully there are some ways you can turn off your machine without pressing the reset button...
For a start, you should know that the reason for a shut down failure is because a service denies to terminate itself... This is because the system can't send a terminating command to that service or because the service is not responding. Usually the second. I shall inform you now, that when the first happens it is very difficult to fix the situation... However we are going to try some things...
-First, we are going to reduce the time cpu waits a process to be terminated. This demands a simple registry operation. We press the start button and in the search bar we write 'regedit' and we press enter. The registry opens right in front of us and we follow the path below:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control
On the right window we find WaitToKillService from 20000 (i.e. 20 sec) to 10000(i.e 10 sec)(it's milliseconds. This will save time for the shutdown, but doesn't guarantee anything.
-If the above fails to solve the problem then there is another way we should try.
We press the start button again and in the search bar we write 'cmd' and then press enter.
The Windows Command Prompt opens and waits for our commands.
We are going to use the command shutdown like this:
shutdown /s /t 10 /f
This means shutdown the computer /s (yes shut down it) /t 10 (start the shut down process in 10 seconds) /f (force applications to be terminated).

If you still have problem, then try uninstalling some heavy programs. If nothing happens then a format is recommended or a computer replacement :) I hope that will help the most of you.

By Vasilis Nicolaou