Here are the colors:
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
| # Quick and dirty program to demonstrate how to calculate PI | |
| # This program written by Jason W. Thompson for his son who complained about using 22/7 to apporoximate PI. | |
| # Jason asked his son to be grateful the teacher allows him to use an approximation because calulating the exact answer will take | |
| # an eternity. | |
| $ADDITION = 1 | |
| $SUBTRACTION = 0 | |
| $numerator = 4 | |
| $denominator = 1 |
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 generates static text documents that simply contain the error number and a short description. | |
| New-Item -ItemType Directory -Name "errors" -ErrorAction Ignore | Out-Null | |
| # Derived from data found at | |
| # https://en.wikipedia.org/wiki/List_of_HTTP_status_codes | |
| @("400 Bad Request", | |
| "401 Unauthorized", | |
| "402 Payment Required", | |
| "403 Forbidden", | |
| "404 Not Found", |
Click here https://www.facebook.com/privacy/checkup/
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 PrimitiveArray | |
| { | |
| // long[]::new | |
| // int[]::new | |
| } |
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.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| /** | |
| * Demonstration on the best way to capture engineering impact. | |
| * @author Jason W. Thompson | |
| */ | |
| public final class Pokemon | |
| { |
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
| 10 REM cerner_2^5_2016 | |
| 20 PRINT "YOU'VE ENCOUNTERED A WILD ENGINEERING IMPACT!" : PRINT "GO FIRST HAND!" | |
| 30 PRINT "1. ATTACK" | |
| 40 PRINT "2. THROW POKEBALL" | |
| 50 PRINT "3. RUN" | |
| 60 GET ACTION$ | |
| 70 ACTION_INT=ASC(ACTION$) | |
| 80 IF ACTION_INT=49 THEN 120 : REM PLAYER PRESSED 1 | |
| 90 IF ACTION_INT=50 THEN 180 : REM PLAYER PRESSED 2 | |
| 100 IF ACTION_INT=51 THEN 160 : REM PLAYER PRESSED 3 |