Skip to content

Instantly share code, notes, and snippets.

@7Hd
7Hd / main.go
Created June 8, 2018 07:28
translate
package main
import (
"fmt"
"log"
"strings"
"syscall"
"time"
"unsafe"
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<!-- Created by pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlex) -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<meta name="generator" content="pdf2htmlEX"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
<style type="text/css">
/*!
* Base CSS for pdf2htmlEX
@7Hd
7Hd / cloudSettings
Last active March 12, 2018 06:15
Visual Studio Code Sync Settings Gist
{"lastUpload":"2018-03-12T06:15:52.263Z","extensionVersion":"v2.9.0"}
Intent intent = new Intent(SampleActivity.this, PaymentActivity.class);
intent.putExtra(PaymentActivity.EXTRA_PAYMENT, new PayPalPayment(...));
startActivityForResult(intent, REQUEST_CODE_PAYMENT);
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == REQUEST_CODE_PAYMENT) {
if (resultCode == Activity.RESULT_OK) {
PaymentConfirmation confirm =