www.flickr.com
Showing posts with label Computer. Show all posts
Showing posts with label Computer. Show all posts

My Android Hello World Program

Monday, October 29, 2012 Posted by Glenn 0 comments

Hi guys, I just successfully made this Hello World Program in Android Programming.
Basically, in android programming, you have or you will learn on how to program XML (though its not a programming language, its a mark up language just like the html); JAVA (the powerful one! oh yea!); C; OpenGL, and etc..

For me, as a beginner, it is quite hard to make such a program. :) But I can feel that I'll soon be able to familiarize in coding of android programs.

Anyway, here's the screen shot of my program HAHAHA. LOL. Basically, I just edited the String.XML file inside the values of my project.



The program says (in jejemon language lol): "EoowxZ PfuHhzxz Android Programming World" :))
so that's it!!!

additional tags: jejemon hellow owrld, hello world in jejemon, super basic android programming, android progeramming, my very first android program

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Remove Virus in USB part 2

Friday, October 26, 2012 Posted by Glenn 1 comments

This article is written by me. I originally posted this on teachmeonline.co.cc :)

Remove Virus in USB part 2

This is for noob in computer, so I bet you will get it easily.

Instructions:
1.Insert your USB (if you think your USB has no virus at all, we will use that to check if you are correct)

2. Click START>RUN> type CMD and press ENTER.

CMD


3. Third step is.. find where is your USB located.
find where your USB located(whether D, E or F, or G)
4. Success? Now proceed to fourth step. Go back to CMD which you opened in step 2. Kindly type where your usb located. For example, the photo in step 3 shows that my USB name GLENN is at G. So I type in my cmd G:
Then press ENTER. After the location of your USB, please type attrib and press ENTER.
I typed G:>attrib

5. Alright! fifth step. After you enter the attrib, the hidden/not hidden files will appear in the CMD. suppose the virus or malicious file is the mash.exe(that is my dota hotkey heheh).
As you can see in side of each file is the letter A. Some files has A S H R. Ok, we aim to delete the mash.exe file which has a letter A.
Type attrib -"letter of the file" "file name with extension file" and press ENTER.
I typed here in this photo attrib -a mash.exe
This will make the file visible and ready to delete.

Lastly, we will now delete such file by typing del mash.exe


suppose the virus or malicious file is the mash.exe(that is my dota hotkey heheh)
Okay! Now we are finished to delete my file mash.exe(huhuhuh). To double check whether that file is already deleted or not, just type again the attrib

Voila! It is now 4:28AM and I got no sleep yet.

additional tags: Removal of viruses in usb part 2; removal of viruses in usb, removal of virus and spywares in usb, usb removal program, usb remove virus, virus removal in universal serial bus, remove viruses in usb in easy way

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Adobe Photoshop Lightroom 3.2 REAL CD serial keys

Thursday, November 3, 2011 Posted by Glenn 9 comments

You don't have to download cracks from fake websites on the internet, just copy one of these serial keys and then paste on your LR Installer.
If your Lightroom is version 2.2, then you should go here. CLICK HERE.



1160-4619-1417-8842-6759-2138

1160-4723-6958-7923-6859-1510

1160-4609-3626-9982-2935-8664

1160-4601-9792-2555-6085-0047

1160-4240-4495-6746-8069-4609

1160-4923-0464-9984-3996-3745

1160-4186-2901-3414-2501-5012

1160-4930-4699-9173-5530-8637



-glenn

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Labels: , ,

Basic Addition in Assemble Language 8086

Sunday, October 16, 2011 Posted by Glenn 2 comments

Since my classmates are all asking for help in arithmetic operation in assembly language x8086, here is a simple help. xD

Source Codes:

@prints macro s1 ;for printing string using macro command
mov ah, 09h
lea dx, s1
int 21h
endm

@scanf macro s2 ;for inputting a string using maro command
mov ah, 0ah
lea dx, s2
int 21h
endm

sseg segment para stack 'stack'
dw 200h
sseg ends

dseg segment para 'data'

inum1 label byte
max1 db 3 ;maxium lenght for the first string
len1 db ? ;unknown lenght of the inputted string
num1 db 3 dup(?)

inum2 label byte
max2 db 3 ;maxium lenght for the first string
len2 db ?
num2 db 3 dup(?)

sum db '0000' ;para san to?
pro1 db 4 dup(0) ;saka to?
pro2 db 4 dup(0) ;saka to?

