On RPi
sudo apt-get install usbmuxd
- connect iPhone
On iPhone
-
Trust
const fs = require("fs"); | |
const path = require("path"); | |
const { SearchIndexClient, AzureKeyCredential } = require("@azure/search-documents"); | |
// Replace with your search service name and admin api key | |
const searchServiceName = "<your-search-service-name>"; | |
const adminApiKey = "<your-search-service-admin-api-key>"; | |
// Replace with your index name and field name | |
const indexName = "<your-index-name>"; |
// Special thanks: Hemanth Raj | |
// Ref: https://stackoverflow.com/questions/48024504/app-navigation-example-using-widgetsapp#answer-48030789 | |
import 'package:flutter/widgets.dart'; | |
void main() => runApp(new MyWidgetsApp()); | |
class MyWidgetsApp extends StatelessWidget { | |
Route generate(RouteSettings settings){ | |
Route page; |
<html> | |
<head> | |
<title>Progress time</title> | |
<style type="text/css"> | |
html, body { | |
margin: 0; | |
padding: 0; | |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; | |
} | |
#wrapper { |
<html> | |
<head> | |
<title>Just a Clock!</title> | |
<style type="text/css"> | |
html, body { | |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji" | |
} | |
</style> | |
</head> | |
<body> |
{"lastUpload":"2020-07-24T15:00:50.854Z","extensionVersion":"v3.4.3"} |
(function() { | |
const today = new Date() | |
const _targetTime = prompt('Input your end time', `${today.getMonth() + 1}/${today.getDate()}/${today.getFullYear()} ${today.getHours()}:${today.getMinutes()}:${today.getSeconds()}`) | |
const targetTime = new Date(_targetTime) | |
if (isNaN(targetTime)) { | |
throw new Error('Your time input is invalid date format.') | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Meow~</title> | |
</head> | |
<body> | |
Hello JSBKK | |
</body> |
/api/print
Req file - Image File
Res id - Queue ID for reference to print status (IF POSSIBLE, IF CAN'T IT OK NA)
data = { | |
invoices: [ | |
{ | |
chargeDetail: [ | |
{ | |
description: 'ค่ายา', | |
chargeDetailSubWTF: [ | |
{ | |
cost: 10, |