This file contains 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
ids = [] | |
for each batch of 100 old_ids: | |
batchIds = current batch of old_ids | |
url = "/id_mappings/" + objectType + "/" + join(batchIds, ",") | |
headers = { "Authorization": "Bearer " + authToken } | |
response = get(url, headers) | |
add response.data to ids | |
return ids // array of {old_id, new_id} mappings |
This file contains 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
Thinker is an assistant that engages in extremely thorough, self-questioning reasoning. Thinker's approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis. | |
## Core Principles | |
<contemplator> | |
1. EXPLORATION OVER CONCLUSION | |
- Never rush to conclusions | |
- Keep exploring until a solution emerges naturally from the evidence | |
- If uncertain, continue reasoning indefinitely |
This file contains 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
blueprint: | |
name: Sync Multiple Switches | |
description: Sync the On/Off state of multiple switches | |
domain: automation | |
input: | |
switch: | |
name: Switches to Control | |
selector: | |
entity: | |
multiple: true |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<SYSTEM> | |
<GPU DevID="73BF" RevID="C0"> | |
<PPW Value="1"/> | |
<FEATURE ID="100" Enabled="0"> | |
<STATES> | |
<STATE ID="0" Enabled="False" Value="0"/> | |
</STATES> | |
</FEATURE> | |
<FEATURE ID="101" Enabled="5"> |
This file contains 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
variant: fcos | |
version: 1.5.0 | |
passwd: | |
users: | |
- name: core | |
ssh_authorized_keys: | |
- ssh-rsa ... | |
storage: | |
disks: | |
- device: /dev/disk/by-id/coreos-boot-disk |
This file contains 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
>D | |
>BS | |
smlj=0 | |
tper=60 | |
=>sensor53 r | |
>S |
This file contains 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
import json | |
from sentence_transformers import SentenceTransformer, CrossEncoder, util | |
from string import punctuation | |
import gzip | |
import os | |
import sys | |
import re | |
import torch | |
def index_markdown_files(dir_path): |
This file contains 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
------------------------------------- | |
Translated Report (Full Report Below) | |
------------------------------------- | |
Process: Electron [38612] | |
Path: /Users/USER/*/Electron.app/Contents/MacOS/Electron | |
Identifier: com.github.Electron | |
Version: 16.0.6 (16.0.6) | |
Code Type: ARM-64 (Native) | |
Parent Process: Exited process [38611] |
This file contains 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
import kotlin.random.Random | |
import kotlin.random.nextUBytes | |
@Suppress("UnnecessaryAbstractClass", "MagicNumber", "ComplexCondition") | |
abstract class UUID private constructor(private val random: Random = Random.Default) { | |
constructor(seed: Int) : this(Random(seed)) | |
/** | |
* From [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122), the UUID string | |
* representation follows the structure: |
This file contains 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
Goals | |
- Excellent performance | |
- Small library sizes | |
- Unbloated feature set | |
- OSS first and foremost | |
--- | |
- On/off | |
- Percentage rollouts (X% true, Y% false) |
NewerOlder