uniq -f (ignore first n fields – or with rev last n fields)
#find web access log files in backups – only take one from each date – put them together in date order in one file #!/bin/bash FOO=`find /backups/*/a/var/log/nginx -name “access.log*” -ls|cut -b 60-|sort -k 1 -k 2 -k 3|rev|uniq -f 1|rev|awk ‘{ print $4 }’` for file in `ls -rt $FOO`; Read more
lineageOS 20.0 TheMuppets blueline roomservice.xml
.repo/local_manifests/roomservice.xml <?xml version=”1.0″ encoding=”UTF-8″?> <manifest> <project path=”device/google/blueline” remote=”github” name=”LineageOS/android _device_google_blueline” revision=”lineage-20″ /> <project path=”device/google/crosshatch” remote=”github” name=”LineageOS/andro id_device_google_crosshatch” revision=”lineage-20″ /> <project path=”kernel/google/msm-4.9″ remote=”github” name=”LineageOS/android_ kernel_google_msm-4.9″ revision=”lineage-20″ /> <project path=”packages/apps/ElmyraService” remote=”github” name=”LineageOS/an droid_packages_apps_ElmyraService” revision=”lineage-20.0″ /> <project name=”TheMuppets/proprietary_vendor_google_blueline” path=”vendor/goo gle/blueline” remote=”github” revision=”lineage-20″ /> <remote name=”gitlab” fetch=”https://gitlab.com” /> <project name=”the-muppets/proprietary_vendor_firmware” path=”vendor/firmware” remote=”gitlab” revision=”lineage-20″ depth=”1″ Read more
dynamic/live search box with php, javascript, mysql
I went through a bunch of iterations with this a couple years ago and didn’t get it working. This is the second one I tried recently and was able to get what I wanted for hyperlinked results. https://www.codingcage.com/2016/12/autocomplete-search-with-href-link-php.html code blobs for posterity: database: — — Database: `codingcage` — — ——————————————————– Read more
nominatim php-intl error message Class Transliterator not found code 0
ubuntu package management decided I didn’t need the current version of php-intl which was running in apache so nominatim fell on it’s face with this error message “error” “message” => Class “Transliterator” not found “code” => 0)) I found the current version of php running in apache with this (put Read more
Ubuntu apt spam
Is the recent ubuntu apt spam getting you down – just move or remove /etc/apt/apt.conf.d/20apt-esm-hook.conf and apt goes back to doing it’s job without spam. Updates to ubuntu-advantage-tools will restore it… so for a longer term solution check out: https://askubuntu.com/questions/1371014/what-is-ubuntu-advantage-doing-on-my-fully-supported-20-04-box-what-is-it-che
control of domain(s) associated with nextcloud snap
associate domain names with your nextcloud snap $ nextcloud.occ config:system:set trusted_domains 1 \ –value=nextcloud.foo.bar $ nextcloud.occ config:system:set trusted_domains 2 \ –value=192.168.1.11 and then get new certs from letsencrypt $ nextcloud.enable-https lets-encrypt from: https://medium.com/@dbclin/administrating-nextcloud-as-a-snap-4eb43ca6d095
android games without ads or in-app-purchases
solitaire https://play.google.com/store/apps/details?id=com.IskoGames.SolitaireCardGames&hl=en&gl=us $0 https://play.google.com/store/apps/details?id=com.brasskeysoftware.yukongold&hl=en&gl=us $1.99 tetris https://play.google.com/store/apps/details?id=com.voriacorporation.tetris&hl=en&gl=us $0 https://play.google.com/store/apps/details?id=woodblock.puzzle.brick.tetris&hl=en&gl=us $0 Also some games on f-droid like 2048
copy of https://arkienet.com/2018/01/google-fi-dialer-codes/ for posterity Google Fi Dialer Codes January 9, 2018 arkieguy 1 Comment Here are a list of dialer codes that can be used with Google Fi. These codes shouldn’t be used unless you are aware that they may impact the way your Fi phone switches between carriers. Read more
install lineageOS on blueline (pixel 3)
copy of https://lineageosroms.com/blueline/ for posterity Install LineageOS on blueline Basic requirements Important: Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps! Make sure your computer has adb and fastboot. Setup instructions can be found here. Enable Read more