const isObject = (obj) => {
  return Object.prototype.toString.call(obj) === '[object object]';
}// Some useful Typescript utility types| import "./styles.css"; | |
| import { Person } from "./types"; | |
| import { Listbox } from "./listbox/listbox"; | |
| import { useForm } from "react-hook-form"; | |
| const people: Person[] = [ | |
| { id: 1, name: "Durward Reynolds", unavailable: false }, | |
| { id: 2, name: "Kenton Towne", unavailable: false }, | |
| { id: 3, name: "Therese Wunsch", unavailable: false }, | |
| { id: 4, name: "Benedict Kessler", unavailable: true }, | 
| version: "3.5" | |
| services: | |
| temporal: | |
| container_name: temporal | |
| environment: | |
| - DB=mysql | |
| - DB_PORT=3306 | |
| - VISIBILITY_MYSQL_USER=${TEMPORAL_VISIBILITY_USER} | |
| - VISIBILITY_MYSQL_PWD=${TEMPORAL_VISIBILITY_PASSWORD} | |
| - VISIBILITY_MYSQL_SEEDS=${TEMPORAL_VISIBILITY_PSCALE_HOSTSTRING} | 
| #!/bin/sh | |
| #Check the Drive Space Used by Cached Files | |
| du -sh /var/cache/apt/archives | |
| #Clean all the log file | |
| #for logs in `find /var/log -type f`; do > $logs; done | |
| logs=`find /var/log -type f` | |
| for i in $logs |