This file contains 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
if (this.HOPolicyType == HOPolicyType_HOE.TC_HO3 or this.HOPolicyType == HOPolicyType_HOE.TC_HO6) { | |
if (this.ConstructionType != ConstructionType_HOE.TC_L and this.HODW_Earthquake_HOEExists and this.HODW_Loss_Earthquake_HOEExists) { | |
bool = true; | |
} | |
} | |
return bool; |
This file contains 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
-- Start Zookeeper and kafka | |
$ ./bin/zookeeper-server-start ./etc/kafka/zookeeper.properties | |
$ ./bin/kafka-server-start ./etc/kafka/server.properties | |
$ ./bin/schema-registry-start ./etc/schema-registry/schema-registry.properties | |
-- Create Schema Command (Java app will do this part) | |
./bin/kafka-avro-console-producer \ | |
--broker-list localhost:9092 --topic test \ | |
--property value.schema='{"type":"record","name":"Provider","fields":[{"name":"ProviderID","type":"int"},{"name":"Location_ID","type":"int"},{"name":"Network_ID","type":"int"},{"name":"Practitioner_ID","type":"int"},{"name":"ProviderName","type":"string"}]}' --property schema.registry.url=http://localhost:9092 |
This file contains 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
using System; | |
using System.Messaging; | |
class Replier { | |
private MessageQueue invalidQueue; | |
public Replier(String requestQueueName, String invalidQueueName) | |
{ | |
MessageQueue requestQueue = new MessageQueue(requestQueueName); |
This file contains 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
using System; | |
using System.Messaging; | |
public class Requestor | |
{ | |
private MessageQueue requestQueue; | |
private MessageQueue replyQueue; | |
public Requestor(String requestQueueName, String replyQueueName) | |
{ |
This file contains 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
/// <summary> | |
/// Send a single event to Splunk | |
/// </summary> | |
bool SubmitSingleEventToSplunk(string message, string host, string sourcetype) | |
{ | |
var client = new RestClient(); | |
client.BaseUrl = BuildUrl(); | |
client.Authenticator = new HttpBasicAuthenticator(_username, _password); |
This file contains 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
Remove-Item -path C:\GitHub\Platform\src\VCU.Data\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data.Portable\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data.Portable\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.API\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.API\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.ApiAdmin\bin -ErrorAction SilentlyContinue -Recurse -Force |
This file contains 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 | |
# mobile.iOS | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/obj || true | |
# mobile.Android | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Android/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.Android/obj || true |
This file contains 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
Purpose | |
The purpose of this document is to aide in compiling an IPA file for distribution to the Google App Store. | |
Software Requirements: | |
Xcode | |
Visual Studio | |
Xamarin.android extension | |
If you plan to create the build with Visual Studio for Windows then you will need to configure a mac build server which is beyond the scope of this document. |
This file contains 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
Remove-Item -path C:\GitHub\Platform\src\VCU.Data\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data.Portable\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.Data.Portable\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.API\bin -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.API\obj -ErrorAction SilentlyContinue -Recurse -Force | |
Remove-Item -path C:\GitHub\Platform\src\VCU.ApiAdmin\bin -ErrorAction SilentlyContinue -Recurse -Force |
This file contains 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 | |
#Rm : deletes folder | |
# -R : deletes directory | |
# -rf : deletes directory if exists, if not, ignores it | |
# mobile.iOS | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/bin || true | |
Rm -rf -R ~/Documents/GitHub/Platform/src/mobile.iOS/obj || true |