name: xq description: "Structured data reliability — prefer jq/yq over Read/Edit/Write for JSON, JSONL, YAML, TOML, CSV, TSV, and XML operations. Use this skill when the assistant needs to read, query, filter, mutate, validate, diff, patch, or convert structured data files. Triggers on: any mention of json, jsonl, ndjson, yaml, yml, toml, csv, tsv, xml, config file, manifest, schema, validate json, lint json, lint yaml, patch json, structured data, format conversion, serialize, deserialize, parse json, parse yaml, parse toml, parse csv, parse xml, jq, yq, config mutation, update json, update yaml, modify config, edit json, edit yaml, edit toml, json schema, yaml schema, merge json, merge yaml, diff json, diff yaml, json patch, jsonpatch, RFC 6902, format convert, json to yaml, yaml to json, toml to json, json to toml, csv to json, xml to json, jsonl to json. Also triggers on: 'how do I change this json', 'update the config', 'modify the manifest', 'fix this yaml', 'validate this file', 'check json syntax'
Download Microsoft Teams meeting transcripts to your laptop using the Microsoft Graph API and device-code authentication.
This walkthrough takes you from nothing to a downloaded transcript file. You will register an Azure app, authenticate once, and run the script. Do this in order.
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
| # Import required libraries again after the environment reset | |
| from PIL import Image | |
| import qrcode | |
| qr_data = "https://my-site.com" | |
| new_logo_path = "~/Projects/qr/logo.png" | |
| new_qr_image_path = "~/Projects/qr/qr_code_with_logo.png" | |
| logo_size = 80 # Adjust the size if necessary | |
| # Load the new logo image |
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
| r_DisplayInfo = 3 | |
| ; ————————————————————————————————————————————— | |
| ; Custom USER.cfg – This is a command in needed to Unlock the Console to accept Commands | |
| Con_Restricted = 0 | |
| ; This Setting reduces some of the aggressive Bloom Effects that 2.5 has, recommended set to 0 for less blinding lights. | |
| r_OpticsBloom = 0 | |
| ; This Setting basically sets the basis for your config (1-4) 1 is Low but best performance & 4 is Very High Graphics but most intensive. It sets loads of settings & it’s important it’s at the top of the .cfg so that anything below it overwrites parts of it, 3 gives great quality and performance. | |
| sys_spec = 1 | |
| ; Remove Maxfps to have a less stable max framerate (but it will be at it’s highest), I suggest setting at an achievable level, slower PCs go for 30, Fast PCs set at your monitors Refresh rate. If unsure delete the line it. | |
| sys_maxfps = 60 |
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
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
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
| # Statsd Server | |
| [[inputs.statsd]] | |
| ## Address and port to host UDP listener on | |
| service_address = "127.0.0.1:8126" | |
| ## The following configuration options control when telegraf clears it's cache | |
| ## of previous values. If set to false, then telegraf will only clear it's | |
| ## cache when the daemon is restarted. | |
| ## Reset gauges every interval (default=true) | |
| delete_gauges = true |
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
| """ | |
| Aurora Scheduler check | |
| Collects metrics from aurora scheduler. | |
| """ | |
| import requests | |
| from checks import AgentCheck, CheckException | |
| class AuroraCheck(AgentCheck): |
brew install gcc48
../configure CXX=g++-4.8 CC=gcc-4.8 PYTHON=/usr/local/bin/pythonNewerOlder
