//////////////////////////////////////////////////////////////////////////////////////////
//
// A c++ based program that multiplies 2 positive integers using repetitive //addition.
//
//////////////////////////////////////////////////////////////////////////////////////////
#include
void main(){
char ans='y';
do{
int x=0;
int y=0;
int prod=0;
input_firstNumber:
cout<<"Firts Num: ";
cin>>x;
if(x>0){
input_secondNumber:
cout<<"Second Num: ";
cin>>y;
if(y>0){
while(y!=0){
prod=prod+x;
y--;
}
}
else
goto input_secondNumber;
}
else
goto input_firstNumber;
cout<
cout<<"Coninue? Y/N";
cin>>ans;
}while(ans=='Y' || ans=='y');
}
Tuesday, November 25, 2008
Repetitive Addition - c++ based programming
Labels: Programming
Friday, November 21, 2008
PHP Calendar Script
I am currently working on a website (PHP-Based) that needs a calendar and I have found a simple script which I want to share it. I found it in this LINK.
This calendar shows the current month (depending on the settings of your system date). I just made some changes and added some hyperlinks on the dates. Hope it can also help you in your projects. :)
Sample screenshot.
If you want a free and complete functionality of php calendar, just follow this LINK.
Labels: Web Programming
Tuesday, November 4, 2008
Wednesday, October 22, 2008
PHP User Authentication (simple login script)
This php script runs in a localhost host (in your own machine). I have used dreamweaver to create this script.
Below is the code for the above form.
Having this form, we can now create the php login script.

- if(isset($_POST['login'])){
- $link=mysql_connect("localhost","root") or die("Cannot Connect!");
- mysql_select_db("users",$link);
- $sql="select * from user where username='".$_POST['username']."' and password='".$_POST['password']."'";
- $result=mysql_query($sql);
- if(mysql_num_rows($result)==1){
- session_start();
- $_SESSION['username']=$_POST['username'];
- $_SESSION['log']=true;
- header('location: mypage.php');
- }
- else{
- echo "Invalid Username or Password! Try Again.";
- }
- }
- ?>
- Start/beginning tag of the php script.
On line 2,
- Checks if user clicks on the login button.
- it will going to create a connection to the database server which is MySQL that is running in the PhpMyAdmin interface. mysql_connect("server","user","password"). In this example, since we are running the script in a localhost, we will use localhost as the server and root for the user (note: localhost and root is the default value of PhpMyAdmin).
- If the connection attempt was successful, it will continue the script, otherwise it will return the die("") function and display what ever string you are going to set inside the function.
- If the connection attempt was successful, it will going to select the database using the mysql_select_db("dbName",connection) function. For this example, we use the database "users" and "$link" as the connection to MySQL.
- After selecting the specific database to use, we are now ready to make a MySQL query. On line 5, we have set $sql as a variable for our query string and on line 6 we are doing the actual MySQL query.
- (Note: In the query, you have noticed I have highlighted (red) the names of password and username. These are the names given to the textfields in our form in order to have a correct referencing once we run the MySQL Query)
- We do the checking, once a record is found based on our query, it will going to start the session by using the session_start() function. After calling this function, we are now going to use the $_Session['some_parameter'] variable to set for that certain user who logged in. In this example, we have used 'username' and 'log' to name our session variable. (Note: DO NOT be confused in the username of the session variable and the username in the textfield. In the session variable, any name can be defined.) Now, we have initialized the $_Session['username'] variable with the name of the user which is the $_POST['username']. Also we have initialized a boolean $_Session['log'] variable to true which will be discussed in the next topic. And finally, on line 10, after initializing all the $_Session variables, we will redirect the user to a certain page, in this case mypage.php.
- If the MySQL query did not match any condition in the database, it will display an error.
- It indicates the closing tag for php script.


- if(isset($_POST['login'])){
- $link=mysql_connect("localhost","root") or die("Cannot Connect!");
- mysql_select_db("users",$link);
- $sql="select * from user where username='".$_POST['username']."' and password='".$_POST['password']."'";
- $result=mysql_query($sql);
- if(mysql_num_rows($result)==1){
- session_start();
- $_SESSION['username']=$_POST['username'];
- $_SESSION['log']=true;
- header('location: mypage.php');
- }
- else{
- echo "Invalid Username or Password! Try Again.";
- }
- }
- ?>

