This is a note of running exiftool with Terminal Emulator on Android.
ExifTool is an Android port of exiftool:
https://play.google.com/store/apps/details?id=ru.al.exiftool&hl=en_US
import typing | |
import rospy | |
import moveit_commander | |
import moveit_msgs.srv | |
def moveit_compute_fk( | |
move_group: moveit_commander.MoveGroupCommander, | |
joint_position: typing.List[float], | |
ee_link = "tool0" | |
): |
import { useCallback, useLayoutEffect, useMemo, useReducer } from "react"; | |
function createHooks() { | |
const listeners: (() => void)[] = []; | |
window.addEventListener("popstate", () => { | |
for (const listener of listeners) { | |
listener(); | |
} | |
}); |
import { useEffect, useState, useRef } from "react"; | |
export function useAsyncInputRef<T extends HTMLElement & { value: string }>( | |
value: string, | |
forwardRef?: React.RefObject<T> | |
) { | |
const [compositionFlag, setComposition] = useState(false); | |
const newRef = useRef<T>(null); | |
const ref = forwardRef || newRef; |
diff --git a/.gitignore b/.gitignore | |
index 4d29575..3835823 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -21,3 +21,6 @@ | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
+ | |
+/dist |
const process = require('process'); | |
const winston = require('winston'); | |
const clc = require('cli-color'); | |
const { | |
TERM = '', | |
LOG_LEVEL = 'info' | |
} = process.env; | |
const colors = ~TERM.indexOf('256') ? { |
const startOf = { | |
d: (d) => { | |
d.setHours(0, 0, 0, 0); | |
return d; | |
}, | |
w: (d) => { | |
d.setDate(d.getDate() - (d.getDay() || 7) + 1); | |
d.setHours(0, 0, 0, 0); | |
return d; | |
}, |
#!/bin/sh | |
BUSYBOX_IMAGE=${BUSYBOX_IMAGE:-busybox} | |
BUSYBOX_IMAGE_ID=$(docker images -q $BUSYBOX_IMAGE | head -n1) | |
check_busybox() { | |
if [ -z "$BUSYBOX_IMAGE_ID" ]; then | |
echo >&2 "error: $BUSYBOX_IMAGE image not found." | |
exit 1 | |
fi |
This is a note of running exiftool with Terminal Emulator on Android.
ExifTool is an Android port of exiftool:
https://play.google.com/store/apps/details?id=ru.al.exiftool&hl=en_US
<?xml version="1.0" encoding="UTF-8"?> | |
<EriFile VersionNumber="1357" NumberOfEriEntries="14" EriFileType="1"> | |
<CallPromptId Id="0" CallPromptText="CallPromptId0" /> | |
<CallPromptId Id="1" CallPromptText="CallPromptId1" /> | |
<CallPromptId Id="2" CallPromptText="CallPromptId2" /> | |
<EriInfo RoamingIndicator="0" IconIndex="1" IconMode="0" EriText="CT-LTE Roam" CallPromptId="0" AlertId="0" /> | |
<EriInfo RoamingIndicator="1" IconIndex="1" IconMode="0" EriText="CT-LTE" CallPromptId="0" AlertId="0" /> | |
<EriInfo RoamingIndicator="2" IconIndex="1" IconMode="0" EriText="CT-LTE Roam" CallPromptId="0" AlertId="0" /> | |
<EriInfo RoamingIndicator="65" IconIndex="65" IconMode="0" EriText="T-CDMA 65" CallPromptId="0" AlertId="0" /> | |
<EriInfo RoamingIndicator="66" IconIndex="1" IconMode="0" EriText="T-CDMA Ext 66" CallPromptId="0" AlertId="0" /> |
var clc = require('cli-color'); | |
var { Logger, transports } = require('winston'); | |
var { formatter, timestamp } = require('winston-console-formatter')({ | |
colors: ((term) => (~term.indexOf('256')) ? { | |
silly: clc.xterm(33), | |
debug: clc.xterm(207), | |
info: clc.xterm(48), | |
warn: clc.xterm(226), | |
error: clc.xterm(196), |