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
| => (emit-html '(:html (:head (:title "Hello")) (:body (:p "Hello,world!")))) | |
| <html> | |
| <head> | |
| <title>Hello</title> | |
| </head> | |
| <body> | |
| <p>Hello,world!</p> | |
| </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
| : echo ${hours:="16"} | |
| : echo ${start_minutes:="25"} #30 | |
| : echo ${end_minutes:="40"} #40 | |
| : echo ${last_day_found:="0"} | |
| : echo ${phone_mac:="5c:0a:5b:11:17:bb"} | |
| : echo ${box_mac:="bc:ae:c5:62:df:20"} | |
| : echo ${interval:="0"} | |
| while [ true ] | |
| do |
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
| (defun rs-poll () | |
| (interactive) | |
| (when (not (boundp 'rs-poll-time)) | |
| (defvar rs-poll-time 1) | |
| (defvar rs-poll-votes 1)) | |
| (let ((buffer (url-retrieve-synchronously "http://services.runescape.com/m=poll/rs2007-server")) | |
| (lst) | |
| (percent)) | |
| (with-current-buffer buffer | |
| (save-excursion |
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
| public void testPlayerLowerTest(){ | |
| player1.setScore(5); | |
| player2.setScore(3); | |
| Assert.assertTrue(player1.compareTo(player2)==-1); | |
| } | |
| public void testPlayerSameScoreTest(){ | |
| player1.setScore(4); | |
| player2.setScore(4); | |
| Assert.assertTrue(player1.compareTo(player2)==0); |
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
| xvsbnbs |
NewerOlder