I hereby claim:
- I am talentlessguy on github.
- I am v1rtl (https://keybase.io/v1rtl) on keybase.
- I have a public key ASCF80TAiuLcWpzKYrt5DESQZsbSBSMBzd28bd9HGHD2hAo
To claim this, I am signing this object:
DefinitionBlock ("", "SSDT", 1, "CUSTOM", "CSC3551", 0x00000001) | |
{ | |
External (_SB_.PC00.SPI0, DeviceObj) | |
External (_SB_.PC00.SPI0.SPK1, DeviceObj) | |
Scope (_SB.PC00.SPI0) | |
{ | |
Name (_DSD, Package () | |
{ | |
ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"), |
I hereby claim:
To claim this, I am signing this object:
did:3:kjzl6cwe1jw14b7ju7sn3393fgw8m02wqlhxh8hfvoee5qch7y3hjsl7m9ddjyh |
# https://inf-ege.sdamgia.ru/problem?id=27423 | |
f = open("26.txt") | |
lines = f.readlines() | |
[S, N] = list(map(int, lines[0].split(" "))) | |
files = list(map(int, lines[1:])) |
Page.getInitialProps = async ({ query }) => { | |
try { | |
const res = await fetch(`https://og-service.herokuapp.com/?link=${query}`) | |
const json = await res.json() | |
return { json } | |
catch (e) { | |
return { error: e } | |
} |
import { OutlineEffect } from 'postprocessing' | |
import { forwardRef, useMemo, useImperativeHandle } from 'react' | |
import { useThree } from 'react-three-fiber' | |
const Outline = forwardRef((props: OutlineEffect, ref) => { | |
const { scene, camera } = useThree() | |
const effect = useMemo(() => new OutlineEffect(scene, camera, props), [props]) | |
useImperativeHandle(ref, () => effect, [effect]) | |
return null |
-- example KVdb script | |
-- HTML output | |
kvdb.header["content-type"] = "text/html" | |
-- read HTTP form variable and set key | |
if kvdb.var.slug then | |
local count = kvdb.get(kvdb.var.slug) | |
local action = kvdb.var.action | |
echo Deploying to $SSH_SERVER by $SSH_USER... | |
rsync -r --delete -v -e ssh (pwd)/dist/* $SSH_USER@$SSH_SERVER:/home/$SSH_USER/www/ |
import React, { Suspense, useContext, useEffect, useState } from 'react' | |
import dynamic from 'next/dynamic' | |
import { useFrame, Canvas, Dom } from 'react-three-fiber' | |
import { useRef } from 'react' | |
import * as THREE from 'three' | |
import Text from './Text' | |
import { ColorContext } from '../lib/context' | |
const Controls = dynamic(() => import('./Controls'), { | |
ssr: false |