- Upgrade to Enterprise edition of Windows 10/11 if you are running Home or Pro.
- You can do this through the Change Edition option in the Extras menu in MAS.
- Open the Group Policy Editor. Search for "Edit Group Policy" in search or run
gpedit.msc
.
# Capture the mouse click events in Python and OpenCV | |
''' | |
-> draw shape on any image | |
-> reset shape on selection | |
-> crop the selection | |
run the code : python capture_events.py --image image_example.jpg | |
''' |
gpedit.msc
.def hash_file(file, block_size=65536): | |
hasher = hashlib.md5() | |
for buf in iter(partial(file.read, block_size), b''): | |
hasher.update(buf) | |
return hasher.hexdigest() | |
def upload_to(instance, filename): | |
""" |
Based on the prepare and release scripts: https://gitlab.com/risingprismtv/single-gpu-passthrough
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Real-time Map Marker</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.4/leaflet.min.css" /> | |
<style> | |
* { | |
box-sizing: border-box; |
/* | |
+----------------------------------------------------------------------+ | |
| Zend Engine | | |
+----------------------------------------------------------------------+ | |
| Copyright (c) 1998-2015 Zend Technologies Ltd. (http://www.zend.com) | | |
+----------------------------------------------------------------------+ | |
| This source file is subject to version 2.00 of the Zend license, | | |
| that is bundled with this package in the file LICENSE, and is | | |
| available through the world-wide-web at the following url: | | |
| http://www.zend.com/license/2_00.txt. | |
This guide assumes you already have a basic Ubuntu 24.04 VM running on Proxmox. If not, you should set that up first. The VM can be fairly minimal; for example, 8GB of storage and 1GB of RAM should suffice.
It also assumes you have a USB Storage device that you want to use for Time Machine backups
Mapping a USB drive via the Proxmox GUI is quick and easy, but the performance may be suboptimal because the driver is emulated. For better performance, it's recommended to use the virtio
driver, which is paravirtualized. Paravirtualization allows the guest VM to interact more directly with the hardware, improving I/O performance compared to emulated devices.
## Cursor AI 设计规则配置指南 | |
## 重要提示:请配置使用 context7 https://github.com/upstash/context7 来让 claude 生成的代码处于最新版本。 | |
你需要安装的库: | |
tailwindcss v4 ,@motion(非 framer motion) | |
需要安装的 mcp: |