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 javax.microedition.io.*; | |
import javax.microedition.lcdui.*; | |
import javax.microedition.midlet.*; | |
public class HttpsConnectionExample extends MIDlet implements CommandListener { | |
private Display display; | |
private Form form; | |
private StringItem resultItem; | |
private Command exitCommand; | |
private Command connectCommand; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
version: "3.8" | |
services: | |
# service name to run in docker-compose command | |
terraform: | |
image: hashicorp/terraform:0.13.3 | |
# map all files under host dir './aws' to container dir '/infra' | |
volumes: | |
- ./aws:/infra |
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 daikinMachine = Machine({ | |
id: 'daikin', | |
initial: 'AwaitingPayment', | |
context: { | |
retries: 0 | |
}, | |
states: { | |
AwaitingPayment: { | |
on : { | |
RECEIVE_PAYMENT: 'Open' |
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
error 7/22/20, 05:04 - [IPay88Api] { | |
"exchangeId": "cc002e71-8501-468b-8992-90f772dd975b", | |
"root": { | |
"Envelope": { | |
"Body": { | |
"Fault": { | |
"faultcode": "a:DeserializationFailed", | |
"faultstring": { | |
"attributes": { | |
"xml:lang": "en-US" |
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
C# 15 hrs 2 mins βββββββββββββββββββββ 48.4% | |
CSHTML 10 hrs 35 mins βββββββββββββββββββββ 34.1% | |
JSON 1 hr 11 mins βββββββββββββββββββββ 3.8% | |
Other 1 hr 8 mins βββββββββββββββββββββ 3.7% | |
Terraform 1 hr 4 mins βββββββββββββββββββββ 3.4% |
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 puppeteer from 'puppeteer' | |
import fs from 'fs' | |
async function buildPDF(htmlString) { | |
const browser = await puppeteer.launch({ headless: true }) | |
const page = await browser.newPage(); | |
await page.setContent(htmlString, { waitUntil: 'networkidle0' }) | |
const pdf = await page.pdf({ | |
format: 'A4', | |
displayHeaderFooter: 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
import { Field, ObjectType } from 'type-graphql'; | |
@ObjectType('ShippingRate', { | |
description: | |
'A shipping rate to be applied to an order.', | |
}) | |
export class ShippingRateDto { | |
@Field({ | |
description: 'The name of the carrier, which customers see at checkout', |
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 { Country } from './country.interface'; | |
import { State } from './state.interface'; | |
export class Malaysia implements Country { | |
constructor(public readonly code = 'MY', public readonly name = 'Malaysia', public readonly states: State[] = [ | |
new Perlis(), | |
new Kedah(), | |
new Penang(), | |
new Kelantan(), | |
new Terengganu(), |
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
export const carriers = [ | |
{ | |
name: 'Ninja Van', | |
code: 'ninja_van', | |
services: [ | |
{ | |
name: 'Standard Delivery', | |
code: 'ninja_standard_delivery', | |
zones: [ | |
{ |
NewerOlder