This is side-document providing details for some highlighted changes in 2.5.0. For a full list of changes, see the full release note.
# Simple Google Drive backup script with automatic authentication | |
# for Google Colaboratory (Python 3) | |
# Instructions: | |
# 1. Run this cell and authenticate via the link and text box. | |
# 2. Copy the JSON output below this cell into the `mycreds_file_contents` | |
# variable. Authentication will occur automatically from now on. | |
# 3. Create a new folder in Google Drive and copy the ID of this folder | |
# from the URL bar to the `folder_id` variable. | |
# 4. Specify the directory to be backed up in `dir_to_backup`. |
JSONAPIObject: | |
description: Includes the current JSON:API version for this specification as well as optional meta information | |
type: object | |
required: | |
- version | |
properties: | |
version: | |
type: string | |
default: '1.0' | |
example: '1.0' |
# Save into salt://rename.sls then run the following command: | |
# salt-run state.orch rename pillar='{"old": "OLD_NAME", "new": "NEW_NAME"}' | |
# | |
# For more tips like this, follow https://twitter.com/SaltTips | |
{% set old_name = pillar['old'] %} | |
{% set new_name = pillar['new'] %} | |
Rename minion id: | |
salt.function: |
wrk -c 500 -d 30s -t 12 -R 20k -L http://localhost:8888 | |
Running 30s test @ http://localhost:8888 | |
12 threads and 500 connections | |
Thread calibration: mean lat.: 456.139ms, rate sampling interval: 3485ms | |
Thread calibration: mean lat.: 458.787ms, rate sampling interval: 3125ms | |
Thread calibration: mean lat.: 294.161ms, rate sampling interval: 1654ms | |
Thread calibration: mean lat.: 391.126ms, rate sampling interval: 3123ms | |
Thread calibration: mean lat.: 325.404ms, rate sampling interval: 2699ms | |
Thread calibration: mean lat.: 359.069ms, rate sampling interval: 2533ms | |
Thread calibration: mean lat.: 72.867ms, rate sampling interval: 222ms |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Note: many newer Keychron keyboards use QMK as firmware and most tips here do not apply to them. Maybe the ones related to Bluetooth can be useful, but everything related to Apple's keyboard module (hid_apple
) on Linux, won't work. As far as I know, all QMK-based boards use the hid_generic
module instead. Examples of QMK-based boards are: Q, Q-Pro, V, K-Pro, etc.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Older Keychron keyboards (those not based on QMK) use the hid_apple
driver on Linux, even in the Windows/Android mode, both in Bluetooth and Wired modes.