- Writing async runtime agnostic code is too hard and confusing rust-lang/wg-async#45 tokio is the standard then what's the point of async-std and other runtimes if 90% of crates use tokio?
- Rust projects take a lot of space rust-lang/rust#66348
- Linking with lld is not default and build times can be very slow rust-lang/rust#71520
- Choosing the right http client library or http server library is hard considering there are 10 different crates for the job and most of them are using different async runtime. How can you be sure that the crate you choose will still be supported 3 years from now?
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
// ==UserScript== | |
// @name Stream Quality Override | |
// @namespace Douyin | |
// @version 1.0 | |
// @description Maintains high quality stream URLs | |
// @match https://live.douyin.com/* | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
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 {NextRequest, NextResponse} from 'next/server'; | |
import jwt_decode, {JwtPayload} from 'jwt-decode'; | |
import {isTokenValid} from '@kinde-oss/kinde-auth-nextjs'; | |
import {removeTrailingSlash} from "next/dist/shared/lib/router/utils/remove-trailing-slash"; | |
const KINDE_SITE_URL = removeTrailingSlash(process.env.KINDE_SITE_URL as string); | |
interface Options { | |
isReturnToCurrentPage?: boolean; |
This file has been truncated, but you can view the full file.
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
openapi: 3.0.0 | |
servers: | |
- url: https://api.allegro.pl | |
variables: | |
environment: | |
default: allegro.pl | |
enum: | |
- allegro.pl # Production server | |
- allegro.pl.allegrosandbox.pl # Sandbox server |
- https://github.com/tannerlinsley/react-query (protocol/backend agnostic, it's not really tied strictly to GraphQL, can use it with graphql-code-generator)
- https://github.com/gqless/gqless (code generator + client, allows you to use gql without writing gql queries)
- https://github.com/FormidableLabs/urql (just a client, common opinion: better apollo alternative?, can use it with zeus or graphql-code-generator)
https://github.com/graphql-editor/graphql-zeus (code generator, generate client and/or ts typings you can convert to gql query strings)
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
ABDetector | |
Events | |
RegisterActionButton | |
RegisterAB | |
UnregisterEvent | |
AND | |
ActionButton | |
RegisterActionButton2 | |
RegisterAB2 | |
UnregisterEvent2 |
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
https://www.pcgamingwiki.com/wiki/Glossary:Refresh_Rate_(Hz)#DirectX_registry_override |
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
colors: { | |
white:"#ffffff", | |
black:"#000000", | |
gray:{"50":"#f8f9fa","100":"#f1f3f5","200":"#e9ecef","300":"#dee2e6","400":"#ced4da","500":"#adb5bd","600":"#868e96","700":"#495057","800":"#343a40","900":"#212529"}, | |
red:{"50":"#fff5f5","100":"#ffe3e3","200":"#ffc9c9","300":"#ffa8a8","400":"#ff8787","500":"#ff6b6b","600":"#fa5252","700":"#f03e3e","800":"#e03131","900":"#c92a2a"}, | |
pink:{"50":"#fff0f6","100":"#ffdeeb","200":"#fcc2d7","300":"#faa2c1","400":"#f783ac","500":"#f06595","600":"#e64980","700":"#d6336c","800":"#c2255c","900":"#a61e4d"}, | |
grape:{"50":"#f8f0fc","100":"#f3d9fa","200":"#eebefa","300":"#e599f7","400":"#da77f2","500":"#cc5de8","600":"#be4bdb","700":"#ae3ec9","800":"#9c36b5","900":"#862e9c"}, | |
violet:{"50":"#f3f0ff","100":"#e5dbff","200":"#d0bfff","300":"#b197fc","400":"#9775fa","500":"#845ef7","600":"#7950f2","700":"#7048e8","800":"#6741d9","900":"#5f3dc4"}, | |
indigo:{"50":"#edf2ff","100":"#dbe4ff","200":"#bac8ff","300":"#91a7ff","400":"#748ffc","500":"# |
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
reg add "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Debug Print Filter" /V DEFAULT /t REG_DWORD /d 0xf |
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
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using System.Net.WebSockets; | |
using Websocket.Client; | |
using Newtonsoft.Json; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
namespace SpotifyPlayerState |
NewerOlder