Tuesday, October 7, 2008

Death Knight Name Generator

javascript: 1st part

This manual aims to provide clear instructions for use and adaptation in Javascript. If you are very new in web programming, a tutorial is not recommended. The required level is half a rookie, thanks for your understanding!.

Basic Types var intValue

= 1;
var floatValue = 3.0;
var stringValue = "This is a string \\ n";
sqString var = 'This is also a string';

Javascript is a dynamically written language. The variables are declared with the keyword var. Simple common are the types of support. Arrays



emptyList var = [];
homogenousList var = [1, 2, 3];
heterogenousList var = ["one", 2, 3.0];

Javascript has built in collectibles. The matrix is \u200b\u200ban object dynamically sequence of values \u200b\u200bwritten Javascript. They are created with the support of [] notation or the new operator in the object array (Eg, new Array (5)).

Property Maps

emptyMap var = ();
homogenousMap var = ('one': 1, "two": 2, "three": 3);
heterogenousMap var = ('one': 1 ,
"two" "two",
"three": 3.0);

Along with arrays of objects are objects. Act as property maps of the chains that act as keys dynamically typed data. Access



/ / notation property access points
window.alert ("homogeneous map property \\" one \\ ""
homogenousMap.one)
/ / Subscript notation property access window.alert
("homogeneous map property \\" two \\ ""
homogenousMap ["two"]);

Assignment

homogenousMap [ "one"] = 10;
homogenousMap.two = 20;

Elimination

delete homogenousMap ["a"];
delete homogenousMap.two;



Iteration for (var key heterogenousMap) (
window.alert ("heterogeneous map property \\" "key

"\\" = "
heterogenousMap [key]);
)

Sunday, October 5, 2008

View How The Brazilian Waxing Is Done

Languages

A programming language is a set of symbols and rules similar to a" language ", with which we can create applications or systems for controlling a machine or certain functions. There are many and varied, some very famous ones are: Java, C / C + +, Basic or Perl.

However, there are some less known than might fall into the category of Programming Languages \u200b\u200bcomplicated by their nature. Let's look at one of these:

Sandwich (1972) : It was designed initially as a parody languages \u200b\u200bof Fortran and Cobol, for teaching complex they had. It is a sort of machine language. As a curiosity, Sandwich means "language compiled with no pronounceable acronym." Example

Hello World! in interlayer

PLEASE DO, 1 <- #13 DO ,1 SUB #1 <- #238 DO ,1 SUB #2 <- #112 DO ,1 SUB #3 <- #112 DO ,1 SUB #4 <- #0 DO ,1 SUB #5 <- #64 DO ,1 SUB #6 <- #238 DO ,1 SUB #7 <- #26 DO ,1 SUB #8 <- #248 DO ,1 SUB #9 <- #168 DO ,1 SUB #10 <- #24 DO ,1 SUB #11 <- #16 DO ,1 SUB #12 <- #158 DO ,1 SUB #13 <- #52 PLEASE READ OUT ,1 PLEASE GIVE UP

Brainfuck (1993) : This is a programming language which in turn is based on a simple concept, is highly complex: It works only with operations on pointers. Example of Hello World! in Brainfuck: ++++++++++ [>+++++++>++++++++++>+++>+ <<<<- ] > + +.
> +.
+++++++.
.
+ + +.
> + +.
<<+++++++++++++++. >.
+ + +. ------.
--------.

> +.
>.


Befunge93 (1993): This programming language is characterized by being based on the model of a stack machine to pass parameters and use a kind of two-dimensional matrix for their instructions, which may direct the flow control any direction, turning in a circle at the same place if it exceeds the dimensions. Example

Hello World! in Befunge:

> v v ,,,,,"
Hello "< > 48 *, v v ,,,,,,"
World!" < > 25 *, @


Malbolge (1998): was designed to be a very complicated programming language and is based on theories of cryptanalysis. Its name is based on the 8 th circle of hell (The Divine Comedy, Dante). Example

Hello World! in Malbolge:

(= <`:9876Z4321UT.-Q+*)M'&%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**
hKs_dG5 [m_BA {?-Y;; Vb'rR5431M} /. zHGwEDCBA @ 98 \\ 6543W10/.R, + O <

Wednesday, October 1, 2008

Overusing Cruise Control

really complicated code to obneter mails of Google (PHP)

 cogigo Through this we can get the mail, specifically 
Gmail account using PHP.


imap_num_msg $ cannot = ($ stream);
for ($ nm = 1, $ nm <=$cant;$nm++){ $asunto=""; $header = imap_header($stream, $nm); $from=$header-> from;
$ from = $ from [0] -> mailbox;
$ subject = $ header-> subject;
$ date = $ header-> date;
/ / imap_delete ($ stream , $ nm) / / Check the mail for deletion

} / / imap_expunge ($ stream) / / Delete the mail marked for deletion
if ($ qty == 0) echo " new mails found
"
} else {
echo" ERROR
"}

imap_close ($ stream);
echo "Offline ...";
?>