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
| var name = 'Ahmed El.Hussaini'; | |
| if(name == 'Ahmed El.Hussaini') { | |
| console.log('Hello Mr.Bugz :)'); | |
| } |
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
| name = 'Ahmed El.Hussaini' | |
| if name == 'Ahmed El.Hussaini' | |
| console.log 'Hello Mr.Bugz' |
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
| var languages = ['Ruby', 'CoffeeScript', 'JavaScript']; | |
| for(var i=0; i < languages.length; i++) { | |
| console.log(languages[i]); | |
| } |
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
| languages = ['Ruby', 'CoffeeScript', 'JavaScript'] | |
| for language in languages | |
| console.log language |
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
| var person = { | |
| name: 'Ahmed El.Hussaini', | |
| age: 31, | |
| email: 'ahmed.elhussaini@espace.com.eg', | |
| blog: 'http://sandboxws.com', | |
| splinterScore: 224, | |
| splinterProfileUrl: 'http://splinterme.com/sandboxws' | |
| }; | |
| for(property in person) { |
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
| person = | |
| name: 'Ahmed El.Hussaini', | |
| age: 31, | |
| email: 'ahmed.elhussaini@espace.com.eg', | |
| blog: 'http://sandboxws.com', | |
| splinterScore: 224, | |
| splinterProfileUrl: 'http://splinterme.com/sandboxws' | |
| for key, value of person | |
| console.log key + ': ' + value |
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
| var getAlbumName = function(trackName) { | |
| var albumName = null; | |
| var albums = { | |
| theDarkSideOfTheMoon: { | |
| title: 'The Dark Side of the Moon', | |
| tracks: [ | |
| {title: 'Speak To Me'}, | |
| {title: 'Breathe'}, | |
| {title: 'On The Run'}, | |
| {title: 'Time'}, |
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
| class eSpacian | |
| constructor: (@name) -> | |
| sayHello: -> | |
| console.log @name + ' says Hello' | |
| class Developer extends eSpacian | |
| constructor: (name, @favLanguage) -> | |
| super name |
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 foreach($posts as $post) { ?> | |
| <h1> | |
| <a href="<?php echo $post->permaUrl ?>"> | |
| <?php echo $post->title ?> | |
| </a> | |
| </h1> | |
| <?php } ?> |
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
| <% for(Post post : PostDao.getAllPosts()) { %> | |
| <h1> | |
| <a href="showPost.jsp?id=<%= post.getId() %>"><%= post.getTitle() %></a> | |
| </h1> | |
| <% } %> |