sudo nmcli connection import type openvpn file vpnfile.ovpn
sudo nmcli connection modify "${vpnname}" +vpn.data username="${myname}"
#!/bin/sh | |
# __ _ | |
# / _| ___ _ __ (_)_ __ | |
# | |_ / _ \ '_ \| \ \/ / | |
# | _| __/ | | | |> < | |
# |_| \___|_| |_|_/_/\_\ | |
# | |
# | |
# Make firefox real mobile, find all the info here: | |
# https://forums.puri.sm/t/mobile-friendly-firefox-customizations-for-librem-5/20313/61 |
--- | |
outlines: | |
default: { width: 35.33, height: 43 } | |
action: { width: 59, height: 43 } | |
altline: { width: 52.67, height: 43 } | |
wide: { width: 59, height: 43 } | |
spaceline: { width: 140, height: 43 } | |
special: { width: 44, height: 43 } | |
small: { width: 59, height: 32 } |
you can modify the keyboard by yourself, following will just add tab key to first page
mkdir -p ~/.local/share/squeekboard/keyboards/terminal/
cd ~/.local/share/squeekboard/keyboards/terminal/
wget https://gist.githubusercontent.com/magdesign/33aa088987d0df044eb75e5a263ca76d/raw/e06dd7535f90037c4c93e91ecf0e6e39afd78611/us.yaml
if you need umlauts use:
[ColorEffects:Disabled] | |
ChangeSelectionColor= | |
Color=56,56,56 | |
ColorAmount=0 | |
ColorEffect=0 | |
ContrastAmount=0.65 | |
ContrastEffect=1 | |
Enable= | |
IntensityAmount=0.1 | |
IntensityEffect=2 |
[ | |
{ | |
"type": "event", | |
"event_name": "power_pressed", | |
"transitions": [ | |
{ | |
"type": "delay", | |
"delay_duration": 400000000, | |
"transitions": [ | |
{ |
GNU nano 7.2 .config/sxmo/hooks/sxmo_hook_battery.sh | |
#!/bin/sh | |
# configversion: d7a31b6b01150a2b1ad3e57f556a5de6 | |
load_data() { | |
data="$(upower -i "$1" | grep . | sed -e 's|^ \+||' -e 's|: \+|:|')" | |
type="$(printf "%b" "$data" | grep -m1 -v : | sed -e 's|^ \+||')" | |
} | |
data_get() { |
~/Downloads/kdeltachat $ cmake -B build . | |
Installing in /usr/local. Run /home/me/Downloads/kdeltachat/build/prefix.sh to set the environment for kdeltachat. | |
CMake Error at /usr/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:2535 (message): | |
qt_generate_foreign_qml_types() is only available in Qt 6. | |
Call Stack (most recent call first): | |
/usr/lib/cmake/Qt6Qml/Qt6QmlConfig.cmake:132 (include) | |
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) | |
/usr/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:111 (find_dependency) | |
/usr/lib/cmake/Qt6Quick/Qt6QuickDependencies.cmake:39 (_qt_internal_find_qt_dependencies) | |
/usr/lib/cmake/Qt6Quick/Qt6QuickConfig.cmake:50 (include) |
$ npm run dist | |
> [email protected] dist | |
> npm run build && python setup.py build && electron-builder --publish=never | |
> [email protected] build | |
> vite build | |
The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. |
$ uv run ollama_dl.py llama3.2 | |
[10/03/24 23:56:50] INFO Downloading to: | |
library-llama3.2 | |
[10/03/24 23:56:51] INFO Already have | |
library-llama3.2/params-56b | |
b8bd477a5.json | |
INFO Already have | |
library-llama3.2/template-9 | |
66de95ca8a6.txt | |
INFO Already have |