$ xcrun simctl list --json
$ xcrun simctl delete unavailable
/* | |
* Copyright 2004, 2005, 2006 Acegi Technology Pty Limited | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* https://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
/* ; _____________________________________________________________________________ | |
; Improved Accelerated Scrolling By Flowgun | |
; original Accelerated Scrolling: V1.3 By BoffinbraiN | |
; Major Changes (v1.5): | |
; - Reloading at Logon/unlocking: The mouse hook can get | |
; released when the session is locked/closed. Now the | |
; script reloads itself to rehook the ScrollWheel hotkeys | |
; - changed the default acceleration values. | |
; Major Changes (v1.4): |
@echo off & setlocal | |
if "%~1"=="" exit /b | |
if /i "%~x1" neq ".bat" if /i "%~x1" neq ".cmd" exit /b | |
<"%~1" ((for /l %%N in (1 1 8) do pause)>nul&findstr "^">"%~n1__%~x1") |
adb shell am | |
Activity manager (activity) commands: | |
help | |
Print this help text. | |
start-activity [-D] [-N] [-W] [-P <FILE>] [--start-profiler <FILE>] | |
[--sampling INTERVAL] [--streaming] [-R COUNT] [-S] | |
[--track-allocation] [--user <USER_ID> | current] <INTENT> | |
Start an Activity. Options are: | |
-D: enable debugging | |
-N: enable native debugging |
adb shell am | |
usage: am [subcommand] [options] | |
usage: am start [-D] [-W] [-P <FILE>] [--start-profiler <FILE>] | |
[--R COUNT] [-S] [--opengl-trace] <INTENT> | |
am startservice <INTENT> | |
am force-stop <PACKAGE> | |
am kill <PACKAGE> | |
am kill-all | |
am broadcast <INTENT> | |
am instrument [-r] [-e <NAME> <VALUE>] [-p <FILE>] [-w] |
There are two metrics that are important to consider when discussing the size of Docker images.
The example commands shown below will work on Windows, MacOS, and Linux.