- session_start();
- if($_SESSION['log']==true){
- echo " WELCOME ".$_SESSION['username']."! YOU HAVE LOGGED IN...";
- echo "Dont forget to Logout afterwards.";
- }
- else{
- header('location:login.php');
- }
- ?>
- Same explanation above. :-)
- It will going to check if the $_Session['log'] variable is true. This is essential for the reason that it does not allow user to directly access mypage.php webpage without logging in.
- If the $_Session['log'] variable is true, It will going to display the welcome note with the name of the user who logged in. And in line 5, it gives the user the access to logout from the website.
- If the user will going to access the mypage.php page directly without logging in, and the php script will going to check if the $_Session['log'] variable is true, it will disregard these lines, however, if $_Session['log'] variable is false, it will going to redirect in the login page.
------------------------------------ This is for the logout script --------------------------------------
If the user will going to click the logout link located in the mypage.php, it will going to run this script. On line 2, session_start() must always be in your php scripts in order to effectively use the session variables ($_Session[], session_destroy()). Now the session_destroy by its name, it will going to destroy all initialized sessions, in this case the $_SESSION['username'] and $_SESSION['log'] and on line 4, it will going to bring the user to the login.php page.
------------------------------------------------------------------------------------------------------------
There you have it, the simple login/logout php scripts.
IMPORTANT: The above scripts that does not stop hackers from using php injection. To make an advance user authentication scripts, follow this LINK. The script is basically the same, but in order to avoid hackers from using php injection and mess up with your website, you have to use encryption and mysql_real_escape_string.
Goodluck and enjoy web programming... :) Open for your comments.. thanks!
Labels: Web Programming
Tuesday, October 14, 2008
Itay wag pooooooooooo...
My friend emailed me this.. I just want to share it you... Unbelievable but true! waaaa
A true story daw, he, he..............
(kuwento ng isang ka-barangay)
Huwag Po Itay....
Nais kong ibahagi sa inyo ang namagitan sa amin ng aking itay isang gabi. Hinding-hindi ko makakalimutan ang gabing iyon. Malakas ang ulan noon nguni't maalinsangan ang simoy ng hangin.
Ako ay nagsusuklay sa aking silid, katatapos ko pa lamang maligo at nakatapis pa lamang noon. Narinig kong kumakatok si Itay sa aking pinto. Nang sagutin ko ang pagkatok niya ay sinabi niya na kailangan daw naming mag-usap at humiling na papasukin siya. Binuksan ko ang pinto at siya'y kagyat na pumasok sa aking silid.
Laking pagkagulat ko nang ipinid niya at susian ang pinto. Hinawakan ni Itay ang aking mga kamay, hinaplos-haplos niya ang aking buhok, ang aking mukha, pinaraan niya ang kanyang mga daliri sa aking kilay, sa aking mga pisngi,sa aking mga labi. Napasigaw ako.
"ITAY, huwag, huwag! Ako'y inyong anak! Utang na loob, Itay!" Nguni't parang walang narinig ang aking Itay. Ipinagpatuloy niya ang kanyang ginagawa. Ipinikit ko na lamang ang aking mga mata dahil ayaw kong makita ang mukha ng aking ama habang ipinagpapatuloy niya ang kanyang ginagawa sa akin.
Naririnig ko si Inay sumisigaw habang binabayo ang pinto at nagpipilit na ito'y buksan, "Hayop ka! hayop ka! Huwag mong gawin iyan sa anak mo! Huwag mong sirain ang kanyang kinabukasan".
Subalit wala ring nagawa si Inay, hindi rin siya pinakinggan ni Itay. Nanatili na lamang akong walang katinag-tinag at ipinaubaya ko na lamang ang aking sarili sa anumang gustong gawin ng aking Itay.
Pagkalipas ng ilang oras ay tumigil na rin ang aking Itay. Iniharap niya ako sa salamin ay ganoon na lamang ang aking pagkamangha at pagkagulat sa aking nakita. Magaling naman palang mag-make-up si Itay.
Nang gabing iyon ay nagtapat sa akin ang aking ama. Bakla pala siya. Labis akong nagalak sa
galing at husay ng aking ama. Naisip ko na matutuwa ang aking boyfriend dahil lalo akong gumanda ngayon. Niyakap ko si Itay at pareho kaming napaluha sa labis na kagalakan. Masaya na kami ngayon at nabubuhay nang matiwasay.
Lovingly yours,
BADONG
Please see attached pictures.


