HYFClassshould have a method thatreturns all the name of themembers.HYFClassshould have a method thatreturns onlyStudentsand one thatreturns onlyTeachers
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
| <html> | |
| <head> | |
| <title>Tic Tac Toe!</title> | |
| </head> | |
| <body> | |
| <div> | |
| <span> | |
| <input name="" type="text" value="-" size="1"/> | |
| </span> |
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 MovieEmployed { | |
| constructor(name) { | |
| this.name = name; | |
| this.movies = []; | |
| } | |
| addMovie(movieInstance) { | |
| this.movies.push(movieInstance); |
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
| <html> | |
| <head> | |
| <script src="./index.js"></script> | |
| </head> | |
| <body> | |
| <ul id="repos"> | |
| </ul> | |
| </body> | |
| </html> |
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
| function ABlockingFunction( stopAtTime ){ | |
| var StartAt = new Date(); | |
| var animation = ['Running...']; | |
| while( StartAt <= stopAtTime ){ | |
| StartAt = new Date(); | |
| animation.push('.') | |
| console.log(animation.join('')); | |
| } | |
| return this; | |
| } |
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
| #!/bin/bash | |
| LATEST=$(curl https://api.github.com/repos/m3kh/momo/commits | underscore extract '0.sha' | sed s/[^a-zA-Z0-9\_]//g); | |
| CURRENT=$(cat /home/pi/.momo_version | sed s/[^a-zA-Z0-9\_]//g); | |
| echo "${LATEST}"; | |
| echo "${CURRENT}"; | |
| if [ "$LATEST" = "$CURRENT" ]; then | |
| echo "Momo is uptodate"; |
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 inspector = function(obj){ | |
| var config = config || {}, | |
| html = ''; | |
| config.iter = function(e){ | |
| html = '<ul>'; | |
| if( typeof e === "function" ){ | |
| // setTimeout(function(){ | |
| try{ |