JFS_BASE=/Users/yujunz/JuiceFS
JFS_NAME=rogerz-s3-cn-east-1-qiniu
BUNDLE=TimeMachine.sparsebundle
VOLUME=/Volumes/TimeMachine
# Mount JuiceFS
juicefs mount --cache-dir $JUICEFS_BASE/cache --batch 10 --writeback --metacache --opencache $JFS_NAME $JFS_BASE/$JFS_NAME
# Create sparse bundle| gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" | |
| Get-CimInstance -Namespace root/CIMV2/Security/MicrosoftVolumeEncryption -ClassName Win32_EncryptableVolume | |
| gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" -Filter "DriveLetter = 'O:'" | |
| gwmi("Win32_EncryptableVolume") -namespace "root\CIMV2\Security\MicrosoftVolumeEncryption" | foreach { | |
| $obj = $_ |
| vi /etc/environment | |
| # add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
| (* 2019-06-07: Added nohup and output redirection to fix a bug with "Open Terminal here" feature. | |
| Thanks to @fools-mate for bringing the issue to my attention. *) | |
| on alfred_script(q) | |
| do shell script "cd ~; nohup /Applications/kitty.app/Contents/MacOS/kitty /bin/bash -c \"source ~/.bashrc && " & q & ";/bin/bash\" > /dev/null 2>&1 &" | |
| end alfred_script |
| version: '2' | |
| services: | |
| watchtower: | |
| image: containrrr/watchtower | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - /root/.docker/config.json:/config.json | |
| command: nginx-proxy nginx-proxy-le |
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_INFLUXDB", | |
| "label": "InfluxDB", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "influxdb", | |
| "pluginName": "InfluxDB" | |
| } |
Today I wanted to move existing APFS-resident macOS Catalina installation to a new disk. I upgraded my late 2014 Mac Mini with a shiny new 1TB SSD. This took way too many hours of my life I will never get back. Hope this saves some time to you.
Good news:
- it is possible to create a DMG image from existing APFS container with macOS Catalina installation including metadata needed for complete restore (the DMG contains OS, OS Data, Preboot, Recovery and VM volumes)
- it is possible to restore this DMG image into empty APFS container and get a bootable copy of the original system
This information is relevant for Catalina (I'm currently running macOS 10.15.1).
| sudo dnf install -y http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
| sudo dnf install -y akmods "kernel-devel-uname-r == $(uname -r)" | |
| sudo dnf install -y broadcom-wl | |
| sudo akmods | |
| sudo reboot |
There are 18 questions in total. You will need five RHEL 8 (or CentOS 😎 virtual machines to be able to successfully complete all questions.
Here is an automated exam environment deployment for Mac/Linux/Windows that deploys the practice exam environment for you, including IPA server/client installation and configuration. You can also use your own lab environment. Navigate to the respective repo you wish to use for this practice exam and follow the README instructions:
https://github.com/rdbreak/rhce8env, https://github.com/rdbreak/ansible27env, https://github.com/rdbreak/ansible8env.
| const STEAM_STORE_URL = "https://store.steampowered.com" | |
| const steamId = args.widgetParameter ?? "76561198008818777" | |
| try { | |
| const wishListGames = await fetchWishListById(steamId) | |
| const widget = await createWidget(wishListGames) | |
| renderWidget(widget) | |
| } catch(error) { | |
| const widget = await createErrorWidget(error) | |
| renderWidget(widget) | |
| } |