uv venv venv --python 3.11
venv\Scripts\activate
uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
uv pip install --no-deps trl peft accelerate bitsandbytes
uv pip install -U xformers --index-url https://download.pytorch.org/whl/cu124
uv pip install --upgrade --no-cache-dir git+https://github.com/unslothai/unsloth.git
uv pip install unsloth-zoo
uv pip install -U triton-windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <NimBLEDevice.h> | |
| #include <U8g2lib.h> | |
| #include "driver/i2s.h" | |
| // #define DEBUG // Comment out this line to disable debug output | |
| // Debug printing macros | |
| #ifdef DEBUG | |
| #define DEBUG_PRINT(x) Serial.print(x) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <NimBLEDevice.h> | |
| #include <U8g2lib.h> | |
| // BLE MIDI 서비스 고유 UUID | |
| static NimBLEUUID midiServiceUUID("03B80E5A-EDE8-4B33-A751-6CE34EC4C700"); | |
| // BLE MIDI characteristic UUID - used for both TX (device to central) and RX (central to device) | |
| static NimBLEUUID midiCharacteristicUUID("7772E5DB-3868-4112-A1A9-F2669D106BF3"); | |
| // 스캔 후 찾은 장치 포인터 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <Arduino.h> | |
| #include <NimBLEDevice.h> | |
| #include <U8g2lib.h> | |
| // BLE MIDI 서비스 고유 UUID | |
| static BLEUUID midiServiceUUID("03B80E5A-EDE8-4B33-A751-6CE34EC4C700"); | |
| // 스캔 후 찾은 장치 포인터 | |
| BLEAdvertisedDevice* myDevice = nullptr; | |
| bool connected = false; |
Below is a complete, production‑ready blueprint for a browser‑based MMORPG that generates its world progressively (chunk‑by‑chunk) as players explore.
It includes:
- ✅ High‑level design – what components exist and how they talk to each other.
- 🛠️ Technology stack – the exact libraries, runtimes and services you can start coding today.
- 📦 Project layout – a folder‑structure you can copy‑paste.
- 🧩 Core code samples – server, client, networking, procedural map generation, chunk streaming, persistence, combat, and UI.
- 📈 Scalability & security notes – how to grow from 10 players to 10 k+ concurrent users.
- 📚 Next‑step checklist – what to implement after the MVP.
SnapFind is your personal digital assistant for effortlessly cataloging, finding, and managing your physical belongings. Simply snap a photo, add a few details, and let SnapFind's intelligent features help you keep everything organized. All your information is stored securely and privately in your browser's local database.
- Effortless Item Cataloging:
- Quick Add: Easily add new items with a description, where it's stored (location), and an optional image.
- Versatile Image Upload: Add images by selecting files, dragging & dropping, or even pasting directly from your clipboard. Mobile users can choose from their photo gallery or take a new picture on the spot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Today you will be writing instructions to an eager, helpful, but inexperienced and unworldly AI assistant who needs careful instruction and examples to understand how best to behave. I will explain a task to you. You will write instructions that will direct the assistant on how best to accomplish the task consistently, accurately, and correctly. Here are some examples of tasks and instructions. | |
| <Task Instruction Example> | |
| <Task> | |
| Act as a polite customer success agent for Acme Dynamics. Use FAQ to answer questions. | |
| </Task> | |
| <Inputs> | |
| {$FAQ} | |
| {$QUESTION} | |
| </Inputs> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pynetdicom import AE, evt, AllStoragePresentationContexts, debug_logger | |
| from pydicom.uid import generate_uid | |
| debug_logger() | |
| def sendBackToStore(ds): | |
| ae2 = AE(ae_title=b'ORTHANC') | |
| ae2.add_requested_context('1.2.840.10008.5.1.4.1.1.2', ['1.2.840.10008.1.2']) # CT Image Storage - Implicit VR Endian: Default Transfer Syntax for DICOM | |
| ae2.add_requested_context('1.2.840.10008.5.1.4.1.1.7', ['1.2.840.10008.1.2']) # Secondary Capture Image Storage | |
| ae2.add_requested_context('1.2.840.10008.1.1') # Verification SOP Class |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder