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
| [ | |
| { | |
| "grasses": "0", | |
| "id": "SPK00173", | |
| "leaves": "6", | |
| "alsoOfInterest": "The water volume on the Pigeon River is close to average water flow for this time of year, but the 120-foot High Falls is still an impressive sight. Keep your eyes out for signs of wildlife! You never know what you'll see. Patience and quietness are virtues when it comes to spotting wildlife. ", | |
| "url": "/state_parks/grand_portage", | |
| "photo": "1696226384446", | |
| "whereToGo": "All 3 of our trails are past peak but still have some nice colors. The High Falls Trail is the busiest trail with lots of hikers. If you would like a more secluded wilderness experience, take a hike on the rugged and challenging Middle Falls Trail. Be sure to bring water and wear sturdy hiking boots. If you'd like an easy walk on a less-crowded paved trail, check out the Picnic Trail which has nice views of the Pigeon River. ", | |
| "whatToSee": "The maple leaves have long since fallen. The birch and aspen have nice colors, but they are s |
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
| $path = "~\Saved Games\DCS.openbeta\Config\Input" | |
| $devices = @( | |
| @{ | |
| Original = "3 axis 0 button joystick {5AE280A0-5D5E-11e4-8005-444553540000}.diff.lua" | |
| New = "Flight Rudder Pedals {FA0AD4E0-0C58-11e9-8001-444553540000}.diff.lua" | |
| }, | |
| @{ | |
| Original = "Joystick - HOTAS Warthog {5AE7FEE0-5D5E-11e4-8006-444553540000}.diff.lua" | |
| New = "Joystick - HOTAS Warthog {B6F0F600-0C51-11e9-8003-444553540000}.diff.lua" | |
| }, |
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
| switch (request) | |
| { | |
| case RequestType.READ: | |
| response = Read(request); | |
| break; | |
| case RequestType.CREATE: | |
| Create(request); | |
| break; | |
| case RequestType.DELETE: | |
| Delete(request); |
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
| internal void RouteRequest(RequestStruct request) | |
| { | |
| ResponseStruct response = null; | |
| switch (request) | |
| { | |
| case RequestType.CREATE: | |
| Create(request); | |
| break; | |
| case RequestType.UPDATE: |
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
| enum RequestType | |
| { | |
| CREATE, | |
| READ, | |
| UPDATE, | |
| DELETE, | |
| }; |
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
| void RouteRequest(RequestStruct request) | |
| { | |
| ResponseStruct response = NULL; | |
| switch (request) | |
| { | |
| case RequestType.CREATE: | |
| Create(request); | |
| break; | |
| case RequestType.UPDATE: |
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
| enum ResponseType | |
| { | |
| CREATE, | |
| READ, | |
| UPDATE, | |
| DELETE, | |
| }; |
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
| int main (int argc, const char * argv[]) | |
| { | |
| Process aNewProcess; | |
| time_t startTime = time(NULL); | |
| State processState = aNewProcess.run(); | |
| time_t secondsTaken = time(NULL) - startTime; | |
| switch(processState) | |
| { |