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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Document</title> | |
| <script>window.onbeforeunload = function() { return "You're closing all the tabs!"; }</script> | |
| </head> | |
| <body> |
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
| <style> | |
| .container { | |
| width: 100%; | |
| text-align: center; | |
| align-items: center; | |
| position: absolute; | |
| } | |
| .comments { | |
| width: 50%; |
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 main() | |
| { | |
| for (var i = 5; i <= 86; i = i + 1) { | |
| var col = 3; | |
| var val1 = SpreadsheetApp.getActiveSheet().getRange(i, col).getValue(); | |
| console.log(val1); | |
| var col = 4; | |
| var val2 = SpreadsheetApp.getActiveSheet().getRange(i, col).getValue(); | |
| console.log(val2); | |
| var col = 5; |
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 | |
| SUB='commento' | |
| while true | |
| do | |
| VALUE=`curl 192.168.0.230` | |
| if [[ "$VALUE" == *"$SUB"* ]] | |
| then | |
| echo "Connected to server." |
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
| import java.util.concurrent.ThreadLocalRandom; | |
| import java.util.*; | |
| public class RockPaperScissors { | |
| static int rockPaperScissors() { | |
| int randomNum = ThreadLocalRandom.current().nextInt(1, 4); | |
| if (randomNum == 1) { | |
| //System.out.println("Rock"); | |
| return randomNum; | |
| } |