This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function list_files($dir) { | |
| if(is_dir($dir)) { | |
| if($handle = opendir($dir)) { | |
| while(($file = readdir($handle)) !== FALSE) { | |
| if($file !== "." and $file !== ".." and $file != "Thumbs.db") { | |
| echo '<a target="_blank" href="'. $dir . $file .'">'. $file .'</a><br>'."\n"; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $to = "example@gmail.com"; | |
| $subject = "Follow @codejobs!"; | |
| $body = "Body of your message here you can use HTML too. e.g. <br> <b> Bold </b>"; | |
| $headers = "From: Peter\r\n"; | |
| $headers .= "Reply-To: info@yoursite.com\r\n"; | |
| $headers .= "Return-Path: info@yoursite.com\r\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * How to create a Javascript object and initialize its properties using dot notation (.) | |
| */ | |
| var codejobs = new Object(); | |
| codejobs.url = 'http://www.codejobs.biz'; | |
| codejobs.twitter = '@codejobs'; | |
| codejobs.getTwitter = function() { return codejobs.twitter; }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| display dialog "Hello World" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # awk -f awk.awk | |
| BEGIN { print "Hello World" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @ This program is very simple in APL! | |
| 'Hello World!' | |
| @ In APL, anything that is printed in quotes is printed to the terminal. (@ in APL signifies a comment) | |
| @ If the "Hello World statement needed to be stored, then you could use the following : | |
| h<-'Hello World' | |
| h | |
| @Typing h causes h's value to be printed to be printed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package { | |
| import flash.display.Sprite; | |
| import flash.text.TextField; | |
| public class actionscript extends Sprite { | |
| private var hello:TextField = new TextField(); | |
| public function actionscript() { | |
| hello.text = "Hello, World!"; | |
| addChild(hello); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BEGIN | |
| FILE F (KIND=REMOTE); | |
| EBCDIC ARRAY E [0:11]; | |
| REPLACE E BY "HELLO WORLD!"; | |
| WHILE TRUE DO | |
| BEGIN | |
| WRITE (F, *, E); | |
| END; | |
| END. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with Text_To; use Text_To | |
| procedure hello is | |
| begin | |
| put("Hello World"); | |
| end hello |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 000100 IDENTIFICATION DIVISION. | |
| 000200 PROGRAM-ID. HELLOWORLD. | |
| 000300 | |
| 000400* | |
| 000500 ENVIRONMENT DIVISION. | |
| 000600 CONFIGURATION SECTION. | |
| 000700 SOURCE-COMPUTER. RM-COBOL. | |
| 000800 OBJECT-COMPUTER. RM-COBOL. | |
| 000900 | |
| 001000 DATA DIVISION. |
NewerOlder