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
| package com.adjustit.csv; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.io.Reader; | |
| import java.util.List; | |
| import java.util.function.Consumer; | |
| import java.util.function.Predicate; |
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
| <?php | |
| use Stomp\Client; | |
| use Stomp\StatefulStomp; | |
| use Stomp\Exception\StompException; | |
| class Adjustit_activemqconnection { | |
| var $connection = NULL; | |
| function __construct() |
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
| package com.deltastateonline.files; | |
| import java.io.BufferedInputStream; | |
| import java.io.BufferedOutputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; |
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
| package com.adjustit.employeeapi.model; | |
| import java.io.Serializable; | |
| import java.util.ArrayList; | |
| import javax.xml.bind.annotation.XmlElement; | |
| import javax.xml.bind.annotation.XmlElementWrapper; | |
| import javax.xml.bind.annotation.XmlRootElement; | |
| @XmlRootElement | |
| public class Employee implements Serializable { |
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 runGame(){ | |
| let states = [{ | |
| turn : 0, | |
| bCards : [1,2,3,4,5,6,7,8], | |
| pCards : [ | |
| [1,2,3,4,5,6,7,8], | |
| [1,2,3,4,5,6,7,8] | |
| ], |
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 com.amazonaws.auth.AWSCredentials; | |
| import com.amazonaws.auth.AWSStaticCredentialsProvider; | |
| import com.amazonaws.auth.BasicAWSCredentials; | |
| import com.amazonaws.auth.profile.ProfileCredentialsProvider; | |
| import com.amazonaws.regions.Regions; | |
| import com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagement; | |
| import com.amazonaws.services.simplesystemsmanagement.AWSSimpleSystemsManagementClientBuilder; | |
| import com.amazonaws.services.simplesystemsmanagement.model.GetParameterRequest; | |
| import com.amazonaws.services.simplesystemsmanagement.model.GetParameterResult; |
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
| return new Promise((resolve, reject) => { | |
| var allResultsCursor = this.model('Combined').aggregate([{ | |
| // $match object | |
| // $lookup | |
| // $unwind | |
| // $group | |
| // $project | |
| ]).cursor({ batchSize: 1000 }) | |
| .exec(); |
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 hashlib, hmac, socket, ssl | |
| from datetime import datetime | |
| try: | |
| from urlparse import urlsplit | |
| except: | |
| from urllib.parse import urlsplit | |
| ALGORTHM = 'AWS4-HMAC-SHA256' |
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
| /General/Test Folder/file_uploaded/@{formatDateTime(utcNow(),'yyyy-MM-dd')} | |
| processedDate": "@{convertFromUtc(utcNow(),'E. Australia Standard Time','yyyy-MM-dd')} | |
| EndOfWeek : addDays(formatDateTime(variables('startDate'), 'yyyy-MM-ddT12:00:00.0000000Z'),sub(5,dayOfWeek(formatDateTime(variables('startDate'), 'yyyy-MM-ddT12:00:00.0000000Z')))) |
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
| async republishRequest({dispatch,commit},payload) { | |
| //console.log(dispatch); | |
| //console.log(commit); | |
| commit('SET_BUSY_RESPONSES',true); | |
| commit('CLEAR_TO_REPUBLISHLIST'); | |
| return new Promise((resolve, reject)=>{ | |
| axios.post(endpoint.repub_prefix+"func_republish_events_http", payload).then(response=>{ |