Anong say nyo jan mga tita?
Di vah, bongga!
--
"Beauty is in the eye of the BEER holder"
Labels: Funny
Wednesday, October 8, 2008
China Products???
Labels: Just a Thought
Microsoft Makes Programming Easy
Web applications nowadays are very common, as long as you have an internet connection you will be able to use all the web apps found on the Internet. To mention some of the web apps that are “high” in the market right now are the following; Friendster.com, Blogspot.com, Multiply.com and many more. Web applications were developed depending on the programming languages preferred by the web developer and Microsoft is here to make this web programming easy. For instance, Microsoft offers a development toolkit called Visual Web Developer. In this toolkit, web developers will be able to develop web applications using ASP.
Enjoy ASP.
Labels: Programming, Web Programming
Sunday, September 28, 2008
Story behind the Santos Clan (My family)
The trials that the Santos' have experienced have made them what they are today. And more importantly, they have established an intact, strong relationship between members of the Santos clan. And the "story" once guided them, will now be shared with the next generation of the Santoses to come.
Labels: Santos
Wednesday, September 24, 2008
Microsoft Excel Troubleshooting Steps
In order for you to open that specific file, you need to locate it, in the excel application select FILE->OPEN->YOUR FILE, hassle isn't it?! So what I did was, I searched on how to troubleshoot this problem and luckily I have found one. This is it.
• Open "My Computer"
• Click on Tools
• Click on Folder Options
• Click the Tab "File Types"
• Scroll down till you find the Extension XLS
• Click the Advanced button at the bottom
• Highlight the Open and Click Edit
• Click Browse and find your Excel.exe which will be under C:\Program Files\Microsoft Office in either Office10, Office11 or Office12
• Then after selecting your Excel.exe at the end of the "Application used to perform action:" line put /e "%1"
• After that un-check the Use DDE box and hit ok all the way out.
After doing these steps, I'd open the same excel file and the problem was solved.
Thanks for the troubleshooting steps from this SITE.
Labels: Troubleshooting
Sample Program (Displaying 10 Sequential numbers)
/*
Displaying Sequential 10 numbers.
*/
public class concatTwoWords{
import java.io.*;
import java.lang.*;
public static void main(String[] args){
for(int i=0; i<10; i++){
System.out.print(i + ",");
}
}
}
Labels: Programming
Sample Program (String Concatenation)
/*
This is a simple string concatenation.
*/
public class concatTwoWords{
import java.io.*;
import java.lang.*;
public static void main(String[] args){
String firstWord = "";
String secondWord = "";
String concatenatedWord = "";
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
System.out.print("Enter First Word: ");
firstWord = input.readLine();
System.out.print("Enter First Word: ");
secondWord = input.readLine();
concatenatedWord = firstWord + secondWord;
System.out.print("Put them together, you'll get: " + concatenatedWord);
}
}
Labels: Programming
Sample Program in Java (Adding two numbers)
/*
This is a simple 2 numbers addition in java
You can change the class name into whatever you want.
(e.g. multiplyTwoNumbers). You can also alter the
mathematical operators (if im not mistaken, (+,-,*,/)).
*/
public class addTwoNumbers{
import java.io.*;
import java.lang.*;
import java.util.Scanner;
public static void main(String[] args){
int firstNumber = 0;
int secondNumber = 0;
int sum=0;
Scanner input=new Scanner(System.in);
System.out.print("Enter First Number: ");
firstNumber = input.nextInt();
System.out.print("Enter First Number: ");
secondNumber = input.nextInt();
sum = firstNumber + secondNumber;
System.out.print("Sum is " + sum);
}
}
Labels: Programming
Monday, September 22, 2008
Pop-up Blocker Troubleshooting
So, what I did was, I had contacted my counterpart in US and ask for his opinion and gave him some screenshots regarding the error. He told me that "Make sure there is no GOOGLE/YAHOO Toolbars installed in the browser, because these toolbars have their own pop-up blocker." So the first thing that I did this morning was uninstall the toolbars and run the setup for the web application. And he is right, the error was because of the Yahoo/Google toolbars installed in the browser.Simple things can sometimes cause a huge problem... ;)
Labels: Troubleshooting
Wednesday, September 17, 2008
Unfair? Or Motivation?
Have you been an honor student or do you belong on the top 10 in your class? If yes, I might be mistaken if I am going to tell you that you are not the apple of the eye of the teacher in your class. However, if you are not, then probably you are being left behind, or often times, you are being treated as if you don’t exist in your teacher’s class. Am I right?
Sometimes or oftentimes, your ideas were not being recognized by your teacher and sometimes when you spill out your ideas they will just going to give you an obvious sarcastic smile. Am I right?
I think they should be more focused on giving attention to those people who need it the most rather than setting them aside. By just giving your suggestion or your insights would mean a lot to your student.
Setting aside students or not guiding them is very crucial in their development/self-growth especially for people with low self-esteem.
On the other hand, these things had kept me motivated. This is also the reason why I have finished my thesis during college. And these things had always reminded me that it is good to have - “People with favoritism and judgmental around to reminds us that there are things to enhance, to develop and to change in order to be recognized and more importantly – for our on self-growth!”
“The real way to get happiness is by giving out happiness to other people, try to make this place a little better than you have found it, coz when it’s your turn to come to die, you can die happy in feelings than in any rate. You have not wasted your time but you have done your best.” – Bayden Powell
Labels: Just a Thought
Tuesday, September 16, 2008
Convertion (hexadecimal, binary and octal to decimal equivalent)
/*
Here is a java-based code which converts a hexadecimal, binary and octal to decimal equivalent,
corrections and suggestions are highly appreciated.
*/
package converter;
import java.io.*;
import java.lang.*;
import java.util.Scanner;
public class converter{
public static void main(String[] args){
int integer_input=0;
int base_input=0;
int choice;
String again="y";
Scanner input=new Scanner(System.in);
BufferedReader again_input = new BufferedReader(new InputStreamReader(System.in));
do{
System.out.print("\n");
System.out.println("Input as\n");
System.out.println("1. Binary \n2. Octal \n3. Hexadecimal \n4. QUIT");
System.out.print("\nEnter choice: ");
choice=input.nextInt();
switch(choice){
case 1:{
System.out.print("\n");
String myBinary="";
BufferedReader binary_input = new BufferedReader(new InputStreamReader(System.in));
try{
System.out.print("Input binary digits(ex.1001110): ");
myBinary=binary_input.readLine();
for(int i=0;i
System.out.println("Sorry Invalid input");
System.exit(1);
}
}
int len=myBinary.length();
int storeBinaryInput[] = new int[len];
for(int j=0; j
storeBinaryInput[j]=Character.getNumericValue(myBinary.charAt(j));
}
BinaryToDecimal(storeBinaryInput,len);
}
catch(Exception io){}
break;
}
case 2:{
System.out.print("\n");
String myOctal="";
BufferedReader octal_input = new BufferedReader(new InputStreamReader(System.in));
try{
System.out.print("Input octal digits(ex.112): ");
myOctal=octal_input.readLine();
int len=myOctal.length();
int storeOctalInput[] = new int[len];
for(int j=0; j
storeOctalInput[j]=Character.getNumericValue(myOctal.charAt(j));
}
OctalToDecimal(storeOctalInput,len);
}
catch(Exception io){}
break;
}
case 3:{
System.out.print("\n");
String myHexa="";
BufferedReader hexa_input = new BufferedReader(new InputStreamReader(System.in));
try{
System.out.println("Use letters A-F only");
System.out.print("Input hex digits(ex.589 or 8F): ");
myHexa=hexa_input.readLine();
int len=myHexa.length();
int storeHexaInput[] = new int[len];
for(int j=0; j
storeHexaInput[j]=Character.getNumericValue(myHexa.charAt(j));
}
HexaToDecimal(storeHexaInput,len);
}
catch(Exception io){}
break;
}
case 4:{
System.out.println("Bye!");
System.exit(1);
break;
}
default:{
System.out.println("Invalid Input");
}
System.out.print("Do you still want to continue [y][n] ");
try{
again=again_input.readLine();
}
catch(Exception io){
}
}
}while(again.charAt(0)=='Y' || again.charAt(0)=='y');
}
public static void BinaryToDecimal(int storedBinaryHere[],int len){
int result=0;
int j=len-1;
for(int i=0;i
result+=storedBinaryHere[i]*Math.pow(2,j);
j--;
}
System.out.println("Decimal equivalent is "+result+" base 10");
}
public static void OctalToDecimal(int storedOctalHere[],int len){
int result=0;
int j=len-1;
for(int i=0;i
result+=storedOctalHere[i]*Math.pow(8,j);
j--;
}
System.out.println("Decimal equivalent is "+result+" base 10");
}
public static void HexaToDecimal(int storedHexaHere[],int len){
int result=0;
int j=len-1;
for(int i=0;i
result+=storedHexaHere[i]*Math.pow(16,j);
j--;
}
System.out.println("Decimal equivalent is "+result+" base 10");
}
}
Labels: Programming
Sunday, September 14, 2008
EASYPHP (Apache and MySQL Installation)
Want to start making your dynamic websites? First, you must download a web server (apache) and database server (MySQL) HERE.
I have used EasyPHP to develop my first dynamic website (Online Ateneo Prospectus). EasyPHP is package containing both web server and database server. There are two other packages that I know; one is XAMPP and the other is WAMP.
To continue, after downloading EasyPHP, install it in your computer. Below is the installation procedures.
1. This is the first thing you will encounter once you double-click the EasyPHP installer.
Choose your preferred language and click OK.
2. The next thing you will be prompted is the picture below.
Click next and you will be prompted to the License Agreement.
3. In the License Agreement, select I ACCEPT THE AGREEMENT and click Next.
4. After, you will be prompted with EasyPHP's Information and click Next.
5. Then, select your destination location and click Next.
6. After you have selected the location and clicked Next, you will prompted with the pictures below. Click Next and Install to start the Installation;

