I hereby claim:
- I am 0x77dev on github.
- I am 0x77dev (https://keybase.io/0x77dev) on keybase.
- I have a public key ASDmXFOPpPxMxpDwq5E7js6vDsZ3WEhy2BaNs2QnmiCAUQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| import Fastify from "fastify"; | |
| import mercurius, { IResolvers, MercuriusContext } from "mercurius" | |
| const example = Fastify() | |
| const schema = ` | |
| extend type Query { | |
| test: Boolean! | |
| } | |
| type TestEvent{ |
I hereby claim:
To claim this, I am signing this object:
| import asyncio | |
| from bleak import BleakScanner, BleakClient | |
| async def main(): | |
| devices = await BleakScanner.discover(service_uuids=["FEA6"]) | |
| print(devices) | |
| device = devices[0] | |
| if not device: | |
| print("No device found") | |
| exit(-1) |
| https://twitter.com/linaasahi/status/1586575362225369088 | |
| @asahilina tweeted: | |
| ``` | |
| Hi everyone! I'm looking at per-device GPU data, and I want to collect examples! | |
| Can you help out by running this command from macOS? ✨ | |
| ioreg -l|egrep 'gpu-core-count|AGXParameterBufferMax|GPUConfiguration|shared-region-base|class IOPlatformExpertDevice|perf-states|OS Build' | |
| ``` |
| #!/usr/bin/env bun | |
| import { createReadStream, createWriteStream, stat } from 'fs' | |
| import { basename } from 'path' | |
| import { Transform } from 'stream' | |
| import { promisify } from 'util' | |
| const MAX_SIZE = 100 * 1024 * 1024 // 100MB | |
| const splitFile = async (filePath: string): Promise<void> => { |
I got an issue installing Nix on latest macOS 15.0 (Sequioa), looks like 3xx uids are reserved by some new built-in users.
This should fix your issue: NIX_FIRST_BUILD_UID=600
| #!/bin/bash | |
| RED='\033[1;31m' | |
| GRN='\033[1;32m' | |
| BLU='\033[1;34m' | |
| YEL='\033[1;33m' | |
| PUR='\033[1;35m' | |
| CYAN='\033[1;36m' | |
| NC='\033[0m' | |
| echo -e "${CYAN}*-------------------*---------------------*${NC}" |