adds draft page and posts (pixel, disksize vm, libretranslate)
This commit is contained in:
parent
859600ae93
commit
0c6db1064a
3 changed files with 155 additions and 0 deletions
50
content/notes/google-pixel/index.md
Normal file
50
content/notes/google-pixel/index.md
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
title: Google Pixel
|
||||
date: 2024-12-01T16:47:49+0100
|
||||
lastmod: 2024-12-07T09:52:28+0000
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
#showDate: false
|
||||
showReadingTime: false
|
||||
showWordCount: false
|
||||
showPagination: false
|
||||
#showAuthor: false
|
||||
showBreadcrumbs: true
|
||||
|
||||
feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
draft: true
|
||||
---
|
||||
|
||||
Howdy, thanks for stopping by.
|
||||
|
||||
## A quick note, not sure where to file that for now...
|
||||
|
||||
> Thanks for sharing your experience using GrapheneOS like a normie would use a
|
||||
> Pixel (or any Android phone). The comparison is interesting. Where did you find
|
||||
> Device Health Services ? I wasn't able to find it on my device. While I
|
||||
> understand the point of testing usability with popular proprietary services it
|
||||
> would be nice having your thought on some open source alternatives. I would
|
||||
> suggest you to run these for maybe a week and write an update on this setup
|
||||
> with more privacy in mind using them and seeing the impact on usability.
|
||||
>
|
||||
> GBoard -> OpenBoard (or FlorisBoard but in beta)
|
||||
> Messages -> QKSMS (or Simple SMS Messenger or GOS stock app)
|
||||
> Phone -> Koler (or Simple Dialer or GOS stock app)
|
||||
> Clock -> Stock GOS app (or Simple Clock)
|
||||
> Contacts -> Simple Contacts (or stock GOS app or Connect You)
|
||||
> Files -> Stock GOS Files (or Material Files or Simple File Manager)
|
||||
> Photos -> Simple Gallery (or Aves)
|
||||
> GMail -> Honestly idk what to recommend, a GMail account on FairEmail or K-9 (soon Thunderbird Mobile) or a complete alternative such as Proton Mail or TutaNota
|
||||
> Camera -> Stock GOS Camera (everyone knows you won't get as good results compared to the Google Camera)
|
||||
>
|
||||
> There is plenty more open source alternatives but I wrote the "big names"
|
||||
> because most people will use these and not another app with 80 stars on GitHub
|
||||
> (even there is great "competitor")
|
||||
|
||||
Found [on reddit](https://www.reddit.com/r/GrapheneOS/comments/12wzowt/comment/jhhtpw7/)
|
||||
|
||||
This is basically my journey from iPhone 14 Pro(iOS) to Pixel 9 Pro (GrapheneOS).
|
||||
Sounds like a plan.
|
40
content/posts/2024/72-increase-disksize-of-a-vm/index.md
Normal file
40
content/posts/2024/72-increase-disksize-of-a-vm/index.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
title: 72 increase disksize of a vm
|
||||
summary:
|
||||
date: 2024-12-05T22:11:24+01:00
|
||||
lastmod: 2024-12-07T09:52:28+0000
|
||||
categories:
|
||||
- amateur-radio
|
||||
- computerstuff
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
# some help
|
||||
#
|
||||
# highlighting with highlights
|
||||
#
|
||||
# use table, as inline creates a padding around
|
||||
# and it pushes the text more to the right side (end of screen)
|
||||
#
|
||||
# ~~~html {linenos=table,hl_lines="3-6"}
|
||||
# ~~~html {linenos=inline,hl_lines="1,3-6"}
|
||||
|
||||
draft: true
|
||||
---
|
||||
|
||||
- shutdown VM
|
||||
- `qemu-img info -f raw vdisk1.img`
|
||||
- `qemu-img resize -f raw vdisk1.img +40G`
|
||||
- start Vm and login in terminal
|
||||
- `sudo parted /dev/vda resizepart 2 100%`
|
||||
- `sudo btrfs filesystem resize max /`
|
||||
- reboot
|
65
content/posts/2024/73-install-libretranslate/index.md
Normal file
65
content/posts/2024/73-install-libretranslate/index.md
Normal file
|
@ -0,0 +1,65 @@
|
|||
---
|
||||
title: 73 install libretranslate
|
||||
summary:
|
||||
date: 2024-12-07T07:22:28+01:00
|
||||
lastmod: 2024-12-07T09:52:28+0000
|
||||
categories:
|
||||
- amateur-radio
|
||||
- computerstuff
|
||||
tags:
|
||||
- draft_post
|
||||
|
||||
# showBreadcrumbs: true
|
||||
# showDate: false
|
||||
# showReadingTime: false
|
||||
# showWordCount: false
|
||||
# showPagination: false
|
||||
|
||||
# feed_exclude: true
|
||||
# site_exclude: true
|
||||
|
||||
# some help
|
||||
#
|
||||
# highlighting with highlights
|
||||
#
|
||||
# use table, as inline creates a padding around
|
||||
# and it pushes the text more to the right side (end of screen)
|
||||
#
|
||||
# ~~~html {linenos=table,hl_lines="3-6"}
|
||||
# ~~~html {linenos=inline,hl_lines="1,3-6"}
|
||||
|
||||
draft: true
|
||||
---
|
||||
|
||||
upgraded VM to 4 cores and 8GB RAM
|
||||
|
||||
(also had to increase /tmp folder for pip installation of libretranslate:
|
||||
|
||||
tmpfs /tmp tmpfs size=6G,nr_inodes=10k 0 0)
|
||||
|
||||
sudo useradd --create-home --home-dir /var/lib/libretranslate libretranslate
|
||||
|
||||
paru -S python-libretranslate-git cmake
|
||||
|
||||
sudo su - libretranslate
|
||||
|
||||
python -m venv venv
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
pip3 install --prefer-binary libretranslate
|
||||
|
||||
argospm update
|
||||
|
||||
for lang in $(argospm search | grep -E "^translate-.._en.*"| awk '{ print $2 }' | xargs); do echo argospm install translate-${lang}\_en; done
|
||||
|
||||
(remove echo from command to finally execute; the command shows a list of install commands)
|
||||
|
||||
now edit mastodon conf to use libretranslate
|
||||
|
||||
cd /var/lib/mastodon
|
||||
|
||||
add to .env.production
|
||||
|
||||
ALLOWED_PRIVATE_ADDRESSES=127.0.0.1
|
||||
LIBRE_TRANSLATE_ENDPOINT=http://127.0.0.1:5000
|
Loading…
Reference in a new issue