Wait till 100% Complete Progress and Click Finish.
7. After the installation, EasyPHP will automatically RUN the servers, you can find the EasyPHP icon at the bottom right corner of your monitor (where your system clock is located.)
Double click the icon and see if the servers are already running (Both APACHE and MYSQL has a GREEN light). Refer the picture below.
Note: If you happen to experience error containing this .DLL file "LIBMYSQL.DLL" during the automatic start of the servers. Just copy LIBMYSQL.DLL from the EasyPHP Directory, PHP5 folder and paste to \windows\system32 and restart your servers (Click the server's button to restart). Or you can always post here a reply regarding your error. Otherwise, disregard this message.
And your good to go.
8. Save all your .php files in www folder located in your easyPHP directory.
Good luck and enjoy web programming with PHP.
Labels: Web Programming
Friday, September 12, 2008
Coincidence??
Weird 911 facts:
1) New York City has 11 letters
2) Afghanistan has 11 letters.
3) Ramsin Yuseb (The terrorist who threatened to destroy the Twin Towers in 1993) has 11 letters.
4) George W Bush has 11 letters.
5) The two twin towers make an "11"
This could be a mere coincidence, but
this gets more interesting:
1) New York is the 11th state.
2) The first plane crashing against the Twin Towers was flight number 11.
3) Flight 11 was carrying 92 passengers. 9 + 2 = 11
4) Flight 77 which also hit Twin Towers, was carrying 65 passengers. 6+5 = 11
5) The tragedy was on September 11, or 9/11 as it is now known. 9 + 1+ 1 = 11
6) The date is equal to the US emergency services telephone number 911. 9 + 1 + 1 = 11.
Sheer coincidence..?! Read on and make up your own mind:
1) The total number of victims inside all the hi-jacked planes was 254. 2 + 5 + 4 = 11.
2) September 11 is day number 254 of the calendar year. Again 2 + 5 + 4 = 11.
3) The Madrid bombing took place on 3/11/2004. 3 + 1 + 1 + 2 + 4 = 11.
4) The tragedy of Madrid happened 911 days after the Twin Towers incident.
Sheer coincidence..?! Read on and make up your own mind:
Now this is where things get totally eerie:
The most recognized symbol for the US, after the Stars & Stripes, is the Eagle.
The following verse is taken from the Quran, the Islamic holy book:
"For it is written that a son of Arabia would awaken a fearsome Eagle. The wrath of the Eagle would be felt throughout the lands of Allah and lo, while some of the people trembled in despair still more rejoiced: for the wrath of the Eagle cleansed the lands of Allah and there was peace."
That verse is number 9.11 of the Quran.
Still unconvinced about all of this..?!
Try this and see how you feel afterwards, it made my hair stand on end:
Open Microsoft Word and do the following (TRY THIS FOR REAL)
1. Type in capitals Q33 NY. This is the flight number of the first plane to hit one of the Twin Towers.
2. Highlight the Q33 NY
3. Change the font size to 48.
4. Change the actual font to the WINGDINGS 1
Weird huh!?!?!
Labels: Just a Thought
Thursday, September 11, 2008
Getting all letter A's in user input (assembly programming a86)
These lines of codes primarily get all letter A's found in the user input. Developed in A86.
;--------start of code
lea dx,input
int 21h
lea di,acl
lea si,aaax
mov cl,[di]
check:
mov al,[di]
cmp al,'a'
je storeA
inc di,1
dec cl,1
cmp cl,0
je exit
jmp check
storeA:
mov [si],al
inc si,1
dec cl,1
cmp cl,0
je exit
inc di,1
jmp check
exit:
mov ah,02
mov dl,0dh
int 21h
mov dl,0ah
int 21h
mov ah,09
lea dx,aaax
int 21h
int 20h
input label byte
m db 255
acl db ?
string db 255 dup('$')
aaax db 255 dup('$')
;---------- end of code
Hope this could help you or somehow give you ideas on assembly programming in a86.
Labels: Programming
2 Letter Word Dictionary in Assembly Programming
Thanks to Dino Bansigan for helping in this assignment. ;) Please do comment for any suggestion. Thanks!
;----------- start of code
lea dx, msg
mov ah, 09
int 21h
lea dx, input
mov ah, 0ah
int 21h
mov dl, 0dh
mov ah, 02
int 21h
mov dl, 0ah
int 21h
lea dx, msga
mov ah, 09
int 21h
mov dl, 0dh
mov ah, 02
int 21h
mov dl, 0ah
int 21h
lea si, actlen
mov al, [si]
mov cl, al
cmp cl, 1
je invalid
mov bh, 0
mov bl, 0
next:
mov ch, 0
lea si, dictionary
lea di, temp
mov al, [si+bx]
cmp al, 33
je exit
mov [di], al
inc di, 1
inc bx, 1
mov al, [si+bx]
cmp al, 33
je exit
mov [di], al
inc bx, 2
lea si, temp
lea di, string
compare:
mov al, [si]
cmp al, [di]
je compare2
inc di, 1
inc ch, 1
cmp ch, cl
je next
jmp compare
compare2:
inc si, 1
lea di, string
mov ch, 0
compare3:
mov al, [si]
cmp al, [di]
je display
inc di, 1
inc ch, 1
cmp ch, cl
je next
jmp compare3
display:
lea dx, temp
mov ah, 09
int 21h
mov dl, 0dh
mov ah, 02
int 21h
mov dl, 0ah
int 21h
jmp next
invalid:
lea dx, msge
mov ah, 09
int 21h
int 20h
exit:
int 20h
input label byte
maxlen db 255
actlen db ?
string db 255 dup('$')
temp db 3 dup('$')
msg db "Enter a word with only lowercase letters: $"
msga db "2 letter words found from input: $"
msge db "Invalid Input!$"
dictionary db "aa ab ad ae ag ah ai al am an ar as at aw ax ay ba be bi bo by de do ef eh el em en er es et ex fa go ha he hi hm ho if in is it jo ka la li lo ma me mi mm mo mu my na ne no nu od oe of oh om on op or os ow ox oy pa pe pi re sh si so ta ti to uh um un up us ut we wo xi xu ya ye yo!$"
;------ end of code
Labels: Programming
String Manipulation (Assembly in A86)
As I was going through with my old emails, I have found some A86 assignments. And I want to share it with you. This "String Manipulation" source code is working. ("/)
I am not that good in assembly programming, thus any comment or suggestion will positively entertained. Thank you!
mov ah,0ah
lea dx,strng
int 21h
mov ah,02
mov dl,0dh
int 21h
mov dl,0ah
int 21h
lea di,string
lea si,actlen
mov cl,[si]
here:
mov al,[di]
cmp al,'e'
je change
inc di,1
dec cl,1
cmp cl,0
je exit
jmp here
change:
mov al,'i'
mov [di],al
inc di,1
dec cl,1
cmp cl,0
je exit
jmp here
exit:
lea dx,string
mov ah,09
int 21h
int 20h
strng label byte
maxlen db 255
actlen db ?
string db 255 dup('$')
I forgot all the syntax. hehe
Labels: Programming
Monday, September 8, 2008
MSDN Regional Roadshow
On September 11, 2008 (Thursday), my colleagues and I are going to attend a seminar on the new enhancements of the freshly released .NET 3.5 Framework SP1 with the Introduction of the ADO.NET Entity Framework. The seminar also includes topic about ASP.NET AJAX 3.5 SP1.
We can also take advantage on a hands-on demonstration on how to program .Net code using the ADO.NET Entity Framework. It is indeed a great opportunity to attend such seminar like this one.
Labels: Web Programming
Brock Lesnar vs. Randy Couture
I am a big fan of Randy " The Natural" Couture and even he is already in his 40's, I believe he is going to win the fight and no disrespect for Brock's fighting ability and power but I will have my vote for Couture's victory!
Labels: Ultimate Fighting Championship
Sunday, September 7, 2008
Evans Knocked Out Liddell
It had truly showed that "ANYTHING CAN HAPPEN INSIDE THE OCTAGON!"
You can watch the full video HERE. Enjoy and get shocked! ;)
Labels: Ultimate Fighting Championship
Thursday, September 4, 2008
Importance of COLORS
Think of this.How often do you experience that you have planned to buy something and in the end you tend to buy something else?
The reason for this is because almost 70%-80% of your buying decision is being influenced by colors. You tend to select and buy stuffs that first got your attention or maybe because it is in the same color combo that you wanted.
Not convinced yet?
Here is my other example,
How often do you use the Internet?
Do you view websites that does not use any color combinations (i.e. Grayscale pictures, Grayscale stuffs and etc.)?
Maybe you do, maybe because that website is a ready to print information or the printable version of a certain article that you need. And that’s it. It does not bring any excitement or any feelings about that web site.
My point is that, color can really affect or influence the feelings of a certain viewer, reader, visitor and even buyer. If you are going to use the right color combination on the right “theme” on what you are trying to convey to the person you are trying to communicate with, then there you have it, you have established a successful connection between YOU and that PERSON.
Come on and try it, and you’ll see what I mean. For my color combination reference, this is what I am using. It’s free.
www.colorcombos.com
Labels: Just a Thought
Monday, September 1, 2008
In-house Online Audio - Visual Materials & Equipment Monitoring System
Thesis Entitled: In-house Online Audio - Visual Materials & Equipment Monitoring System
General Objective: To develop an In-house website for Audio Visual Office/Room
Specific Objectives:
1. To monitor the usage of Audio Visual materials and equipment;
2. To enable users/borrowers of different units (college,grade school,high school) to know the availability of such materials and equipment;
3. To minimize paper workload on statistics and reports, and;
4. To minimize/eliminate manual errors on making statistics and reports.
Recommended number of member(s) in a group: 1 to 2 person(s)
You can use this ideas to develop your thesis, projects or whatever purpose it may serve you. Please comment on how helpful this is. Thank you
Labels: Thesis/Project Ideas
The Journey to Osmeña Peak
Friday, August 29, 2008
This is where we're heading this coming weekend (8/30-31/08)
"Osmena Peak is known to be the highest peak in the province and Island of Cebu. Base on actual GPS altitude, it stand approximately 1000 meters above sea level. Osmena peak is located in the vicinity area of Mantalungon, (a town that is around 700 to 800 meters and probably one of the highest towns in Cebu. Mantalungon has been known as the vegetable kingdom of Cebu. Its really unusual finding this town where you feel it was like an area in the Cordilleras were they have their trading post for vegetable dealers and townfolks and children are wearing jackets at high noon. Reminds me of Baguio City and La Trinidad). " Read more...Labels: Outings
Need extra Income?
Shoppingads.com is offering internet users to make money online just by displaying ads to their websites. The basis of which is when your visitors click on the ads from your website, it can either be by CPC (Cost-Per-Click) and CPA (Cost-Per-Acquisition) and you can already start earning.
You can click shoppingads.com now to start earning.
Start earning now!
Labels: Extra Income
Thursday, August 28, 2008
Featured Video of the Week
You can click here for the full video of Evans vs Liddell fight.
Enjoy!!!
Labels: Ultimate Fighting Championship
Content Management System
You can download and use the free FCKEditor HERE. Also on that site, you will see the STEPS on how to integrate the FCKEditor on your website (many programming languages to choose from).
FCKEditor is an application to improve your web contents, most web developers use this editor to manage the contents of their website.
Labels: Web Programming
Search
Categories
- Extra Income (1)
- Funny (2)
- Just a Thought (6)
- Outings (1)
- Programming (9)
- Santos (1)
- Thesis/Project Ideas (1)
- Troubleshooting (4)
- Ultimate Fighting Championship (3)
- Web Programming (7)
Featured Video