s1 db 10,13,'EQUATION: (M+N)=?$'
S2 db 10,13,'ENTER VALUE FOR M: $'
S3 db 10,13,'ENTER VALUE FOR N: $'
s4 db 10,13,'THE SUM IS: $'

dseg ends

cseg segment para 'code'
main proc far
assume cs:cseg,ds:dseg,ss:sseg
mov ax, dseg
mov ds, ax
mov ax, 0003h
int 10h

cld ;para san to?
lea si, num1+1
lea di, num2+1
lea bx, sum+3

@prints s1
@prints s2
@scanf inum1

@prints s3
@scanf inum2

call mark ; call the PROCEDURE mark
mov ah, 4ch
int 21h
main endp

mark proc near ;PROCEDURE mark
mov cx, 2
xx:
mov ah, 0
mov al, [si]
adc al, [di]
aaa
mov [bx], al
dec si
dec di
dec bx
loop xx

mov [bx], ah
lea bx, sum+3

mov cx, 4
yy:
or byte ptr[bx], 30h
dec bx
loop yy

mov ah, 09h
lea dx, s4
int 21h

mov cx, 4
lea bx, sum
zz:
mov ah, 02
mov dl, [bx]
int 21h
inc bx
loop zz
ret ;return to main program
mark endp ;terminate of theprocedure mark


cseg ends
end main

---====BELOW IS THE EXPLANATION===----
xx: ;para san to?
mov ah, 0
mov al, [si]
adc al, [di]
aaa
mov [bx], al
dec si
dec di
dec bx
loop xx

-->basically, ang label na “xx” ay para na sa pag compute. Unang line: mov ah,0h -> para Masaya, I mean, kailangan mong gawing zero ang ah. Parang sa CX, kapag magccount ka, you usually use cl and not the ch, don’t you? So CL lang ang ggamitin mo tapos yung CH ay gawin mo laging zero para maiwasan na din ang error. IN FACT, kahit wag ka na mag mov ah,0h eh. Kahit wala ng ganyan.tapos yung next line na mov al,[si] ay ibig sabihin imove mo yung value ng si isa isa. Dalawang beses magloloop yang xx mo, kasi cx is set to 2 and the program requires you to enter 2 digits, kaya kapag inenter mo ay 1 digit lamang, mageerror. NEXT LINE AY “ADC”. Which means addition with carry. In the ADD command when we add two binary number bytes example,99h and 99h, the result will be 2, since when we convert 9 to binary and add them accordingly: 1001 1001 + 1001 1001 = 1 0011 0010. The left most bit will not be included in the result because the result’s data size is the same as the size of the register/memory address that the second value was added to. If the bytes are added, the sum will not fit in the byte size.
Usually this problem arises in algorithms involving byte by byte addition. If we add byte using ADC command it will set the carry flag whenever a bit will not fit in the byte size and set back the carry flag to zero when it performs the next addition operation along with the carried bit. Moving on, adc al,[di]. PARANG GANITO LANG YAN. Add mo yung si sa di tapos ilalagay mo sa al na register. Gets? But, its ADC not ADD.
Okay next tayo anne, ang AAA ay necessary. ASCII Adjust after addition. It checks the right most hex digit(4bits) of the AL register. Next is the mov [bx],al . READY FOR PRINTING after cx becomes zero. Decrement all the registers.

mov [bx], ah ;para san to?
lea bx, sum+3

-> Ito naman, yung unang line mov [bx],ah ay wala lang yan! You can make it mov [bx],0 or null. Since yung ah natin sa pinakataas ay nagging zero. ACTUALLY, THERE ARE SO MANY unnecessary codes here. Yang mov [bx],ah ay kaht burahin mo na iyan. Pati yung mov ah,0 sa itaas. Kaya nagkaroon ng ganitong code is to make sure na walang error, actually wala talagang error ang mgaganap. Para lang lagyan ng sum+3 yung bx for printing.


mov cx, 4 ;para san to?
yy:
or byte ptr[bx], 30h
dec bx
loop yy

mov ah, 09h
lea dx, s4
int 21h

-> itong loop ng yy ay basically for making the program ready to print. Next line, yung or byte ptr[bx],30h…in order to say the compiler about data type,
these prefixes should be used:

byte ptr - for byte.
word ptr - for word (two bytes).

for example:
byte ptr [BX] ; byte access.
or
word ptr [BX] ; word access.
assembler supports shorter prefixes as well:

b. - for byte ptr
w. - for word ptr

