const List = () => {
return useQuery(gql`items(variant: "recent")` { min: 10 })
.map(({ id: idPromise }) => <Item id={idPromise} />)
}
const Item = ({ id: idPromise }) => {
const data = useQuery(gql`node(id: $id)`, { id: idPromise })
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
*://*.stackovernet.com/* | |
*://code.i-harness.com/* | |
*://*.voidcc.com/* | |
*://*.tutorialmore.com/* | |
*://qastack.*/* | |
*://askjapan.me/* | |
*://www.codetd.com/* | |
*://www.it-swarm.dev/* | |
*://stackoverrun.com/* | |
*://www.it-swarm-ja.tech/* |
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
# Generated by debtap | |
# Maintainer: Katsuma | |
# Contributor: Katsuma | |
pkgname=screen-desktop-bin | |
pkgver=1.0.33 | |
pkgrel=1 | |
pkgdesc="Low latency videoconferencing & screen sharing with multiplayer drawing & control. Screen is a multiplayer screen sharing app that lets you work together like you’re in the same room." | |
arch=('x86_64') | |
url="https://screen.so" | |
license=('') |
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
/// <reference types="requestidlecallback-polyfill" /> | |
import React, { createElement, useEffect, useState } from "react" | |
if (typeof window !== "undefined") { | |
require("requestidlecallback-polyfill") | |
} | |
const components = { | |
Test: () => { | |
return <div>Hello!</div> |
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
module TempleRailsAnnotate | |
def call(template, source = nil) | |
opts = {}.update(self.class.options).update(file: template.identifier) | |
result = '' | |
if ActionView::Base.annotate_rendered_view_with_filenames && template.format == :html | |
whatpartial = "(file://#{template.identifier})" | |
result << "@output_buffer.safe_concat('<!-- BEGIN #{template.short_identifier}#{whatpartial} -->');" | |
end | |
result << self.class.compile((source || template.source), opts) | |
if ActionView::Base.annotate_rendered_view_with_filenames && template.format == :html |
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
declare global { | |
interface Window { | |
__openSourceHandlers: { | |
teardown: () => unknown | |
} | null | |
} | |
} | |
if (process.env.NODE_ENV === "development") { | |
;(function () { |
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
owner= | |
repo= | |
gh api repos/{owner}/{repo}/environments\?per_page=100 | | |
jq '.environments[] | select(.name | (contains("production") or contains("preview")) | not) | .node_id' | | |
xargs -n1 -I% sh -c " | |
gh api graphql -F query=' | |
mutation { | |
deleteEnvironment(input: { id: \"%\"}) { | |
clientMutationId |
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
Dec 02 10:04:32 monicle systemd-coredump[29377]: [🡕] Process 29372 (uim-xim) of user 1000 dumped core. | |
Stack trace of thread 29372: | |
#0 0x00007fbf105948b4 XwcTextExtents (libX11.so.6 + 0x5d8b4) | |
#1 0x000055d9974167fe n/a (uim-xim + 0xb7fe) | |
#2 0x000055d997416a0c n/a (uim-xim + 0xba0c) | |
#3 0x000055d997416acb n/a (uim-xim + 0xbacb) | |
#4 0x000055d997416bbd n/a (uim-xim + 0xbbbd) | |
#5 0x00007fbf10685bea n/a (libuim.so.8 + 0xbbea) | |
#6 0x00007fbf106a2674 n/a (libuim-scm.so.0 + 0xd674) |
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
[ 2405.845251] usb 3-9.2: new full-speed USB device number 11 using xhci_hcd | |
[ 2405.949108] usb 3-9.2: New USB device found, idVendor=046d, idProduct=0ab1, bcdDevice= 4.0a | |
[ 2405.949130] usb 3-9.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
[ 2405.949139] usb 3-9.2: Product: Yeti Nano | |
[ 2405.949145] usb 3-9.2: Manufacturer: Blue Microphones | |
[ 2405.949150] usb 3-9.2: SerialNumber: XXXXXXXXXXXXXX | |
[ 2406.047668] input: Blue Microphones Yeti Nano Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.2/3-9.2:1.3/0003:046D:0AB1.000F/input/input45 | |
[ 2406.099300] input: Blue Microphones Yeti Nano as /devices/pci0000:00/0000:00:14.0/usb3/3-9/3-9.2/3-9.2:1.3/0003:046D:0AB1.000F/input/input46 | |
[ 2406.099531] hid-generic 0003:046D:0AB1.000F: input,hiddev99,hidraw7: USB HID v1.11 Device [Blue Microphones Yeti Nano] on usb-0000:00:14.0-9.2/input3 | |
[ 2406.180739] usb 3-9.2: Not enough bandwidth for new device state. |
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
#!/bin/bash | |
ROOT_DIR=$(git rev-parse --show-toplevel) | |
if [ -z "$ROOT_DIR" ]; then | |
echo "Not a git repository" | |
exit 1 | |
fi | |
if [[ "$PWD" == "$ROOT_DIR" ]]; then | |
exit 0 |