Newer bluez is buggy. It makes CPU usage 100% randomly.
5.72
is working fine. Let's keep using it.
sudo pacman -U /var/cache/pacman/pkg/bluez*5.72-2-x86_64.pkg.tar.zst
I need to ignore upgrading bluez until a stable version is released. To do so,
use anyhow::Result; | |
use eventsource_client::{Client, ReconnectOptions, SSE}; | |
use futures::TryStreamExt; | |
use std::time::Duration; | |
const URL: &str = "http://localhost:8000/sse"; | |
#[tokio::main] | |
async fn main() -> Result<()> { | |
let client = eventsource_client::ClientBuilder::for_url(URL)? |
Newer bluez is buggy. It makes CPU usage 100% randomly.
5.72
is working fine. Let's keep using it.
sudo pacman -U /var/cache/pacman/pkg/bluez*5.72-2-x86_64.pkg.tar.zst
I need to ignore upgrading bluez until a stable version is released. To do so,
function handler(event) { | |
var request = event.request | |
var uri = request.uri | |
// Check whether the URI is missing a file name. | |
if (uri.endsWith('/')) { | |
return { | |
statusCode: 301, | |
statusDescription: 'Moved Permanently', | |
headers: { |
.caClientJournalBookSpreadsheetAppRoot { | |
max-height: unset !important; | |
} |
build/plugins: ./packages/plugins/* | |
fnm use v16 | |
for dir in $^ ; do \ | |
bash -c "cd $${dir} && yarn && yarn build" ; \ | |
done |
Here is the best setup (I think so :D) for K-series Keychron keyboards on Linux.
Most of these commands have been tested on Ubuntu 20.04 and should also work on most Debian-based distributions. If a command happens not to work for you, take a look in the comment section.
Keychron Keyboards on Linux use the hid_apple
driver (even in Windows/Android mode), both in Bluetooth and Wired modes.
By default, this driver uses the F-keys as multimedia shortcuts and you have to press Fn
+ the key to get the usual F1 through F12 keys.
quality 85
and interlace -plane
(progressive JPEG)import { Exchange } from 'urql'; | |
import { pipe, tap } from 'wonka'; | |
import { toast } from 'react-hot-toast'; | |
export const errorExchange: Exchange = | |
({ forward }) => | |
(ops$) => | |
pipe( | |
forward(ops$), | |
tap(({ error }) => { |
const { type, t, getExecutableSchema } = '../framework' | |
interface('Node', { | |
id: t('ID!'), | |
}) | |
type('User', implements('Node'), { | |
height: t('Int!'), | |
posts: t('[Post!]!').allowWhere().allowOrder(), | |
}) |
#!/usr/bin/env python3 | |
# You need to run pip install pyudev before run this script | |
import subprocess | |
import pyudev | |
def main(): |