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 webdriverIO from "webdriverio"; | |
| import {dirname} from "path"; | |
| import {fileURLToPath} from "url"; | |
| import {loginLogoutFN, loginLogoutSingleFN, loginLogoutWithPassword} from "./tests/shared"; | |
| import {editPassword} from "./tests/password"; | |
| import {setSettings} from "./tests/settings"; | |
| import {editProfile} from "./tests/profile"; | |
| import {addRecipeToCookBook} from "./tests/recipe"; | |
| import {findAndShareRecipeFromCookBook} from "./tests/cookbook"; | |
| import {findAndRemoveRecipeFromCookBook} from "./tests/cookbook_share"; |
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 br.com.b2breservas.api.graphql.mutation; | |
| import graphql.schema.DataFetcher; | |
| import org.springframework.stereotype.Component; | |
| @Component | |
| public class GraphQLDataFetchers { | |
| public DataFetcher createUpdateIntegration() { |
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
| { | |
| "additionalInfo": [], | |
| "agencyStoreId": 47510, | |
| "attachments": [], | |
| "bookingNumber": 105213, | |
| "bookingType": "CONFIRMED", | |
| "code": null, | |
| "comments": "obss", | |
| "conciliationAt": null, | |
| "conciliationData": false, |
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 main | |
| import ( | |
| "encoding/json" | |
| "html" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "net/url" | |
| "regexp" |
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
| const pingEpic = (action$) => action$ | |
| .pipe( | |
| filter((action: IAction) => action.type === 'PING'), | |
| mergeMap((action: IAction) => | |
| ajax({ | |
| method: "GET", | |
| url: apiURL() + "/party/" + action.payload | |
| }) | |
| .pipe( | |
| mergeMap((data) => { |
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
| 2018/05/09 21:35:58 Request received from body | |
| 2018/05/09 21:35:58 [ | |
| { | |
| "id": "5ae9cc30cc922d08eab5d47d", | |
| "creationDate": 1525271600000, | |
| "updateDate": -62135596800000, | |
| "startDate": 1532988120000, | |
| "endDate": 1533074520000, | |
| "customerId": "5849ebe9cc922d4efdbf00e4", | |
| "partyId": "5adfaa31cc922d5c7853f988", |
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
| const TestaCPFFunction = (strCPF) => { | |
| let Soma; | |
| let Resto; | |
| Soma = 0; | |
| if (strCPF == "00000000000") { | |
| return false | |
| } | |
| for (let i = 1; i <= 9; i++) { | |
| Soma = Soma + parseInt(strCPF.substring(i - 1, i)) * (11 - i); |
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 image | |
| import ( | |
| "io" | |
| "os" | |
| "strings" | |
| "archive/tar" | |
| "bytes" | |
| "io/ioutil" |
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
| FROM alpine:3.4 | |
| RUN apk add --no-cache ca-certificates apache2-utils | |
| ADD ./dist/bin/goapp /bin/goapp | |
| CMD ["/bin/goapp"] |
NewerOlder