Skip to main content
GrN.dk

Main navigation

  • Articles
  • Contact
  • Your Digital Project Manager
  • About Greg Nowak
  • Services
  • Portfolio
  • Container
    • Excel Freelancer
    • Kubuntu - tips and tricks
    • Linux Apache MySQL and PHP
    • News
    • Image Gallery
User account menu
  • Log in

Breadcrumb

  1. Home

Articles

Remove whoopsie-upload

sudo systemctl stop apport
sudo systemctl stop whoopsie 
sudo systemctl disable apport
sudo systemctl disable whoopsie
sudo aptitude purge apport whoopsie

Source: https://askubuntu.com/questions/1245078/woopsie-upload-all-process-cons…

SystemD Notes Tips and Tricks

A nice little guide: https://tecadmin.net/run-shell-script-as-systemd-service/

Linux Browser Tweaks

In firefox I have enabled a couple of tweaks described here for hardware acceleration: https://askubuntu.com/questions/1216192/why-is-kubuntu-using-much-more-…

 

Maybe more info here: https://itectec.com/ubuntu/ubuntu-why-is-kubuntu-using-much-more-cpu-th…

KDE contextual menu shortcut (mouse right click wannabe)

Use "xdotool key Menu" in a global shortcut. That's it!

Source: https://askubuntu.com/a/1008343/1016583

Android Flutter Notes

Currently running flutter in ubuntu 20.04.

Flutter cli doc: https://flutter.dev/docs/reference/flutter-cli

Flutter pub doc: https://dart.dev/tools/pub/cmd

KVM installation: sudo apt install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virtinst virt-manager
Old info: sudo apt install qemu qemu-kvm virt-manager (Remember to enable VT Virtualization in the Bios) - run: sudo kvm-ok (to check)

Handling Multibyte Characters And Strings In R Project

If you encounter this problem when reading csv-files, you might want to try to change the encoding from UTF-8 to latin1. This worked for me when using the tolower function in R.

Pretty nice solution here with gsub (https://stackoverflow.com/questions/38828620/how-to-remove-strange-char…):

Nano Text Editor

The text editor "nano" is an easy to use editor for linux etc.

Here are som great options to add:

File: ~/.nanorc

Content:

set linenumbers
set softwrap
set tabsize 4

Nagios

Installation on Ubuntu 20.04

If you are running with Apache you can install from dpkg. If not, then it's probably better to install from source.

VPS Setup Notes

Standard packages: aptitude nano git zip software-properties-common

sudo aptitude update; sudo aptitude dist-upgrade

Web packages old sites: apache2 php5 libapache2-mod-php5 php5-cli php5-mysql php5-gd libphp-pclzip mysql-client mysql-server phpmyadmin libsasl2-modules libsasl2-modules-sql libsasl2-2 sasl2-bin libpam-mysql libfcgi-dev phpmyadmin unzip libxml2 

sudo a2enmod rewrite

Bootable ISO Without Burning Anything

In the old days we all had CD-drives, but most modern computers these days don't have an optical drive. This makes things even more efficient, because you need to think smart. Some people choose to have an external optical drive, but why all the hassle when you can have a bootable USB or a bootable partition on your harddrive. There ar many guides on the internet, how to get that done manually. Again, why the hasse when we have UNetbootin, the perfect software for booting your favorite ISO's from your harddrive!

HTTRACK and wayback machine

https://www.httrack.com/

https://gist.github.com/adliwahid/8256ab77cf585a249c215e8f831efbd4

https://superuser.com/questions/532036/trouble-using-wget-or-httrack-to…

Cycling Routes

Thailand

Lek & Greg Vegan Camp Li Lamphun

  • Lamphun to Lek and Greg Vegan Camp (Nature route).

    • Strava: https://www.strava.com/routes/15627009

  • Secret Climb Lek & Greg Vegan Camp

    • Strava: https://www.strava.com/routes/9613626?

  • Doi Inthanon XXL Li Lek & Greg Vegan Camp

Honda Click 125i DIY Notes

How to find the idling revolutions screw: fhttps://www.youtube.com/watch?v=Od8W0XsRLKA

DIY |How to fix IDLING STOP | honda click v1 and Game changer: https://www.youtube.com/watch?v=W1zil6dHkyA

Wget The Non-Interactive Network Downloader Tips and Tricks

Many times you need to download files from the internet, specifically when you want to automate a process or two. Here is where wget comes in handy. This is a standard tool on most Linux systems.

In some cases the server you want to download from does a couple of checks, so your automation fails. You can come by that by adding a couple of switches like:

wget --user-agent="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" --auth-no-challenge URL_OF_FILE_TO_DOWNLOAD

Git Tips And Tricks

When you want to clone into a non empty folder or directory (https://stackoverflow.com/questions/9864728/how-to-get-git-to-clone-int…): 
git init .
git remote add -t \* -f origin [repository-URL]
git checkout master

 

SoapUI

SoapUI is a smart and advanced open source tool to test APIs.

Notes and Resources

Generate Sample XML using a WSDL in SOAP UI: https://www.youtube.com/watch?v=btS84mlJeNo

https://stackoverflow.com/questions/12222607/how-to-do-a-soap-wsdl-web-…

R XML2

R-Project can be used to parse, build and validate XML files. The xml2 R library is the latest xml parsing library and should be used instead of the outdated xml library.

Install dev version from github:

# install.packages("devtools")
devtools::install_github("r-lib/xml2")

Links

Manual: https://rdrr.io/cran/xml2/man/

PDF to Word Conversion

There are many tools and a lot of software out there to convert PDFs to Word.

Online tools like:

GrN.dk

convertio.co
altoconvertpdftoword.com

Get Current Working Directory In Any Window Linux Bash

readlink -e /proc/$(xprop -id $(xdotool getactivewindow) _NET_WM_PID | awk '{print $3}')/cwd

Inspired by: https://superuser.com/questions/1116636/open-a-terminal-from-any-direct…

Adjust power management settings for Ryzen Processors

This might be useful when your machine shuts down unexpectadly under heavy loads: https://github.com/FlyGoat/RyzenAdj

For me it only happens in Windows when the batery is charging too. I think charging thresholds are a must. In linux we have tlp: https://linrunner.de/tlp/ and https://wiki.archlinux.org/index.php/TLP and https://github.com/linrunner/TLP :-D

Pagination

  • First page
  • Previous page
  • …
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • Page 11
  • Page 12
  • …
  • Next page
  • Last page

Review Greg on Google

Greg Nowak Google Reviews

 

  • WooCommerce Checkout Blocks: Default by Design, Rollback for Compatibility
  • When Google can call the business, your local data stops being cosmetic
  • Drupal CMS 2.0 Speeds Marketing Site Rebuilds, but It Is Not Autopilot
  • Your OpenAI and Cloudflare Keys Need an Expiry Date
  • Structured Outputs Shift Intake Automation From Prompts to Schema Design
RSS feed

GrN.dk web platforms, web optimization, data analysis, data handling and logistics.