jarno / element-minimized.desktop
0 likes
0 forks
1 files
Last active
| 1 | [Desktop Entry] |
| 2 | Type=Application |
| 3 | Name=Element (minimized) |
| 4 | Comment=Start Element miminized |
| 5 | Icon=im.riot.Riot |
| 6 | Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/element --file-forwarding im.riot.Riot --hidden @@u %U @@ |
| 7 | Categories=Network;InstantMessaging;Chat;VideoConference; |
| 8 | MimeType=x-scheme-handler/element; |
| 9 | StartupWMClass=element |
| 10 | Keywords=Matrix;matrix.org;chat;irc;communications;talk;riot;vector; |
jarno / scaling-toggle.sh
0 likes
0 forks
1 files
Last active
| 1 | #!/usr/bin/sh |
| 2 | ## Script to toggle text scaling factor in GNOME between |
| 3 | ## 1.0 and 1.25 |
| 4 | |
| 5 | SCALE=$(dconf read /org/gnome/desktop/interface/text-scaling-factor) |
| 6 | |
| 7 | if [ $SCALE == '1.0' ]; then |
| 8 | SCALE_SWITCH=1.25 |
| 9 | elif [ $SCALE == '1.25' ]; then |
| 10 | SCALE_SWITCH=1.0 |
jarno / k3s StatefulSet template
0 likes
0 forks
5 files
Last active
| 1 | apiVersion: networking.k8s.io/v1 |
| 2 | kind: Ingress |
| 3 | metadata: |
| 4 | name: <NAME> |
| 5 | spec: |
| 6 | ingressClassName: nginx |
| 7 | rules: |
| 8 | - host: example.com |
| 9 | http: |
| 10 | paths: |
jarno / Go slice push to end, keep length
0 likes
0 forks
1 files
Last active
| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | ) |
| 6 | |
| 7 | func main() { |
| 8 | slc := []string{"a", "b", "c", "d", "e", "f", "g", "h"} |
| 9 | itemsToPush := []string{"i", "j", "k", "l"} |
| 10 | fmt.Println(slc) |
jarno / immich.yaml
0 likes
0 forks
1 files
Last active
| 1 | apiVersion: v1 |
| 2 | kind: Pod |
| 3 | metadata: |
| 4 | name: immich |
| 5 | labels: |
| 6 | app: immich |
| 7 | annotations: |
| 8 | spec: |
| 9 | |
| 10 | ## Volume definitions |
jarno / homeassistant.yaml
0 likes
0 forks
1 files
Last active
| 1 | apiVersion: v1 |
| 2 | kind: Pod |
| 3 | metadata: |
| 4 | annotations: |
| 5 | labels: |
| 6 | app: homeassistant |
| 7 | name: homeassistant |
| 8 | spec: |
| 9 | containers: |
| 10 | - name: app |
jarno / Ptyxis/Prompt Homebrew Ocean modified theme
0 likes
0 forks
1 files
Last active
| 1 | [Palette] |
| 2 | Name=J Homebrew Ocean |
| 3 | Background=#224FBC |
| 4 | Foreground=#FFFFFF |
| 5 | Cursor=#FFFFFF |
| 6 | Color0=#000000 |
| 7 | Color1=#F98080 |
| 8 | Color2=#00A600 |
| 9 | Color3=#999900 |
| 10 | Color4=#0000B2 |
jarno / Ptyxis/Prompt C64 Theme
0 likes
0 forks
1 files
Last active
| 1 | [Palette] |
| 2 | Name=J C64 |
| 3 | Background=#00318D |
| 4 | Foreground=#A196D6 |
| 5 | Cursor=#7869C4 |
| 6 | Color0=#090300 |
| 7 | Color1=#B83932 |
| 8 | Color2=#55A049 |
| 9 | Color3=#BFCE72 |
| 10 | Color4=#6161FF |
jarno / PHP array_unshift for Go slice
0 likes
0 forks
1 files
Last active
Push items to start of slice
| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "fmt" |
| 5 | "slices" |
| 6 | ) |
| 7 | |
| 8 | func main() { |
| 9 | slc := []string{"a","b","c","d","e","f","g","h"} |
| 10 | itemsToPush := []string{"d","g"} |
jarno / GNOME mouse settings quick toggle
0 likes
0 forks
1 files
Last active
Quick script to toggle between a profile suitable for trackpoint and a regular mouse in GNOME
| 1 | #!/bin/bash |
| 2 | |
| 3 | speed="-0.5" |
| 4 | |
| 5 | trackp_enabled=$(dconf read /org/gnome/desktop/peripherals/mouse/trackpoint-toggle-on) |
| 6 | #cur_speed=$(dconf read /org/gnome/desktop/peripherals/mouse/speed) |
| 7 | |
| 8 | if [[ "$trackp_enabled" != "'true'" ]]; then |
| 9 | dconf write /org/gnome/desktop/peripherals/mouse/accel-profile "'flat'" |
| 10 | dconf write /org/gnome/desktop/peripherals/mouse/speed $speed |
Newer
Older