in certain cases the assembler can calculate the data type automatically. Kaya kapag tiningnan mo yung simulation ng codes mo sa isang emulator program, makikita mong b. ptr blab la bla ang gamit at hindi yung byte. Ngayon, ang tanong, bakit 30h kailangan? Kapag pinalitan mo ng value yang hex nay an, magiiba ang sagot. Ang value kasi ng 30h into decimal ay ZERO. The answer must initiate at zero.


Photobucket

"click the image to enlarge."

mov cx, 4 ;para san to?
lea bx, sum
zz:
mov ah, 02
mov dl, [bx]
int 21h
inc bx
loop zz
-> Ito na mismo ang pagpprint ng SUM. Bow!
-glenn xD

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Assembly Language Printing with attributes

Wednesday, June 1, 2011 Posted by Glenn 0 comments




Copy the Source Codes, assemble and run
Note: These two programs has a .COM Structure








Copy the Source Codes, assemble and run
Note: These two programs has a .COM Structure


Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Garena Free Maphack For Real

Sunday, May 1, 2011 Posted by Glenn 0 comments

Here is the URL: http://www.mediafire.com/?se6rs1fwy4lj6j9

please spread and please open the READ THIS text file and follow the instructions
no virus, just map hack application

glenn ^_^

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Labels: ,

C PROBLEM: MAKE A PROGRAM THAT WILL CONVERT A NUMBER INTO ROMAN NUMERALS

Sunday, April 17, 2011 Posted by Glenn 2 comments

/*C PROBLEM: MAKE A PROGRAM THAT WILL CONVERT A NUMBER INTO ROMAN NUMERALS

-program by spoon feed */

#include

#include

main()

{

int n,r,th,h,t,o;

printf("Enter a number less 1-1000: ");

scanf("%d", &n);

if (n>1000)

{

n=0;

printf("invalid input");

}

else if (n<=1000)

{

th=n/1000;

n=n%1000;

h=n/100;

n=n%100;

}

/*If the input number is 11 - 19

this code will be executed*/

if ((n>10) && (n<20))

{

t=0;

o=0;

r=n%10;

}

else

{

t=n/10;

n=n%10;

o=n;

}

switch(th)

{

case 1: printf("M"); break;

}

switch(h)

{

case 1: printf("C"); break;

case 2: printf("CC"); break;

case 3: printf("CCC"); break;

case 4: printf("CD"); break;

case 5: printf("D"); break;

case 6: printf("DC"); break;

case 7: printf("DCC"); break;

case 8: printf("DCCC"); break;

case 9: printf("CM"); break;

}

switch(r)

{

case 1:printf("XI");break;

case 2:printf("XII");break;

case 3:printf("XIII");break;

case 4:printf("XIV");break;

case 5:printf("XV");break;

case 6:printf("XVI");break;

case 7:printf("XVII");break;

case 8:printf("XVIII");break;

case 9:printf("XIX");break;

}

switch(t)

{

case 1:printf("X");break;

case 2:printf("XX");break;

case 3:printf("XXX");break;

case 4:printf("XL");break;

case 5:printf("L");break;

case 6:printf("LX");break;

case 7:printf("LXX");break;

case 8:printf("LXXX");break;

case 9:printf("XC");break;

}

switch(o)

{

case 1:printf("I");break;

case 2:printf("II");break;

case 3:printf("III");break;

case 4:printf("IV");break;

case 5:printf("V");break;

case 6:printf("VI");break;

case 7:printf("VII");break;

case 8:printf("VIII");break;

case 9:printf("IX");break;

}

getch();

}

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook

Thursday, March 17, 2011 Posted by Glenn 0 comments

I've learned something after my neighbor brought her laptop to me. She wanted me to remove the virus in her laptop.
The name of the virus that i have found is: update.exe
It is a virus, a trojan virus that makes a folder named "winivid.exe" in your flash drives and adds a .exe program in your folder. When you click a folder in a flash drive came from her infected laptop, your computer will suddenly be affected too.

So, how do we stop the virus process using msconfig?

Step 1: Click Start>>click Run>>type MSCONFIG.

Step 2: Press Enter. The System Configuration Utility box will appear and click on Services tab.

Step 3: Find the "dupdate.exe" and "update.exe" and another "update.exe"

Step 4: Uncheck the box of the three .exe processes.

Step 5: Click apply and click close then reboot your computer.


Note: The virus is still there. You may find the update.exe virus in your C: local settings folder and delete it after you close the process in your computer by pressing CTR+ALT+DELETE.
I find this process helpful.

Good Luck and cheers!
-Glenn

Sharing is so Easy:
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google Twitter FaceBook