
ProJecT
Members-
Posts
3,447 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Everything posted by ProJecT
-
[GR]Na metrisoume mexri to 20 prin prolabei enas staffer na kanei post!
ProJecT replied to R1aKoC's topic in Spam Topics
5 -
LP will go at Athens i live 1000 km from athens :S 8 hours with car... and if someone kills his self dnt mean that he is emo >.<
-
wow its a big collection i think that the game Sayia(or something like this) is the game which stole the files from Line3age i was playing the game Tales of Pirates and i make donate with my bro around 2.000 or 3.000 i know that u will not believe it but its true.. i was young,fool and with my moms credit card in my hand :P also she didnt punish me(thnx god, my mum is the craziest than ever)
-
I am at 1st class of high high school :P( in 2 years i m done with school) and maybe i dnt pass to the next class(level).. give me a reason plz so i cant be sad... do it until Monday or Tuesday =/ i wanna kill my selff :S :S
-
lol wtf? maybe he use programs to change the voice ^^ there are many
-
yeah its rly good what programm u use?? i make my sign with GIMP 2.. i use GIMP 2 only for 3 days and i dnt know much.. if anyone can help me i will apreciate it
-
i think yes.. try it if u want
-
i dnt know if this is a hack.. i was make it to hack games in miniclip and other sites(scores or speed) so i did it with Cheat Engine.. i use iexplorer.exe(if u know to use cheat engine u know what i mean) and then i upgrade speed to 150.0 and it was very fast..
-
Things that your mobile can do (and that you do not know) 1. The emergency number for the whole world is: 112. This number can be entered even if your mobile is jammed. Try! 2. Lock forgetting the car keys inside while you are away from home where other guard; We call on your mobile to someone at home who will be closer to the phone the control of keys and you in your cell phone in the car door will be opened immediately and insurance. The same applies to the trunk. Try it! 3. Out of the battery of your mobile; All mobile have a spare battery loading them by typing * # 3370, automatically activated even giving you an additional 50% filling. When it reloads the mobile you will automatically recharged and the spare tire. 4. What to do if you stole the mobile; Traders mobile keep secret this information so that the thief to continue using the services of mobile telephony and consumes while, the victim of theft, to buy another mobile and to continue and it consumes. It is necessary to gain the serial number of your mobile. Type * # 06 # on the screen and you will receive a code. This code, unique in the world, is the serial number your mobile. Note the retention and the somewhere. If you steal the mobile, warning the service provider and give you this number. This means that your mobile will be completely blocked even if the thief changed the card SIM. Probably not recovered the mobile but at least you will have the certainty that the thief will not ever use it. The most important thing is that if we all implement this, the mobile theft is completely useless.
-
Java: Java is a programming language originally developed by Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities. Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. Philosophy Primary goals There were five primary goals in the creation of the Java language: 1. It should be "simple, object oriented, and familiar". 2. It should be "robust and secure". 3. It should be "architecture neutral and portable". 4. It should execute with "high performance". 5. It should be "interpreted, threaded, and dynamic". Syntax The syntax of Java is largely derived from C++. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object oriented language. All code is written inside a class and everything is an object, with the exception of the intrinsic data types (ordinal and real numbers, boolean values, and characters), which are not classes for performance reasons. Java suppresses several features (such as operator overloading and multiple inheritance) for classes in order to simplify the language and to prevent possible errors and anti-pattern design. Class libraries * Java libraries are the compiled byte codes of source code developed by the JRE implementor to support application development in Java. Examples of these libraries are: o The core libraries, which include: + Collection libraries that implement data structures such as lists, dictionaries, trees and sets + XML Processing (Parsing, Transforming, Validating) libraries + Security + Internationalization and localization libraries o The integration libraries, which allow the application writer to communicate with external systems. These libraries include: + The Java Database Connectivity (JDBC) API for database access + Java Naming and Directory Interface (JNDI) for lookup and discovery + RMI and CORBA for distributed application development o User Interface libraries, which include: + The (heavyweight, or native) Abstract Windowing Toolkit (AWT), which provides GUI components, the means for laying out those components and the means for handling events from those components + The (lightweight) Swing libraries, which are built on AWT but provide (non-native) implementations of the AWT widgetry + APIs for audio capture, processing, and playback * A platform dependent implementation of Java virtual machine (JVM) that is the means by which the byte codes of the Java libraries and third party applications are executed * Plugins, which enable applets to be run in Web browsers * Java Web Start, which allows Java applications to be efficiently distributed to end users across the Internet * Licensing and documentation. Editions Sun has defined and supports four editions of Java targeting different application environments and segmented many of its APIs so that they belong to one of the platforms. The platforms are: * Java Card for smartcards * Java Platform, Micro Edition (Java ME) — targeting environments with limited resources, * Java Platform, Standard Edition (Java SE) — targeting workstation environments, and * Java Platform, Enterprise Edition (Java EE) — targeting large distributed enterprise or Internet environments. The classes in the Java APIs are organized into separate groups called packages. Each package contains a set of related interfaces, classes and exceptions. Refer to the separate platforms for a description of the packages available.
-
Mangos Compiled Win32 by KAPATEJIb 7483 + ScriptDev2 Rev 915 - Mangos for 3.0.9 WoW - The Burning Crusade version IMPORTANT! Sure to put the SQL patches folder Important!!! The patches used in the last assembly Core: 1. Chatlog & Lexics Cutter v1.1.12b (maintenance logs chat antimat) 2. Modify scale fix (allowing the team to stand up to the size x15) 3. Auto Broadcast (the system automatically adds your ad) 4. Stealth Removing (correct lifting invisibility damage) 5. Sacrifice fix (fixes work spella) 6. MySQL Reconnect (rekonnekt allows the base to a loss of connection) 7. Steady Shot (fixes additional damage from spella) 8. Spell Disabled (allows you to disable spelly) 9. Miss Combat fix (fixes a hang mobov) 10. Creature Honor Kill fix (fixes a number of Honor for bosses capitals) 11. Holy Nova Heal (correct treatment spella) 12. Walking (fixes a bug with switching on the walk) 13. Lowie Buff (fixes work bafov) 14. Call Assist (Corrects attack friendly mobov) 15. Barskin (fixes work spella) 16. Gobject Loot (Corrects preserving instances when opening objects) 17. Stuns in Flight (fixes a bug with teleports the player to the end point of flight if he had received Stun) 18. Disengage (fixes work spella) 19. Attack Speed Mods (fixes work spellov) 20. Some BT Spells fix (fixes work spellov) 21. Devastate (fixes work spella) 22. Devour Magic (fixes work spella) 23. Mark Of Kaz'rogal (fixes work spella) 24. Pet Experience (Corrects experience in petov) 25. Arcane Charges (fixes work spella) 26. Druid Energy (fixes work spellov) 27. Instrument prevent Freeze (temporary fix Friesians server) 28. Immunity on BG (correct selection of the flag at the BS with some effects) 29. Instance Crash fix (fixes one of the reasons for dropping the server) 30. Dispel (fixes work spella) 31. Stop Moving (fixes moving corpses mobov) 32. Jail (implements prison work) 33. Charge (fixes work spella) 34. Autoreg (allows to include an automatic registration) 35. Summon Type 429 (corrects work spellov) 36. Taunt (fixes using spella petami) 37. Hot Steak & Firestarter (Corrects stak spellov) 38. Allow Only One Ability (fixes work spellov) 39. Trade Enchants (implements creation enchant scrolls) 40. Overkill (fixes work spella) 41. Multilate (fixes work spella) 42. Divine Hymn (fixes work spella) 43. Aspect of the Viper (fixes work spella) 44. Cleanup (remove old code) 45. Pain and Suffering (fixes work spella) 46. Improved Fear (fixes work spella) 47. Cleanup 2 (remove the old code) 48. Gryph of Dispel Magic (fixes work spella) 49. Warlock Pet (automatically corrects study spellov petami) 50. Heroic Fury (fixes work spella) 51. Speed Cheat fix (anti-cheat) 52. Guardian Spirit (fixes work spella) 53. Spell Miss (Corrects mapping misses from spells) 54. Death Coil (fixes work spella) 55. Alterac Valley (sells the work of BG) 56. Spell Hit Cap (Corrects the system hits) 57. Death Grip (fixes work spella) 58. Reset Profession fix (correctly deletes a specific professions) Script: 1. Teleguy v0.4b (adds a script to teleport master) 2. Al'ar (adds a script to boss) 3. Supremus (fixes work boss) 4. Tainted Core (correct use of objects) 5. Nightbane (boss adds to the script) 6. WotLK Taxi (fixes the new taxi) 7. Zal'Aman (adds scripts for bosses) 8. Utgarde Keep (adds scripts for bosses) 9. Sunwell Plateau (adds scripts for bosses) Code: [select] [Check Download Links]http://rapidshare.com/files/219117109/World_Of_Warcraft_Mangos_Compiled_Win32_7483_ScriptDev2_Rev_915___Patch.7z
-
What Is Java? Java is a computer programming language. It enables programmers to write computer instructions using English based commands, instead of having to write in numeric codes. It’s known as a “high-level” language because it can be read and written easily by humans. Like English, Java has a set of rules that determine how the instructions are written. These rules are known as its “syntax”. Once a program has been written, the high-level instructions are translated into numeric codes that computers can understand and execute. Who Created Java? In the early nineties, Java was created by a team led by James Gosling for Sun Microsystems. It was originally designed for use on digital mobile devices, such as cell phones. However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on the Internet. It provided more interactivity with users by giving developers a way to produce animated webpages . Over the years it has evolved as a successful language for use both on and off the Internet. A decade later, it’s still an extremely popular language with over 6.5million developers worldwide. Why Choose Java? Java was designed with a few key principles in mind: Easy to Use: The fundamentals of Java came from a programming language called c++. Although a powerful language, it was felt to be too complex in its syntax, and inadequate for all of Java's requirements. Java built on, and improved the ideas of c++, to provide a programming language that was powerful and simple to use. Reliability: Java needed to reduce the likelihood of fatal errors from programmer mistakes. With this in mind, object-oriented programming was introduced. Once data and its manipulation were packaged together in one place, it increased Java’s robustness. Secure: As Java was originally targeting mobile devices that would be exchanging data over networks, it was built to include a high level of security. Java is probably the most secure programming language to date. Platform Independent: Programs needed to work regardless of the machine they were being executed on. Java was written to be a portable language that doesn't care about the operating system or the hardware of the computer. The team at Sun Microsystems were successful in combining these key principles, and Java's popularity can be traced to it being a robust, secure, easy to use, and portable language.
-
While i search for a good - simple guide , here you have a few links where you can learn Python: http://wiki.python.org/moin/BeginnersGuide http://diveintopython.org/ http://www.learningpython.com/ http://docs.python.org/tutorial/ http://www.awaretek.com/tutorials.html http://www.python.org/doc/ http://www.devshed.com/c/b/Python/ http://www.tutorialized.com/tutorials/Python/1 If you have any other link , just reply and i will add it to the list
-
Lesson 5 Executing system commands Perl provides a function called “system” which canexecute a command or a set of commands directly on the operatingsystem. In fact, Perl passes the command to the operating system, whichexecutes it, and then returns the result back to Perl. So, for instance, the following Perl script prints the content of the current directory: #!/usr/bin/perl system("ls"); What actually happens is that the Unix process which runs the Perlinterpreter forks and the newly created child Unix process executes the“ls” command. When the execution finishes, it returns theexit code of the command back to the Perl interpreter. If you are familiar with Unix commands exit codes you can test thesuccess of the execution of your command by assigning the return valueof “system” to a variable, and then evaluate this variable.For instance: $lsExecutedSuccessfully = system(“ls”); Here, if “ls” executes successfully, the variable$lsExecutedSuccessfully receives the value 0. This value corresponds tothe successful exit code of the command “ls”. Executing system commands and capturing the output Sometimes, when you run a Linux command from your Perl script you'remore interested in what it writes on the screen than in its exit code.For instance, when you execute “ls” you're more likely tobe interested in the list of files being printed on the screen than inthe value 0 returned by “system”. To achieve this, you can use evaluated quotes “`”instead of “system”. Not only does it executes the command,but it also returns what the commands writes in its standard output: @files = `ls`; In this example, the listing of the files returned by“ls” does not appear on the screen. Instead, it gets storedin the @files array. Changing the working directory In the shell you would type "cd /home" to change the workingdirectory to /home. You could write the following in your Perl script: system("cd /home"); But it would have no effect. In fact, since the system call forksfrom the process used by the interpreter, it doesn't change the workingdirectory of your script. Instead, you can use a Perl function called"chdir": chdir "/home"; Interacting with the filesystem Perl provides a lot of functions to interact with the files anddirectories of your filesystem. Here are some of these handy functions: chmod "chmod" changes the permissions of a file or a list of files andreturns the number of files that were changed. The first argument mustbe the numerical mode. Examples: chmod 0777, "/home/clem/program.pl"; chmod 0777, @myFiles; symlink "symlink" creates a symbolic link. It is the equivalent of "ln -s".The first argument is the file name, the second argument is the linkname. Example: symlink "/home/clem/program.pl", "/usr/bin/program"; mkdir "mkdir" creates a directory. The first argument is the name of thedirectory and the second argument is the octal mode which defines thepermissions for that directory. For example: mkdir "/home/clem/perl_programs", 0664; rename "rename" is the equivalent of "mv" in Unix. It renames or moves a file. Example: rename "/home/clem/program.pl", "/home/clem/program"; rmdir "rmdir" deletes a directory, but only if it is empty. Example: rmdir "/home/clem/perl_programs"; stat "stat" returns a 13-element array which represent the properties of a file. The elements of the array are : 0: $dev, 1: $ino, 2: $mode, 3: $nlink, 4: $uid, 5: $gid, 6: $rdev,7: $size, 8: $atime, 9: $mtime, 10: $ctime, 11: $blksize, 12: $blocks Example: stat "/home/clem/program.pl"; unlink "unlink" deletes a file or a list of files. Example: unlink "/home/clem/program.pl"; Perl Script Exercise: Netswitch In this exercise, we want to be able to switch between networks. Wedefined network configuration files in a directory called "networks". For instance, here is the content of ./networks/home: interface=eth2 type=dhcp proxy=none And here is the content of ./networks/work: interface=eth1 type=dhcp proxy=www-proxy.work.com proxy_port=8080 The following Perl script takes a network name as its command lineargument, opens the file with the same name from ./networks and setsthe network interface with the data taken from the content of that file: #!/usr/bin/perl #default values $interface="none"; $type="none"; $address="none"; $gateway="none"; $dns="none"; $proxy="none"; $proxy_port = "none"; #gather information from the network file $network = $1; $networkFile = "./networks/$network"; open (NETWORK, "$networkFile") or die "$networkFile not found or not readable\n"; while ($line = ) { chomp $line; ($variable, $value) = split /=/, $line; if ($variable eq "interface") $interface = $value; elsif ($variable eq "type") $type = $value; elsif ($variable eq "address") $address = $value; elsif ($variable eq "gateway") $gateway = $value; elsif ($variable eq "dns") $dns = $value; elsif ($variable eq "proxy") $proxy = $value; elsif ($variable eq "proxy_port") $proxy_port = $value; } #make sure the type and interface are defined if ($interface eq "none") die "Interface name not defined\n"; if ($type eq "none") die "Network type (dhcp, static) not define\n"; if ($type eq "dhcp") { print "Network type: dhcp\n"; #just get an IP address and settings from the DHCP Server system("dhclient"); } elsif ($type eq "static") { print "Network type: static\n"; #bring the interface up if ($address eq "none") die ("IP address not defined\n"); system("ifconfig $interface $address up"); if ($gateway ne "none") { print "Gateway: $gateway\n"; system("route add default gw $gateway"); } if ($dns ne "none") { print "DNS Server: $dns\n"; $strNameServer = "cat "."'"."nameserver $dns"."' > /etc/resolv.conf"; system($strNameServer); } } else die "Bad network type : $type. Use dhcp or static.\n"; Try to understand each line of that script. The script doesn't setthe proxy in APT, Firefox...etc. See if you can update the script toadd such functionality. Also, it would be great if the script couldlist the possible networks available when the user types "netswitch-l". As there are many ways to solve a problem, especially in Perl,please post your solutions and ideas. Together you should be able towrite a great network switcher. You now know all you need to start writing this script, however if you have any questions do not hesitate to ask. i hope i take +1 karma for my job.. oh and sry if all these exist.. i try to search but i didnt find anything with love ProJecT
-
Lesson 4 String comparisons The =~ operator Perl provides an operator which you'll find very useful to parseand search files: "=~". If you are not familiar with thisoperator, think of it as a "contains" operator. Forinstance: "helloworld" =~ "world" returns true, as "helloworld" contains "world". "helloworld" =~ "o worl" also returns true since "oworl" is included in the string "hello world". "helloworld" =~ "wrld" returns false because thestring "hello world" does not contain "wrld". Using the =~ operator you can easily testif a variable contains a particular string, and this will help you alot while parsing text files. You can also use regular expressions inconjonction with the =~ operator. Although it is too early at thisstage to study regular expressions in details, here are sometechniques that you can use with =~. We replace the doublequotes by forward slashes in order to tell our =~ operator that we'renot simply looking for a string anymore but for a matching pattern(with a bit of logic inside it): "helloworld" =~ "world" is the same as "helloworld" =~ /world/ Although"world" represents a string and /world/ represents anexpression, these two instructions return true. By adding logic tothe expression, we can refine the meaning of our =~ operator. =~/^Starts with/ A leading ^ sign changes the meaning of the operator from"contains" to "starts with": "helloworld" =~ /world/ returns true because "hello world"contains "world". "helloworld" =~ /^world/ returns false since "hello world"doesn't start with "world". "helloworld" =~ /^hell/returns true because "hello world" starts with"hell". =~ /Ends with$/ By adding a $ sign in the end of the expression you can change themeaning of the operator from "contains" to "endswith": "hello world"=~ /world/ returns true because "hello world"contains "world". "helloworld" =~ /world$/ also returns true, but this time it'sbecause "hello world" ends with "world". "helloworld" =~ /hello$/ returns false, because "helloworld" doesn't end with "hello". The eq and ne operators You can use both the ^ and $ signsin the same expression, and it would mean that you're looking for astring with which your variable would both starts and end. Forinstance: "hello world"=~ /^hello world$/ returns true because "hello world"starts and ends with "hello world". "helloworld" =~ /^hello$/ returns false, because although"hello world" starts with "hello" it doesn't endwith it.. Note that there is no much point using both ^ and $in the same expression. If you're string starts and ends withsomething it is likely to be equal to that something... if you wantto test the equality of two strings, you can simply use the eqoperator: "hello world"eq "hello world" returns true because the twostrings are identical. The ne operator tests the non-equalityof two strings. It returns true if the strings are different andfalse otherwise: "helloworld" ne "good night" returns true. "helloworld" ne "Hello worlD" returns true (remember that Perlis case-sensitive) "helloworld" ne "hello world" returns false because bothstrings are the same. Remember to use the eq and ne operatorsto test the equality of strings in Perl, and their equivalence == and!= to test numerical values. The !~ operator The !~ operator is used as a “does not contain” operator. What!= is to ==, ne is to eq and !~ is to =~. For instance: "hello world" !~ "world"returns false because “hello world” does contain “world”. "hello world" !~ "wwt"returns true because “hello world” does not contain “wwt”. Case insensitive search When you use the =~ operator you test the matching of a stringwithin another, this is always case sensitive. For instance: "hello world" =~ "world"returns true. "hello world" =~ "woRld"returns false. If you want to make the =~ operator insensitive, add an “i”after the expression: "hello world" =~ /world/ireturns true. "hello world" =~ /woRld/ialso returns true. Substitutions The =~ operator can also be used to find occurrences of a stringwithin a variable and substitute them with another string. Forinstance, if you have a variable which contains text, and you want tochange all occurrences of “aaa” with “aab” within that text,you can simply use the following substitution: $variable =~ s/aaa/aab/; All occurrences of “aaa” within $variable will then be changedto “aab”. Note that we prefixed our expression with an “s” tochange the meaning of the operator from “contains” to“substitute”. Parsing files There are many ways to parse a text file. In Perl, if the file hasits data organized line by line with delimiters, it is very easy toparse it. Let's study a simple example. We have a set of employees in a filecalled employees.txt. In this file, each line represents an employee.The information relative to each employee is delimited with tabs, thefirst column is the name of the employee, the second column indicateshis department and the third one his salary. Here is an overview ofthe file: Mr John Doe R&D 21000 Miss Gloria Dunne HR 23000 Mr Jack Stevens HR 45000 Mrs Julie Fay R&D 30000 Mr Patrick Reed R&D 33000 In order to obtain some statistics, the HR department wants toestablish a list of all male employees who work in the R&Ddepartment and which salary is more than 25000. To obtain this list, we design a simple Perl script, which: 1. opens the employees.txt file 2. loops through each line 3. identifies the name, department and salary of the employee 4. ignores and goes to the next line if the employee is female (the name does not start with Mr) 5. ignores and goes to the next line if the salary is less or equal to 25000. 6. ignores and goes to the next line if the department is not “R&D”. 7. prints the name and the salary of the employee on the screen. To do this, we'll introduce two Perl functions: * “chomp” is used to remove the carriage return found in the end of the line. For instance chomp $variable removes all carriage returns in the variable. * “split” is used to cut the line in different parts where it finds a delimiter. For instance split /o/, “hello world” returns an array containing “hell”, “ w” and “rld”. In our example we'll split the lines with the tab delimiter, which in Perl is written “\t”. Here is the script which establishes the list of male employeesfrom the R&D department with a salary greater than 25000. To makethings a bit clearer, comments were introduced within the scripts(comments in Perl start with a # sign): #open the employeesfile open (EMPLOYEES,"employees.txt"); #for each line while ($line =) { #remove thecarriage return chomp $line; #split the linebetween tabs #and get thedifferent elements ($name,$department, $salary) = split /\t/, $line; #go to the nextline unless the name starts with "Mr " next unless$name =~ /^Mr /; #go to the nextline unless the salary is more than 25000. next unless$salary > 25000; #go to the nextline unless the department is R&D. next unless$department eq "R&D"; #since allemployees here are male, #remove theparticle in front of their name $name =~ s/Mr//; print"$name\n"; } close (EMPLOYEES); Study the script carefully and makesure you understand every part of it. Each instruction was eitherexplained in this lesson or in one of the previous ones. If you haveany question, do not hesitate to ask. In the next lesson we'll look at how tointeract with the filesystem and the Linux operating system from ourPerl scripts.
-
Lesson 3 What are If statements and loops? Every Perl script is made of instructions which tell theinterpreter what to do. Depending on the purpose of the script you'llwrite different instructions. Sometimes, you might want someinstructions to be executed only on certain conditions. To do this,you'll use If statements. A typical If statement is aninstruction which defines three elements: * A condition * A set of instruction to execute if the condition is met * A set of instruction to execute if the condition is not met For instance,consider the following code: if ($time > 12){ print "Good Afternoon"; } else { print"Good Morning"; } In this Ifstatement, the condition is ($time > 12). If the condition is metthen the script prints "Good afternoon", otherwise itprints "Good morning". Sometimes, you might wantsome instructions to be executed more than once. For this you can useloops. A typical loop is composed of a condition and a set ofinstructions to execute. There are different kinds of loops and wewill study them in the chapters below. If statements in Perl Perl is a very flexible language and this is particularly truewhen it comes to If statements. Simple If-statements The most common form of If statement in programming is composed ofa condition (between parenthesis) followed by a set of instructionswhich are placed between brackets. For instance: if ($time > 12) { print "time is $time\n"; print"Good Afternoon\n"; } Although it is considered bad practice, you don't have towrite the brackets if there is only one instruction in the Ifstatement: if ($time > 12) print "Good Afternoon\n"; To avoid any possible confusion, it is recommended to always writethe brackets, or, if there is only one simple instruction to placethe condition and the instruction on the same line: if($time > 12) print "Good Afternoon\n"; In Perl, you can also write the condition after the instructionitself. For instance: print "Good Afternoon\n" if($time > 12); Else and Elsif Statements Similarly, you can define an “else” block of instructions,which will be executed if the condition is not met: print"time is $time\n"; if ($time > 12) { print "GoodAfternoon\n"; } else { print "Good Morning\n"; } Sometime you may want to dosomething depending on more than one condition. Of course you canalways define If statement within others, but you can also use elsif,as a contraction of “else, if (something else..)”: if ($time < 12) { print "GoodMorning\n"; } elsif ($time < 20) { print "Good Afternoon\n"; } elsif ($time < 23) { print "Good Evening\n"; } else { print "Good night\n"; } Unless-statements In Perl, you can use the Unlessstatement. It behaves exactly like the If statement but executes thecode if the condition is not met. For instance the following codeprints “Good night” if it's more than 11pm: print "Good night\n" unless($time < 11pm); Loops in Perl There are many different kinds of loop in Perl. Here are the mostcommon types. While loop This loop executes a block of code while a condition remains true.For instance, the following code prints “Hello” three times: $i = 0; while ($i < 3) { print "Hello\n"; $i = $i + 1; } Until loop This loop executes a block of code until a condition becomes true.For instance, the following code prints “Hello” three times: $i = 1; until ($i > 3) { print "Hello\n"; $i = $i + 1; } For loop The for loop is composed of four elements: * A starting assignment * A condition * An incrementation * A set of instructions The notation of the For-loop is as follows: for (starting assignment; condition; incrementation) { instructions } The for loop starts by executing the starting assignment. Then,while the condition is met, it keeps executing the instructions andthe incrementation. For instance the following For-loop prints“Hello” three times: for ($i = 0; $i < 3; $i = $i + 1) { print "Hello\n"; } Note that the ++ operator is usually used to increment a variable,so we could have written $i++ instead of $i = $i + 1; In Perl, you can also use the For-loop with a “range operator”.The notation for the range operator is “..”. For instance, thefollowing code prints “Hello” three times: for (1..3) { print "Hello\n"; } Foreach loop The foreach loop is used to iterate through the elements of anarray. For instance, the following code prints the days of the week: @days = ("Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"); foreach $dayOfTheWeek (@days) { print "$dayOfTheWeek\n"; } You can also use the foreach loop to iterate through the keys of anhashtable. For instance, the following code prints the days of theweek: %days = (); $days{"Monday"} = 1; $days{"Tuesday"} = 2; $days{"Wednesday"} = 3; $days{"Thursday"} = 4; $days{"Friday"} = 5; $days{"Saturday"} = 6; $days{"Sunday"} = 7; foreach $day (keys %days) { print "$day is the day number $days{$day} of the week\n"; } File Handling The Perl language was designed to make file handling easy andefficient, so you'll probably won't have any problem opening filesand reading them. Opening and closing files In order to open a file, you'll use the “open” instructionwhich takes two arguments: the name of a filehandle and the name ofthe file itself. The filehandle is like a variable which representsthe handling of the file within the script. For instance, in thefollowing code we're opening the file “clients.txt” with afilehandle called CLIENTS: open (CLIENTS, "clients.txt"); By default, the file is open in read-mode, which means you canonly read from it. You can decide to open a file in write-mode, inorder to be able to write into it. If the file already existed or hadsome data written into it, the data will be lost. To open a file inwrite-mode simply add a “>” in front of the file name: open (CLIENTS, ">clients.txt"); If you'd rather keep the data written in the file, you can openthe file in append-mode. This way, the data will be kept, and whatyou'll write in the file will be appended to it. In order to do thisadd a “>>” in front of the file name: open (CLIENTS, ">>clients.txt"); The “open” instruction returns true if it managed to open thefile, false otherwise. You can use this value in order to test thesuccess of the operation. For instance, the following code opens thefile in write-mode and prints “Insufficient privileges” if thescript doesn't manage to do so. open (CLIENTS, ">clients.txt") or print "Insufficientprivileges\n"; Remember to always close the files once you're finished with them.If you don't your changes might be lost. In order to close a file,simply use the “close” instruction on the filehandle: close (CLIENTS); Writing into files Once the file is open in write mode you can write into it simplyby writing into its filehandle. The “print” instruction writesthings on the screen by default, but you can specify a filehandle towrite into. For instance, the following code adds a line “Mr JohnDoe” in the end of the “clients.txt” file: open (CLIENTS, ">>clients.txt") or die "Insufficientprivileges\n"; print CLIENTS "Mr John Doe\n"; close (CLIENTS); Reading data from files There are many ways to read the content of a file. Here are thetwo most common ways in Perl. Copying the content of the file into an array You can copy the whole content of the file into an array. Eachline will then correspond to an element of the array. Here is anexample: open(CLIENTS, "clients.txt"); @lines = ; close(CLIENTS); print @lines; Looping through the filehandle Alternatively you can loop through the filehandle in a while loopby writing while($line = ) (think of it as “whilethere are lines in the clients file, I'm assigning the current lineto $line): open (CLIENTS, "clients.txt"); while ($line = ) { print $line; } close (CLIENTS); As you can see, Perl makes it very easy to manipulate files. Inthe next lesson we'll look at how to search for a particular elementwithin a file, and how to handle and manipulate strings.
-
Lesson 2 What are variables? Variables are used in every computer language. If you are new to programming, remember the variables used in algebra equations. For instance, consider the following equation: a + 5 = 7 In this equation, there is only one variable. Its name is "a" and its value is "2". Variables always have a name and they always have a value. In algebra their value is usually a number. In programming, their value can be a number, a character, a string (which means a sequence of characters), or even a complex object such as an array, a hashtable, a data structure, etc... Throughout the lessons we will use variables to store many different types of objects or values and you will become more familiar with the different data types that a variable can represent. Variables in Perl In Perl, there a three types of variables: * scalar variables, * arrays, * hashtables. Scalar variables store a single value. In Perl, scalar variables names are always prefixed with a dollar sign. For instance: $a = 2; $message = "Hello World!"; Arrays can store many values. In Perl, arrays are always prefixed with an at-sign. For instance: @colors = ("red", "green", "blue");@primaryNumbers = (1, 2, 3, 5, 7); Hashtables are a special kind of array: associative arrays. They are like arrays, but for each of the value they store, they also store a corresponding name or label. They consist of pairs of elements - a key and a data value. In Perl, hashtables are always prefixed with a percent sign. For instance: %phoneNumbers = (Alicia => "090-64-773315", Tom => "085-153-3214", Jimmy => "085-285-4545"); In this lesson we will focus on scalar variables and arrays. They are simple to use and they will help us write our calculator. What are command line arguments? In the previous lesson we first called our script by invoking the Perl interpreter: perl myScript.pl Then we saw how to make an implicit call to the interpreter so that the script could be called directly: ./myScript.pl Whether we call the interpreter implicitly or explicitly, we can give arguments to the script. These arguments are given while calling the script, and simply put after the script name: ./myScript.pl argument1 argument2 argument3 For instance, instead of having a script which writes "Hello World!" on the screen, and thus doesn't need any argument, we will write a calculator in this lesson. Our calculator will calculate the result of a simple equation which we will give as a command line argument. For instance, if we wanted our calculator to add 5 and 6, we would call it like this: ./calculator.pl 5 + 6 In this example, we gave three command line arguments: * 5 * + * 6 The Perl script will have to look at these arguments, identify the second argument to know what operation to do with the first and third arguments, calculate and print the result on the screen. Command line arguments in PerlWhen the interpreter runs the Perl script it stores the command line arguments in an array called @ARGV. Note that the Perl language is case-sensitive, so it is important to use capital letters here. @ARGV is an array, and like every array in Perl you can do the following on it: * Get the first element of the array by typing $ARGV[0] (note that as this is a single value it is represented by a scalar variable and prefixed with a dollar sign). * Get the second elements of the array by typing $ARGV[1]... etc. * Get the index of the last element in the array by typing $#ARGV. Note that arrays always start from 0, not from 1. Therefore the first element of an array, is element 0, not element 1. For instance element number 12 corresponds to the 13th element of an array. This is a convention in many programming languages. The index of the last element in the array corresponds to the number of elements - 1. In our example, we call our calculator by giving it three arguments: ./calculator.pl 5 + 6 Therefore we can expect the @ARGV array to contain three elements, $#ARGV being equal to 2 and $ARGV[0], $ARGV[1] and $ARGV[2] respectively being equal to 5, "+" and 6. Your second Perl script, the Calculator! You nearly know everything you need in order to code your second Perl script and to write a nice calculator. In fact you could do it yourself now! As we said before, there are more than one way to do something in Perl. Try to program the calculator by yourself, and then have a look at the solution below. Create a file called calculator.pl and write the following into it: #!/usr/bin/perl$nbArguments = $#ARGV + 1;print "number of arguments: $nbArguments\n";exit(1) unless $nbArguments == 3;$a = $ARGV[0];$b = $ARGV[2];$operation = $ARGV[1];if ($operation eq "+") { $result = $a + $b;}elsif ($operation eq "-") { $result = $a - $b;}elsif ($operation eq "/") { $result = $a / $b;}elsif ($operation eq "x") { $result = $a * $b;}print "$a $operation $b = $result\n"; Make the script executable: chmod a+rx calculator.pl Run the script : ./calculator.pl 5 + 6./calculator.pl 11 - 2./calculator.pl 4 x 3./calculator.pl 33 / 3 The script works as expected, but there probably are a lot of instructions you didn't fully understand within this script. So let's look at them. The first line tells where to find the interpreter, so that we can call the script directly. The second line takes the index of the last element from the @ARGV array and adds 1 to it. That way it gets the number of command line arguments given to the script and stores it in a variable called $nbArguments. The third instruction simply prints the number of arguments on the screen. There is a lot to say about the fourth instruction (exit(1) unless $nbArguments == 3;): * "exit" is a Perl function which makes the script stop and return a given code to the shell. In this example the script stops and returns 1 to the shell. 1 is a Unix convention which means that there was an error. * "unless" is the opposite of "if". These are Perl statements. In this example, "exit" is called unless the following statement is true "$nbArguments == 3". * In Perl, and in many programming languages, the equal sign is used to affect values to variables. For instance, when we wrote $nbArguments = $#ARGV + 1, we assigned a value to $nbArguments. The double equal sign "==" is a comparison operator which returns true or false depending on the fact that the variables or values on both side are equal or not. Perl also provides another operator "eq" which compares strings. Try to use "eq" for string comparisons and "==" for numbers. Remember that the "=" sign assigns values and is not a comparison operator. * In brief, (exit(1) unless $nbArguments == 3;) means that the script will stop unless three command line arguments were given. The three next instructions simply assign the three command line arguments to variables. We stored the first one in $a, the third one in $b and the second on in $operation. Then, depending on the value of $operation, we made a different calculation with $a and $b and stored the result in a variable called $result. Note that we used "if" and "elsif" statements. We will come back to these statements later, but for the moment remember that "elsif" is a contraction for "else if...". Also, note that we used brackets to clearly identify blocks of code between the if statements and that we indented our code. In general, unless you have a very simple one liner to write, use brackets for each if statement and always indent your scripts. The last instruction writes a summary of the operation and its operands as well as the result on the screen. In this lesson we learnt how to use variables and command line arguments. We also had a quick look at If statements, comparisons operator and a few operations. In the next lesson, we'll manipulate text files and go a bit further in using operators and other statements.
-
Lesson 1 Thanks to the Perl scripting language you can automate various tasks in your Linux system. Learning Perl is both easy and fun, and you'll soon be able to write scripts which will make your life easier. In these series of articles I'll start by explaining the basics and I'll progressively introduce more complex concepts and advanced techniques. I'll try to explain things as much as possible, so whether you are familiar to programming or not, you should find it easy to learn Perl and be comfortable with using this language after the end of this series of articles. History of Perl Larry Wall created a scripting language in 1987, which he called the "Practical Extraction and Report Language". It was designed as a text-processing language for Unix operating systems. Various tools and languages already existed (Unix shells, sed, awk, C...etc) and programmers usually used many of them together. Larry Wall wanted the language to cover all aspects and needs related to text-processing so the programmer wouldn't have to use any other tool in conjunction with Perl. Also, he designed Perl as a language that was easy and fast to use but which would also allow the programmer to get into the innards of things. Perl offered features no other language had offered before. It was filling a niche no other tool had, and it immediately became popular. In 1994, Perl 5 was released and at that stage it was a stable and well established general purpose programming language. Particularities of Perl Perl is truly unique. As we go along and study its different features you'll probably see that by yourself. Larry Wall applied a lot of his linguistic knowledge into the making of Perl. Some people even consider it a natural language. Its vocabulary is extremely rich and its grammar is very flexible. Perl programmers usually say "There's more than one way to do it". In fact, you can literally write a Perl script your way, with your own style. Some people even do "poetry" in Perl Because of this, some Perl scripts can be very difficult to read. Writing them though, is always a pleasure. The Perl interpreter Perl is an interpreted language. This means that the code you will write using the Perl language will need a program called the Perl interpreter in order to be run. For instance, if you write a Perl script in a file called myScript.pl (.pl is commonly used as an extension for Perl scripts), you will not be able to run it directly. You will need to call the interpreter to run it: perl myScript.pl In this example myScript.pl is your Perl script and perl is the Perl interpreter. Installation of the Perl interpreter The Perl interpreter is an essential tool and it is usuallyinstalled by default on most GNU/Linux distributions. Forinstance, the following distributions come with a recent and updatedversion of Perl: * Suse 10.1 * Fedora Core 5 * Debian Testing * Ubuntu 5.10 * Mandriva 2006 * Slackware 10.2 * Mepis 3.4-3 * Gentoo 2006.0 * Knoppix 5.0 For an exhaustive list of distributions which include perl, you can search distrowatch.com: http://distrowatch.com/search.php?pkg=perl&pkgver=5.8.8#pkgsearch To makesure the interpreter is installed on your machine and to see which version it is, you can open a terminal and type: perl -v If it is installed, this should print the version of Perl installed on your machine: clem@pluto:~> perl -vThis is perl, v5.8.8 built for i586-linux-thread-multiCopyright 1987-2006, Larry WallPerl may be copied only under the terms of either the Artistic License or theGNU General Public License, which may be found in the Perl 5 source kit.Complete documentation for Perl, including FAQ lists, should be found onthis system using "man perl" or "perldoc perl". If you have access to theInternet, point your browser at http://www.perl.org/, the Perl Home Page. If Perl is not installed on your system, you will certainly be able to install it through your distribution's package manager. Simply search for perl within your distribution's repositories, or start considering using another distribution. After all, Perl is an essential tool which should be included by default and regularly updated by your distribution: http://www.cpan.org/ports/#linux Implicit use of the interpreter The Perl interpreter is usually used to run Perl scripts which are written in a file. It also features an interactive mode which you can use by simply typing perl without any argument. However, in this lesson we will focus on using files. In order to run a Perl script, you can call the interpreter with the file as an argument: perl myScript.pl ... or you can tell the Perl script where to find the interpreter and make the script executable. This is common practice among programmers and you are encouraged to do so. Within the script file, the first line tells the shell how to interpret the file. This line basically shows the path to the Perl interpreter: #!/usr/bin/perl Note: The Perl interpreter is usually installed in /usr/bin, but your system might be different. To make sure, type "which perl": clem@pluto:~> which perl/usr/bin/perl Also make sure your Perl scripts are executable and have proper permissions: chmod a+rx myScript.pl Once the script is executable, it can be run directly. The shell looks at the first line of the file which starts with “#!”, and then it runs the interpreter which path is found on that line with the rest of the file. In other words, thanks to that little trick, you can run you Perl script directly: ./myScript.pl Although you are not explicitly calling the interpreter here, keep in mind that it is actually run by the shell on your behalf and that it is the interpreter which runs your script. Your very first Perl script! You have your interpreter installed, and you're ready for your first script: a simple script that writes "Hello World!" on the screen (I know.. it's a bit useless, but it's more or less a tradition when you're learning a new programming language, so let's simply write "Hello World" and enjoy the lesson since it's still easy to understand . Create a file called helloWorld.pl and write the following into it: #!/usr/bin/perlprint "Hello World! \n"; Make the script executable: chmod a+rx helloWorld.pl Run the script: ./helloWorld.pl As you probably expected, "Hello World!" gets printed on the screen. The script only contains two lines and is quite easy to understand. The first line will always be the same; it tells your shell where to find the Perl interpreter. The second line is actually the only Perl instruction of your script, it tells the interpreter to print "Hello World!" on the screen. In Perl, each instruction finishes with a semicolon. If you're new to programming you'll probably forget semicolons in your code, so be careful with that. The reason for the semicolon is that an instruction can sometimes be long and take more than one line, so it is an effective way to mark the end of an instruction. Most languages use semicolons and once you're used to it, it seems very natural. You might also wonder what the "\n" is for. It simply is a special character which corresponds to the new line character (as when someone presses the Enter key) so that the cursor goes the next line of the screen after printing "Hello World!". In the next lesson we'll start using variables, opening files and do a lot of things which will come handy for you later. Now that you know what Perl is and how to use it, we'll start to focus on the language itself
-
wow this was a big Topic.. i am sry i didnt know that hey have posted again.. i just have all this tutorials from very old days.. and i posted here
-
I will make a guide soon about the basics of PHP meanwhile here you have a few links to start learning: http://ar.php.net/tut.php http://www.w3schools.com/php/default.asp http://www.devshed.com/c/b/PHP/ http://www.zend.com/php/beginners/index.php http://www.hotscripts.com/PHP/Tips_and_Tutorials/ http://www.learnphp.org/categories/PHP-MySQL-Tutorials-All-PHP-Tutorials.html http://######.zend.com/node/view/id/627 http://www.tizag.com/phpT/ If any one have another usefull link just reply here and i add it to the list
-
Before i (or some one else if u want) Post a guide about Learning HTML here you have a few link to Start reading about it: http://www.davesite.com/webstation/html/ http://www.seekeasy.net/html/ http://www.htmlgoodies.com/primers/html/article.php/3478131 http://www.case.edu/help/Help_www2.html http://www.insiderinfo.com/ http://www.w3schools.com/html/ http://www.htmlcodetutorial.com/ If you have any other link , just reply and i add it to the list
-
10 reasons why PCs crash U must Know Fatal error: the system has become unstable or is busy," it says. "Enter to return to Windows or press Control-Alt-Delete to restart your computer. If you do this you will lose any unsaved information in all open applications." You have just been struck by the Blue Screen of Death. Anyone who uses Mcft Windows will be familiar with this. What can you do? More importantly, how can you prevent it happening? 1 Hardware conflict The number one reason why Windows crashes is hardware conflict. Each hardware device communicates to other devices through an interrupt request channel (IRQ). These are supposed to be unique for each device. For example, a printer usually connects internally on IRQ 7. The keyboard usually uses IRQ 1 and the floppy disk drive IRQ 6. Each device will try to hog a single IRQ for itself. If there are a lot of devices, or if they are not installed properly, two of them may end up sharing the same IRQ number. When the user tries to use both devices at the same time, a crash can happen. The way to check if your computer has a hardware conflict is through the following route: * Start-Settings-Control Panel-System-Device Manager. Often if a device has a problem a yellow '!' appears next to its description in the Device Manager. Highlight Computer (in the Device Manager) and press Properties to see the IRQ numbers used by your computer. If the IRQ number appears twice, two devices may be using it. Sometimes a device might share an IRQ with something described as 'IRQ holder for PCI steering'. This can be ignored. The best way to fix this problem is to remove the problem device and reinstall it. Sometimes you may have to find more recent drivers on the internet to make the device function properly. A good resource is www.driverguide.com. If the device is a soundcard, or a modem, it can often be fixed by moving it to a different slot on the motherboard (be careful about opening your computer, as you may void the warranty). When working inside a computer you should switch it off, unplug the mains lead and touch an unpainted metal surface to discharge any static electricity. To be fair to Mcft, the problem with IRQ numbers is not of its making. It is a legacy problem going back to the first PC designs using the IBM 8086 chip. Initially there were only eight IRQs. Today there are 16 IRQs in a PC. It is easy to run out of them. There are plans to increase the number of IRQs in future designs. 2 Bad Ram Ram (random-access memory) problems might bring on the blue screen of death with a message saying Fatal Exception Error. A fatal error indicates a serious hardware problem. Sometimes it may mean a part is damaged and will need replacing. But a fatal error caused by Ram might be caused by a mismatch of chips. For example, mixing 70-nanosecond (70ns) Ram with 60ns Ram will usually force the computer to run all the Ram at the slower speed. This will often crash the machine if the Ram is overworked. One way around this problem is to enter the BIOS settings and increase the wait state of the Ram. This can make it more stable. Another way to troubleshoot a suspected Ram problem is to rearrange the Ram chips on the motherboard, or take some of them out. Then try to repeat the circumstances that caused the crash. When handling Ram try not to touch the gold connections, as they can be easily damaged. Parity error messages also refer to Ram. Modern Ram chips are either parity (ECC) or non parity (non-ECC). It is best not to mix the two types, as this can be a cause of trouble. EMM386 error messages refer to memory problems but may not be connected to bad Ram. This may be due to free memory problems often linked to old Dos-based programmes. 3 BIOS settings Every motherboard is supplied with a range of chipset settings that are decided in the factory. A common way to access these settings is to press the F2 or delete button during the first few seconds of a boot-up. Once inside the BIOS, great care should be taken. It is a good idea to write down on a piece of paper all the settings that appear on the screen. That way, if you change something and the computer becomes more unstable, you will know what settings to revert to. A common BIOS error concerns the CAS latency. This refers to the Ram. Older EDO (extended data out) Ram has a CAS latency of 3. Newer SDRam has a CAS latency of 2. Setting the wrong figure can cause the Ram to lock up and freeze the computer's display. Mcft Windows is better at allocating IRQ numbers than any BIOS. If possible set the IRQ numbers to Auto in the BIOS. This will allow Windows to allocate the IRQ numbers (make sure the BIOS setting for Plug and Play OS is switched to 'yes' to allow Windows to do this.). 4 Hard disk drives After a few weeks, the information on a hard disk drive starts to become piecemeal or fragmented. It is a good idea to defragment the hard disk every week or so, to prevent the disk from causing a screen freeze. Go to * Start-Programs-Accessories-System Tools-Disk Defragmenter This will start the procedure. You will be unable to write data to the hard drive (to save it) while the disk is defragmenting, so it is a good idea to schedule the procedure for a period of inactivity using the Task Scheduler. The Task Scheduler should be one of the small icons on the bottom right of the Windows opening page (the desktop). Some lockups and screen freezes caused by hard disk problems can be solved by reducing the read-ahead optimisation. This can be adjusted by going to * Start-Settings-Control Panel-System Icon-Performance-File System-Hard Disk. Hard disks will slow down and crash if they are too full. Do some housekeeping on your hard drive every few months and free some space on it. Open the Windows folder on the C drive and find the Temporary Internet Files folder. Deleting the contents (not the folder) can free a lot of space. Empty the Recycle Bin every week to free more space. Hard disk drives should be scanned every week for errors or bad sectors. Go to * Start-Programs-Accessories-System Tools-ScanDisk Otherwise assign the Task Scheduler to perform this operation at night when the computer is not in use. 5 Fatal OE exceptions and VXD errors Fatal OE exception errors and VXD errors are often caused by video card problems. These can often be resolved easily by reducing the resolution of the video display. Go to * Start-Settings-Control Panel-Display-Settings Here you should slide the screen area bar to the left. Take a look at the colour settings on the left of that window. For most desktops, high colour 16-bit depth is adequate. If the screen freezes or you experience system lockups it might be due to the video card. Make sure it does not have a hardware conflict. Go to * Start-Settings-Control Panel-System-Device Manager Here, select the + beside Display Adapter. A line of text describing your video card should appear. Select it (make it blue) and press properties. Then select Resources and select each line in the window. Look for a message that says No Conflicts. If you have video card hardware conflict, you will see it here. Be careful at this point and make a note of everything you do in case you make things worse. The way to resolve a hardware conflict is to uncheck the Use Automatic Settings box and hit the Change Settings button. You are searching for a setting that will display a No Conflicts message. Another useful way to resolve video problems is to go to * Start-Settings-Control Panel-System-Performance-Graphics Here you should move the Hardware Acceleration slider to the left. As ever, the most common cause of problems relating to graphics cards is old or faulty drivers (a driver is a small piece of software used by a computer to communicate with a device). Look up your video card's manufacturer on the internet and search for the most recent drivers for it. 6 Viruses Often the first sign of a virus infection is instability. Some viruses erase the boot sector of a hard drive, making it impossible to start. This is why it is a good idea to create a Windows start-up disk. Go to * Start-Settings-Control Panel-Add/Remove Programs Here, look for the Start Up Disk tab. Virus protection requires constant vigilance. A virus scanner requires a list of virus signatures in order to be able to identify viruses. These signatures are stored in a DAT file. DAT files should be updated weekly from the website of your antivirus software manufacturer. An excellent antivirus programme is McAfee VirusScan by Network Associates ( www.nai.com). Another is Norton AntiVirus 2000, made by Symantec ( www.symantec.com). 7 Printers The action of sending a document to print creates a bigger file, often called a postscript file. Printers have only a small amount of memory, called a buffer. This can be easily overloaded. Printing a document also uses a considerable amount of CPU power. This will also slow down the computer's performance. If the printer is trying to print unusual characters, these might not be recognised, and can crash the computer. Sometimes printers will not recover from a crash because of confusion in the buffer. A good way to clear the buffer is to unplug the printer for ten seconds. Booting up from a powerless state, also called a cold boot, will restore the printer's default settings and you may be able to carry on. 8 Software A common cause of computer crash is faulty or badly-installed software. Often the problem can be cured by uninstalling the software and then reinstalling it. Use Norton Uninstall or Uninstall Shield to remove an application from your system properly. This will also remove references to the programme in the System Registry and leaves the way clear for a completely fresh copy. The System Registry can be corrupted by old references to obsolete software that you thought was uninstalled. Use Reg Cleaner by Jouni Vuorio to clean up the System Registry and remove obsolete entries. It works on Windows 95, Windows 98, Windows 98 SE (Second Edition), Windows Millennium Edition (ME), NT4 and Windows 2000. Read the instructions and use it carefully so you don't do permanent damage to the Registry. If the Registry is damaged you will have to reinstall your operating system. Reg Cleaner can be obtained from www.jv16.org Often a Windows problem can be resolved by entering Safe Mode. This can be done during start-up. When you see the message "Starting Windows" press F4. This should take you into Safe Mode. Safe Mode loads a minimum of drivers. It allows you to find and fix problems that prevent Windows from loading properly. Sometimes installing Windows is difficult because of unsuitable BIOS settings. If you keep getting SUWIN error messages (Windows setup) during the Windows installation, then try entering the BIOS and disabling the CPU internal cache. Try to disable the Level 2 (L2) cache if that doesn't work. Remember to restore all the BIOS settings back to their former settings following installation. 9 Overheating Central processing units (CPUs) are usually equipped with fans to keep them cool. If the fan fails or if the CPU gets old it may start to overheat and generate a particular kind of error called a kernel error. This is a common problem in chips that have been overclocked to operate at higher speeds than they are supposed to. One remedy is to get a bigger better fan and install it on top of the CPU. Specialist cooling fans/heatsinks are available from www.computernerd.com or www.coolit.com CPU problems can often be fixed by disabling the CPU internal cache in the BIOS. This will make the machine run more slowly, but it should also be more stable. 10 Power supply problems With all the new construction going on around the country the steady supply of electricity has become disrupted. A power surge or spike can crash a computer as easily as a power cut. If this has become a nuisance for you then consider buying a uninterrupted power supply (UPS). This will give you a clean power supply when there is electricity, and it will give you a few minutes to perform a controlled shutdown in case of a power cut. It is a good investment if your data are critical, because a power cut will cause any unsaved data to be lost.
-
kapoies eikones Pate sto rar file k kante extract here kai 8a vreite ena backup twra kante install 1st)Prwta katevaste to MySQL 5.1 2st)kante ena db me afto to onoma :l2emu ( to db dn prepei na exei password ) 3st)anoi3te to navicat k kante install to backup, deite ts foto gia na voi8i8ite! 1st parte to arxeio k valte to sto navicat backup page look 2nd 3d http://img155.imageshack.us/img155/6816/83208283.png[/img] If you do it go in server folder and press gamestart.bat and loginserver.bat 16 npcs full ct1.5 all error with java fixed by me and html i added new gk with full kamael/hellbound areas. 0 Errors more some working with buy_list but is my false dont worry you haven't got problem from it!!!! You can download it here : http://rs328.rapidshare.com/files/128978941/L2EmuCT1.5fULL_By_L2GameZone.rar <<<<<<<<<<You must download Mysql 5.1>>>>>>>>> Pass are :1st pass]ID:admin PASS:admin 2st pass]ID:ga PASS: ga ------------------------------------------------------------------------------------------- Download these files is ct2 part2 100% http://l2jfree.com/releases/CT2_gameserver_1.2.4.zip http://l2jfree.com/releases/CT2_loginserver_1.1.0.zip
-
Web page design is a process of conceptualization, planning, modeling, and execution of electronic media content delivery via Internet in the form of technologies (such as markup languages) suitable for interpretation and display by a web browser or other web-based graphical user interfaces (GUIs). The intent of web design is to create a web site (a collection of electronic files residing on one or more web servers) that presents content (including interactive features or interfaces) to the end user in the form of web pages once requested. Such elements as text, forms, and bit-mapped images (GIFs, JPEGs, PNGs) can be placed on the page using HTML, XHTML, or XML tags. Displaying more complex media (vector graphics, animations, videos, sounds) usually requires plug-ins such as Flash, QuickTime, Java run-time environment, etc. Plug-ins are also embedded into web pages by using HTML or XHTML tags. Improvements in the various browsers' compliance with W3C standards prompted a widespread acceptance of XHTML and XML in conjunction with Cascading Style Sheets (CSS) to position and manipulate web page elements. The latest standards and proposals aim at leading to the various browsers' ability to deliver a wide variety of media and accessibility options to the client possibly without employing plug-ins. Typically web pages are classified as static or dynamic. * Static pages don’t change content and layout with every request unless a human (web master or programmer) manually updates the page. * Dynamic pages adapt their content and/or appearance depending on the end-user’s input or interaction or changes in the computing environment (user, time, database modifications, etc.) Content can be changed on the client side (end-user's computer) by using client-side scripting languages (JavaScript, JScript, Actionscript, media players and PDF reader plug-ins, etc.) to alter DOM elements (DHTML). Dynamic content is often compiled on the server utilizing server-side scripting languages (PHP, ASP, Perl, Coldfusion, JSP, Python, etc.). Both approaches are usually used in complex applications. With growing specialization within communication design and information technology fields, there is a strong tendency to draw a clear line between web design specifically for web pages and web development for the overall logistics of all web-based services. Web Site Design There are many aspects (design concerns) in this process, and due to the rapid development of the Internet, new aspects may emerge. For non-commercial web sites, the goals may vary depending on the desired exposure and response. For typical commercial web sites, the basic aspects of design are: * The content: the substance, and information on the site should be relevant to the site and should target the area of the public that the website is concerned with. * The usability: the site should be user-friendly, with the interface and navigation simple and reliable. * The appearance: the graphics and text should include a single style that flows throughout, to show consistency. The style should be professional, appealing and relevant. * The visibility: the site must also be easy to find via most, if not all, major search engines and advertisement media.