Autocomplete
IDE-style autocomplete for your existing terminal
- • Supports 500+ popular CLI tools
- • Inline descriptions & powerful suggestions
- • Completions are open source
- • Fully customizable
from: https://fig.io/
分享 Linux/Apache/PHP+MySQL/Smarty/JQuery/RubyOnRails 的點點滴滴!
from: https://fig.io/
Overview
New tabs are automatically moved to the correct tab group. Additionaly you can ctrl + shift + left arrow to group all tabs.
Group all the tabs by domain/website url. This will help user to keep tabs organized. New tabs are automatically moved to the correct group. If no group is available then new group will be created. It groups all tabs by top level domain. group name will be GOOGLE for both below url(s). https://google.com https://docs.google.com
from: https://chromewebstore.google.com/detail/group-tabs-by-domain/icmbnkmjhdapliaologdghjfpcmcimln?hl=en
I found that sysctl -n machdep.cpu.brand_string reported Apple M1 even though the process was run under Rosetta.
Update: be prepared for Apple M1 Pro, Apple M2, Apple M2 Max etc.!
from: https://stackoverflow.com/questions/65259300/detect-apple-silicon-from-command-line
如果新 Mac 沒有使用 MacOS「系統轉移」傳送舊電腦的資料到新的 Mac,你會發現安裝 LINE 之後,對話紀錄僅可以回溯到某個時間,更早的對話紀錄並無法顯示,也無法搜尋,這是因為更早的對話紀錄並不會存放在 LINE 的 server 上,這時需要手動轉移舊 Mac 上的紀錄到新 Mac。
這次我嘗試從 MacOS High Sierra 上備份/轉移 LINE 對話紀錄到 MacOS Big Sur ,到發文時測試沒問題。
以下我用到基本的 Terminal 操作,但只要知道路徑,直接備份/轉移資料也可行,ssh 的部分我會先略過,之後再另外寫一篇(寫了一下後發現根本懶得講)。
MacOS 上 LINE 對話紀錄與一些偏好設定的資料在
~/Library/Containers/jp.naver.line.mac/Data/Library
但因為其中有許多 link,需要備份/轉移的資料僅有
~/Library/Containers/jp.naver.line.mac/Data/Library/Containers
簡單說你只要從舊 Mac 複製此資料夾,在新電腦上替換掉這資料夾,就完成了,但預設 ~/Library 並不會顯示在 Finder,請在任一 Finder 按下 cmd+shift+g,然後貼上 ~/Library/Containers/jp.naver.line.mac/Data/Library,就可以開始以下操作。
以下是我的操作流程,但某些步驟我不清楚是否是必要:
Containers 資料夾,請先改名就好,例如:Containers_bkxz 後還有 3.2GBfn+方向鍵左 不放,這是 PageUp,可以快速往上回溯對話紀錄Containers 是複數Containers,也會下載近期的對話紀錄既然知道路徑了,備份當然就沒問題了,祝你成功。
from: https://dev.to/stomvi/mac-line-mac-4fgc
Playwright enables reliable end-to-end testing for modern web apps.
from: https://playwright.dev/
-> is used to draw a message between two participants. Participants do not have to be explicitly declared.To have a dotted arrow, you use -->It is also possible to use <- and <--. That does not change the drawing, but may improve readability. Note that this is only true for sequence diagrams, rules are different for the other diagrams.![]() |
participant is used to declare a participant, more control on that participant is possible.The order of declaration will be the (default) order of display.Using these other keywords to declare participants will change the shape of the participant representation:actorboundarycontrolentitydatabasecollectionsqueue![]() |
as keyword.You can also change the background color of actor or participant.![]() |
order keyword to customize the display order of participants.![]() |
![]() |
as keyword to give an alias to those participants.![]() |
\n.![]() |
![]() |
[Ref. QA-1361]
left, right or center using skinparam sequenceMessageAlign.You can also use direction or reverseDirection to align text depending on arrow direction. Further details and examples of this are available on the skinparam page.![]() |
skinparam responseMessageBelowArrow true command.![]() |
x to denote a lost message\ or / instead of < or > to have only the bottom or top part of the arrow>> or //) head to have a thin drawing-- instead of - to have a dotted arrow<->![]() |
![]() |
autonumber is used to automatically add an incrementing number to messages.![]() |
autonumber <start> , and also an increment with autonumber <start> <increment>.![]() |
DecimalFormat (0 means digit, # means digit and zero if absent).You can use some html tag in the format.![]() |
autonumber stop and autonumber resume <increment> <format> to respectively pause and resume automatic numbering.![]() |
., ;, ,, : or a mix of these. For example: 1.1.1 or 1.1:1.Automatically the last digit will increment.To increment the first digit, use: autonumber inc A. To increment the second digit, use: autonumber inc B.![]() |
autonumber with the %autonumber% variable:![]() |
[Ref. QA-7119]
title keyword is used to add a title to the page.Pages can display headers and footers using header and footer.![]() |
newpage keyword is used to split a diagram into several images.You can put a title for the new page just after the newpage keyword. This title overrides the previously specified title if any.This is very handy with Word to print long diagram on several pages.(Note: this really does work. Only the first page is shown below, but it is a display artifact.)![]() |
alt/elseoptloopparbreakcriticalgroup, followed by a text to be displayedgroup, see next paragraph 'Secondary group label').The end keyword is used to close the group.Note that it is possible to nest groups.![]() |
group, it is possible to add, between[ and ], a secondary text or label that will be displayed into the header.![]() |
note left or note right keywords just after the message.You can have a multi-line note using the end note keywords.![]() |
note left of , note right of or note over keywords.It is possible to highlight a note by changing its background color.You can also have a multi-line note using the end note keywords.![]() |
hnote and rnote keywords to change note shapes :hnote for hexagonal note;rnote for rectangle note.![]() |
note across: note_description![]() |
/:/(by default, the notes are not aligned)![]() |
/(the notes are aligned)![]() |
![]() |
== separator to divide your diagram into logical steps.![]() |
ref over.![]() |
... to indicate a delay in the diagram. And it is also possible to put a message with this delay.![]() |
\n in your text.Another option is to use maxMessageSize setting:![]() |
||| to indicate some spacing in the diagram.It is also possible to specify a number of pixel to be used.![]() |
activate and deactivate are used to denote participant activation.Once a participant is activated, its lifeline appears.The activate and deactivate apply on the previous message.The destroy denote the end of the lifeline of a participant.![]() |
![]() |
![]() |
return generates a return message with optional text label.The return point is that which caused the most recent life-line activation.The syntax is return label where label if provided is any string acceptable for conventional messages.![]() |
create keyword just before the first reception of a message to emphasize the fact that this message is actually creating this new object.![]() |
++ Activate the target (optionally a color may follow this)-- Deactivate the source** Create an instance of the target!! Destroy an instance of the target![]() |
![]() |
![]() |
[" or the right "]" side of the diagram.![]() |
![]() |
?.![]() |
teoz it is possible to add anchors to the diagram and use the anchors to specify duration time.![]() |
-Pcommand-line option to specify the pragma:java -jar plantuml.jar -Pteoz=true
[Ref. issue-582]
<< and >>.In the stereotype, you can add a spotted character in a colored circle using the syntax (X,color).![]() |
guillemet:![]() |
![]() |
![]() |
You can add newline using \n in the title description.
![]() |
You can also define title on several lines using title and end title keywords.
![]() |
box and end box commands.You can add an optional title or a optional background color, after the box keyword.![]() |
![]() |
hide footbox keywords to remove the foot boxes of the diagram.![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
[Ref. QA-9016]
skinparam lifelineStrategy solid![]() |
skinparam style strictuml![]() |
[Ref. QA-1047]
![]() |
hide unlinked participant.![]() |
![]() |
![]() |
(nn) option (before or after arrow) to make the arrows slanted, where nn is the number of shift pixels.[Available only after v1.2022.6beta+]![]() |
![]() |
[Ref. QA-14145]
![]() |
[Ref. QA-6684]
![]() |
[Ref. QA-1072]
from: https://plantuml.com/sequence-diagram