This gist will guide you through to setup starship along with zsh suggestions and zsh syntax highlight for your codespaces.
#!/bin/bash | |
# Load balance multiple internet connections. Requires iproute2, awk and grep. | |
# (C) 2016 Tobias Girstmair, isticktoit.net, GPLv2 | |
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 )) | |
# Not much user error checking is done - only pass working network connections | |
# script needs root to work and at least two interfaces to be useful | |
[ $EUID -eq 0 -a $# -ge 2 ] || { | |
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2 |
@echo off | |
cls | |
for %%i in (*.vob) do ffmpeg -i %%i -vcodec h264 -s 720x576 -vf yadif -sn -map 0:m:language:rus "%%~ni.mpg" | |
ffmpeg -i concat:"VTS_01_1.mpg|VTS_01_2.mpg|VTS_01_3.mpg|VTS_01_4.mpg|VTS_01_5.mpg|VTS_01_6.mpg|VTS_01_7.mpg|VTS_01_8.mpg" -c copy output.mpg | |
ffmpeg -i output.mpg -qscale:v 0 film.mp4 | |
mkdir result_dir | |
move *.mp4 result_dir | |
erase *.mpg |
The steps below requires that you have followed the installation steps for installing K3s on RPIs.
NOTE: The following files can be found in the following repository.
Installation steps for K3s dashboard. On master node, create a folder called dashboard:
{ config, pkgs, ... }: | |
{ | |
imports = | |
[ # Include the results of the hardware scan. | |
./hardware-configuration.nix | |
]; | |
# Use the systemd-boot EFI boot loader. | |
boot.loader.systemd-boot.enable = true; |
Source: https://wiki.archlinux.org/title/Visual_Studio_Code#Blurry_text_under_Wayland
Due to Electron issues Visual Studio Code defaults to run under XWayland which may cause blurry text if you're using HiDPI screens.
In order to fix this issue you need to force Electron to run under Wayland by adding --enable-features=UseOzonePlatform --ozone-platform=wayland
, for example you'll be launching VSCode like
$ code --enable-features=UseOzonePlatform --ozone-platform=wayland
This fix can be made permanent by creating a .desktop
file or by directly editing /usr/share/applications/visual-studio-code.desktop
You have 2 options, use the script descrived bellow or follow the instrutions
script in this gist if you want the source code
wget https://gist.githubusercontent.com/Vertecedoc4545/6e54487f07a1888b656b656c0cdd9764/raw/2c5e8ccb428fc331307e2f653cab88174c051310/build-ubuntu-23.sh
chmod +x build-ubuntu-23.sh
./build-ubuntu-23.sh
htmx.defineExtension("hx-astro-view-transition", { | |
onEvent: function (name, evt: any) { | |
if (name === "htmx:afterRequest") { | |
const attributes = evt.target.attributes; | |
const viewTransitionTarget = | |
attributes["hx-view-transition"]?.value; | |
if (!viewTransitionTarget) { | |
console.log(evt); | |
return; | |
} |