187 liens privés
1) Create a Applescript by AppleScript Editor and save it (e.g. QTRecord.scpt):
tell application "QuickTime Player"
activate
start (new movie recording)
end tell
2) Open Terminal and run the script in command line:
osascript QTRecord.scpt
Or the whole thing as an one-liner:
osascript -e 'tell application "QuickTime Player" to activate' -e 'tell application "QuickTime Player" to start (new movie recording)'
ou'll need to get a usb-serial adapter and then connect with a console cable. Adapters aren't very expensive.
Connecting to the Console Port with Mac OS X
To connect a Mac OS X system USB port to the console using the built-in OS X Terminal utility, follow these steps:
Step 1 Use the Finder to go to Applications > Utilities > Terminal.
Step 2 Connect the OS X USB port to the router.
Step 3 Enter the following commands to find the OS X USB port number:
macbook:user$ cd /dev
macbook:user$ ls -ltr /dev/usb
crw-rw-rw- 1 root wheel 9, 66 Apr 1 16:46 tty.usbmodem1a21
DT-macbook:dev user$
Step 4 Connect to the USB port with the following command followed by the router USB port speed:
macbook:user$ screen /dev/tty.usbmodem1a21 9600
To Disconnect the OS X USB Console from the Terminal Window
Enter Ctrl+A followed by Ctrl+\
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20001102//EN"
"http://www.w3.org/TR/2000/CR-SVG-20001102/DTD/svg-20001102.dtd">
<svg width="300px" height="250px" style="fill:#AAEEBB;" >
<g transform="translate(50,50)" style="fill:none;stroke:#AABBEE;stroke-linejoin:round;stroke-width:4px;stroke-dasharray:4,4;">
<path d="M 0,0 L100,0 L100,45
M0,100 L50,50 L100,125 m20,0 v-30 l20,-20
M0,150 h50 v-25 M100,150 h50 v25
M0,5 Q 20,20 40,5
"></path>
</g>
</svg>
<h3>Mnemo</h3>
<b>10 commands:</b> M, L, H, V, C, S, Q, T ou A, Z. <br />
<ul>
<li>M start at x,y</li>
<li>L lineup to x,y</li>
<li>H horizontal line +x</li>
<li>V vertical line +y</li>
<li>C</li>
<li>S</li>
<li>Q bezier: attracted by x1,y1 line up x2,y2. ex "M0,0 Q5,5 20,0".</li>
<li>T ou A : A for circle arcs.</li>
<li>Z: and line back to beggining of path (closing path command) </li>
</ul>
<b>2 coordinates systems:</b>
<ul>
<li>UPPER case : absolute coordinates.</li>
<li>lower case : relative to previous point.</li>
</ul>
COVID-19 Test kits (300215) exports by country in 2018
Additional Product information: Diagnostic reagents based on immunological reactions
Category: COVID-19 Test kits/ Instruments, apparatus used in Diagnostic Testing
Change selection (Reporter, Year, Trade Flow, Partner and HS 6 digit Product)
HS Nomenclature used HS 2017
HS Code 300215: COVID-19 Test kits
HS Classification Reference based on Covid-19 medical supplies list 2nd edition, prepared by World Customs Organization (WCO) and World Health Organization (WHO)
Please note: Exports is gross exports and Imports is gross imports
création vlan
SwitchX# configure terminal
SwitchX(config)# vlan 2
SwitchX(config-vlan)# name finance
SwitchX(config-vlan)#end
-------- attributtuion d'un port à un vlan
SwitchX# configure terminal
SwitchX(config)# interface fastethernet 0/1
SwitchX(config-if)# switchport access vlan 2
SwitchX(config-if)# end
SwitchX# show vlan
VLAN Name Status Ports
1 default active Fa0/2
2 finance active Fa0/1
Windows
ipconfig /all | findstr "DNS\ Servers"
ou
nslookup google.com
MacOS ou linux
nslookup google.com
Voici la commande pour choisir le format de fichier par défaut des captures d'écran. Ainsi on passe de png à jpg
defaults write com.apple.screencapture type jpg