So a new 802.11ax Mediatek mt7621u USB Wifi device initially didn't work.
It required blacklisting the btusb kernel module to get it to work as a Wifi device.
So a new 802.11ax Mediatek mt7621u USB Wifi device initially didn't work.
It required blacklisting the btusb kernel module to get it to work as a Wifi device.
whisper-ctranslate2 --language en --model large-v3 \ | |
--output_dir /tmp/transcript --output_format all \ | |
--device cuda --compute_type float16 \ | |
--beam_size 10 --patience 2 --vad_filter True \ | |
--word_timestamps True --hallucination_silence_threshold 0.1 \ | |
transcript.wav |
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
xfsettingsd --replace
... or if you want to run it in foreground in terminal XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
https://github.com/opensearch-project/opensearch-py/blob/main/guides/connection_classes.md
connection_class = Urllib3HttpConnection
pool_class: Any = urllib3.HTTPConnectionPool
self._urllib3_pool_factory = lambda: pool_class(
self.hostname, port=self.port, timeout=self.timeout, **kw
)
self.pool = self._urllib3_pool_factory()
response = self.pool.urlopen(
package io.mikael | |
import java.time.LocalDate | |
object SystemProperties { | |
operator fun get(key: String): String? = System.getProperty(key) | |
fun get(key: String, default: String): String = get(key) ?: default | |
import pandas as pd | |
df = ... | |
df.to_parquet("foobar.parquet.zst", compression='zstd', compression_level=22) |
internal inline fun <reified T : Any> T.getClassLogger() : java.util.logging.Logger | |
= java.util.logging.Logger.getLogger(T::class.java.name) |
xrandr --output eDP --auto | |
xrandr --output HDMI-A-0 --auto |
#!/bin/bash | |
export QT_AUTO_SCREEN_SCALE_FACTOR=1 | |
export QT_SCREEN_SCALE_FACTORS=2 | |
/usr/bin/synclient TapButton3=2 & |