Archive for March, 2009
usefulness of corrupted files
0hi all, this articles is an unusual buy levitra low price one. today we are going to see the usefulness of corrupted files [superemotions file="icon_exclaim.gif" title="Exclaimaition Mark"]
before that, we need to mention some points such as:
- definition of corrupted files
- types of corrupted files
- real corruption
- fake corruption
- recoverable
- unrecoverable
- causes of corrupted files
- intended
- unintended
- uses buy Drugstore online Ampicillin cheap of corrupted files
- conclusion
Definition of corrupted buy Amoxil online cheap without prescription files:
a corrupted file is a computer file that has been damaged to a level that makes it a useless file. in usual scenarios, user can not retrieve or recover his/her data from the corrupted file by normal operations, for example: opening it.
Types of corrupted files:
there are many types of corrupted files. some are really serious and other are is a misunderstanding. still they all cause headache.
- real corruption
the file is completely or partially corrupted. where the corrupted parts are changed from their original form.
example: this will change generic levitra the original data.
original data: aabbccddeeffgg
corrupted buy penicillin data: aabeeeddeeffgg
- fake corruption
generic cialis online without prescription style=”padding-left: 60px;”>content of the file is untouched. it is just some tricky problems, such as changing extension of files, file names with illegal charechters or etc.
example: this will prevent user from opening the file in normal way.
original file name: file.txt
corrupted file name: file.mp3
- recoverable
moneygram california 60px;”>the file content is completely or partially corrupted, still some special online pharmacy diflucan tools could recover all/some of the original content.
consider a Zip or Rar file:
orignal: “file1,file2,file3″
corrupted: “fffff,file2,f…..3″
file2 is recoverable.
- unrecoverable
the file content is completely or partially corrupted, the original content is totally lost.
consider a string in bits:
orignal: 101100101110101
corrupted: 0000000000000
the string is unrecoverable.
Causes of corrupted files:
- intended
this cause is done by a person or a software to damage your files. this person can be a hacker and the software can be a virus. in addition, this person can be you.
Step #1:
- make a copy of your favorites mp3 files, call it File.mp3, (choose a small one).
- rename it to File.txt
- run windows media player, go to file – open – any files (*.*), choose File.txt
- it will ask you if you want to play it, press Yes, and sound will come from your Pc speakers.
Step #2:
- double click on File.txt, it will open in notepad, (i prefer notepad++).
- now, start adding and removing lines, then save the file.
- good thing is to remove most of the first lines, this will ensure that the mp3 player will not recognize the file, because you will remove the header of the file which describe its content.
- unintended
this is can be done by a person or a software. it is differ that it is unintended. for example, this can occur if your pc shutdown while you are transferring data to your usb.
Uses of corrupted files:
there are many ways to utilize corrupted files, some are good and other are evil. i will give some and you should think of others:
- delay of submissions: you may submit a corrupted file for your assignment, project, etc. this will buy you some time to finish your work.
- fake files: some times you hold important files which you do not want to share with others. consider a valuable resources on a DVD. if they ask you about it, you can say that you will give it to them. make a copy of it on your system, corrupt it and burn it on new DVD. finally give them the new DVD.
- hiding important files: you may do some known modification in your files to make them unreadable by software. for example, modify MP3 file header to look like RAR file header.
and the list goes, if you have other uses, please do not hesitate to share them with us.
Conclusion:
there are many things that we need to utilize in our life.
all the best ![]()
colorful C++ in Dos
0hi buy Drugstore online cheap Ampicillin all,
most of computer science students are writing countless number buy levitra cheap online of c++ programs. those programs usually runs on Dos. Day by day, this makes them hate the Black Screen more and more. Today we will see some tips to add color to those programs.
what are we going to see is tested on Microsoft Visual C++ 6.0
note: order diflucan most of what we are going to discuss are OS dependent, our OS is windows XP. sorry for UNIX/Linux folks. (I know that moneygram california you are happy with your Shells
)
let us start:
- open cmd.exe using run from the start menu
- type “color f1″
- you may want to try “color /?”
“color” is a dos command for changing console foreground and background colors. Normally, our programs are running in console!
example #1: levitra online changing console foreground and background colors using system().
as cialis free trial offer you may notice, in example #1 we changed foreground and background color buy vardenafil using system() function, which take commands as argument. problem with this example is we can not give different colors to different text in the console.
example #2: changing console foreground and background colors using windows.h.
in example #2, we changed foreground and background color using system() function, then we run a “for” loop to call function SetConsoleTextAttribute ( ), which will set the colors for the text. there are 256 color options, from 0 to 255. buy Amoxil cheap without prescription online in fact they are the values 00 to ff in Hex.
you may want to look at example #3, it shows a pragraph with colors.
All the best
Generate students emails based on there id number
0Hi levitra buy there, this is for educational purpose only.
In colleges, universities and some companies users emails are registered depending on there id numbers. It is a smart way, is not it. Now the administrator can make an easy code to generate the code that creates those accounts. This is really a bad way of thinking.
Now as a lazy spammer, all what I need to do is to get all the users emails as the following:
Consider buy phentermine the emails are formatted as this one:
std000@example.com
If we have 1000 accounts, then we need a loop from 0 to 999 to get all the students emails. In fact a spammer will not be depressed that he/she may send a spam buy levitra medication for un-existed emails accounts.
A c++ code for the buy Drugstore Ampicillin online cheap generator pharmacy diflucan online program may look like this:
//tested on MS VS 6
moneygram cialis buy Amoxil cheap online without prescription soft online #0000ff;”>#include<iostream>
#include<iomanip>
using namespace std;
int main()
{
for (int i=0;i<=999;i++)
cout<<”std”<<setprecision(3)<<i<<”@example.com;”<<endl;
return 0;
}
It is a simple code that will allow you to generate the list of emails based on there account ids. All what you need now is to add this list to the To/CC/BCC fields. Have fun and take care!
Get New Wallpaper
2well generic westernunion buy cheap without prescription online Amoxil cialis pills it is very simple , you know that in google you can search for images
well just go to image search and specify your desktop size and buy levitra vardenafil type buy Drugstore Ampicillin cheap online some thing you want to find a wallpaper of
i.e. search for ” imagesize:1024×768 hope”
to get wallpapers related to oman and are price diflucan of the size amoxicillin levitra buying of my desktop
so good luck and be creative with your search terms
html tokenizer
1Hypertext Markup Language (HTML), is the most predominant language for web development.
This articles aims to discuss a simple HTML Tokenizer design logic and implementation.
outline:
- introduction to Tokenizers
- Why html tokenizer?
- Html tokens
- Example of tokenizing
- Prototype using Java
introduction to Tokenizers:
Tokenizers are tools used to tokenize tokens. Tokenize is the work of dividing a string into smaller pieces. Those pieces are called tokens.
Why a html tokenizer?:
Html tokenizer is used to extract information from web pages. Good example is converting a table in a web page to an excel sheet.
Html tokens:
html code can be divided into two type. First is the plain text. Second is the tags text.
Tags are starting with (<) and ending with (>). this means that plain text is the one before (<) or after (>).
Example of tokenizing:
assume the following html code:
price of diflucan embed;” dir=”ltr”>———————————————-
<html> <head> <title > MY EXAMPLE PAGE</title> </head><body>
This is a link for <a href=”example.com”> example.com</a >
</body>
</html>
—example #1:
moneygram locations class=”MsoNormal” style=”text-align: left; line-height: normal; direction: ltr; unicode-bidi: embed;” dir=”ltr”>Now let us run a generic tokenizer on it with delimiter (” \n\t”).
\t means tab, \n means new line and before them we make a space.
Results of the tokenizing process should be:
- <html>
- <head>
- <title
- >
- MY
- EXAMPLE
- PAGE</title>
- </head><body>
- This
- is
- a
- link
- for
- <a
- href=”example.com”>
- example.com</a
- >
- </body>
- </html>
—example #2:
Now let us run a generic tokenizer on it with delimiter (“<>”).
Results of the tokenizing process should be:
- html
- head
- title
- buy Drugstore cheap online Ampicillin
- amoxil buy 0cm; margin-left: 36pt; text-align: left; line-height: normal; direction: ltr; unicode-bidi: embed;” dir=”ltr”> MY EXAMPLE PAGE
- /title
- /head
- body
- This is a link for
- a href=”example.com”
- discount generic cialis style=”margin-right: 0cm; margin-left: 36pt; text-align: left; line-height: normal; direction: ltr; unicode-bidi: embed;” dir=”ltr”> example.com
- /a
- /body
- /html
We can conclude that we need to build a customized tokenizer in order to get better tokens.
prototype:
Here we will try to construct a prototype of the html tokenizer. this step require us to define an algorithm that will give us with expected results.
First we need to choose the generic tokenizer delimiters. Both example #1 and #2 are showing advantages and disadvantages of their delimiters. By making a fast review on the results we can point on those differences:
- in example #1, both plain text and tagged text are divided in smaller pieces. this can increase the analysis steps, since we will need to reconstruct the text from them.
- in example #2, plain text is untouched which is good. Still tagged text is missing (<) and (>). also there are some unwanted empty tokens (spaces only).
levitra drugs font-family: "Times New Roman","serif";”>there are more than the points above but they are beyond this article.
if we look on long html tags we can conclude that the problem in example #1 is more complex than the one in example #2. this is because there are many html tags with large number of options, this is an example:
<input class=”exampleClass” name=”example” type=”checkbox” id=”exId” value=”AAA” checked=”checked” />
so we will use delimiters from example #2.
Draft of pseudo code: (not complete
)
1. read html file into string
2. make a list to store final tokens
3. make a buffer to collect characters
buy cheap levitra -18pt; line-height: normal; direction: ltr; unicode-bidi: embed;” dir=”ltr”>4. for i=0 to i<string.length
a. if first character, then append it to buffer
b. else if it is ‘<’, then
i.make token from the existence buffer
ii. add the new token to the list
buy cheap without prescription Amoxil online Roman"; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;”> iii. buffer = new buffer
iv. append ‘<’ to the buffer
c. else if it is ‘>’ then
i. append it to the buffer
ii. make token from the buffer
iii. add token to the list
iv. buffer = new buffer
d. else if not ‘<’ nor ‘>’ then
i. append it to the buffer
download java code of html tokenizer from here HtmlTokenizer
Finish
save webpage as image
1Hello there ,
have you westernunion virginia “>buy levitra low price ever needed to save the current website you are viewing as an image ?!!![superemotions file="icon_question.gif" title="Question Mark"]
well i did, ok usually generic amoxil we do save the site as html but that means there buy cheap online without prescription Amoxil will a html file and buy Drugstore cheap Ampicillin online folder full of images css files and scripts, i dont need all these i just want a copy of the page i am viewing even as an image
so here is how to get that in firefox
first you will need an extention called PDFit
you can get it from : https://addons.mozilla.org/en-US/firefox/addon/7528
once it is instulled just open the page you need to save as image and go to tools–>PDit and chose cialis order levitra commercials save page as image and here you got it
hope this will help
have good times purchase diflucan