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

Unable To Post Wordpress Json Or Other

If you are unable to post in Wordpress, you might want to add this to your wp-config.php: define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

Also install classic editor and disable Wordfence completely (look in .htacces) and remove or rename .user.ini

Recently Installed Packages Ubuntu

Try this from the terminal: grep " install " /var/log/dpkg.log

Lenovo G580 Notes

The screen started flickering and the quick fix is to push down just above the keyboard in the middle and then the flickering stops. Looks like a loose connection of the cable connecting the screen with the motherboard.

Lenovo IdeaPad G580 Laptop Screen Replacement Procedure: https://www.youtube.com/watch?v=smGMmZzm9bc

Lenovo G580 Laptop Disassembly video, take a part, how to open: https://www.youtube.com/watch?v=84lV68WRKlQ

Recaptcha Above Send Message Button Webfrom Drupal 8

Go to Structure -> Webform -> Build -> Add element -> Capthca

Composer tips and tricks

Composer without root

Run this in ~/composer: curl -sS https://getcomposer.org/installer | php

Put this in .bashrc: alias composer="php ~/composer/composer.phar"

Install Drupal 8 With Composer In Custom Web Folder

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --no-interaction --no-install
Adjust web folder in composer.json file and then run "composer install".

Check available versions of a package

composer show package_name --available

Certbot notes

Remove ssl cert: sudo certbot-auto delete 

Kubuntu 20.04 USB Audio Devices Not Found Fix

Here is what I needed to do to get my audio devices found by my Kubuntu 20.04 focal installation.

First install this patch, and see if things start working: https://launchpad.net/~kaihengfeng/+archive/ubuntu/fix-lp1869819

If not then follow the instructions:

sudo apt install alsa-tools-gui
Run hdajackretask
Parser hints > jack_detect = no
Apply now
Install boot override

Grub Notes

    linux    /boot/vmlinuz-5.4.0-31-generic root=UUID=24f1138b-2ab3-4617-a4aa-db3f37107cbc ro  

Removed quiet splash $vt_handoff

VPS Options and Considerations

Flokinet

  • Iceland outside of EU - great data protection.
  • Expensive.

Hetzner

  • Great value for money.
  • Maybe not the best support in the world.

https://webdock.io/en

  • Looks like great value for money.

Transip

  • Great support.
  • OK prices.
Unzip with PHP

https://github.com/ndeet/unzipper

Maybe the best PHP unzipper out there. This is useful when you have a zip file on a PHP server, and you only have FTP access etc. and lacking SSH access or a good file manager.

Lenovo T450s Thinkpad Screen Connectivity Issues

Recently I am experiencing bad connectivity on my LCD-screen. It seems to happen randomly and periodically. The connection is disrupted and a gray darkish void appears on the screen. Sometimes this can be ammended by moving the screen up and down but the bulletproof solution is to suspend the laptop and wake it up again, then the screen works properly. Sometimes for hours sometimes only for minutes. Last time I managed to remove and reattach the left hand side LCD-connector from the motherboard. This releived the problem for a couple of days, but now it's back again.

PHP CSV Parsers

Looks good: https://github.com/parsecsv/parsecsv-for-php

Otherwise just save the file and fix it with Rscript.

Snedige Regneark!

Regneark (Excel blandt venner) bidrager normalt med forkerte, tidsrøvende, uoverskuelige, fejlbehæftede og fejlfokuserede løsninger. Alligevel ser man sommetider elegante og gennemtænkte regneark, der gør præcis dét, der var meningen med dem. Så det kan lade sige gøre.

Hvad er forskellen?

Læs mere og se video på logistikforum.grn.dk.

Du er sandsynligvis interesseret, hvis du:

Air Quality

Air quality is a challenge in Northern Thailand, specifically during burning season: December to April.

The ultimate burning season survival guide on vegancampthailand.com.

Cool Links

Near Lek & Greg Vegan Camp: https://www.meteoblue.com/en/weather/forecast/airquality/ban-li-luang_t… - It might be better here away from the city.

Graphical Disk Usage Analytics

If you want to find the big files and clean up on your disk you might want to try this disk usage utility: qdirstat

R CVXR linear programming

Here is the example that works:

Original source not working: http://rtutorial.altervista.org/lp_solvers.html
Thanks to Mark Neal for debugging: https://stackoverflow.com/questions/60909930/r-cvxr-matrix-multiplicati…

Payment Gateways Denmark

Reepay - includes a subscription service.

Quickpay

Epay

 

Read more: https://startwebbutik.dk/lidt-om-betalingsgateways-og-indlosningsaftale…

Chrome Tweaks

Disable when tabs don't auto reload: chrome://flags/#enable-offline-auto-reload-visible-only

 

Full list of disables:

chrome://flags/#enable-offline-auto-reload-visible-only

chrome://flags/#enable-offline-auto-reload

 

Extension

Trimless gmail: https://chrome.google.com/webstore/detail/trimless-for-google-mail/niep…

Latest Version of Skype For Linux in Ubuntu 19.10 Eoan

After first manual install the Skype repository will be added to the sources list in the package manager:

cat /etc/apt/sources.list.d/skype-stable.list

Best Video Editor kdenlive

My favorite editor of all time is kdenlive. It works really well, and the development has improved greatly the last couple of years or so.

Here are some of my tips and tricks for this editor.

Rendering Options

New ones with lossless setup: -preset ultrafast f=mp4 vcodec=libx264 acodec=aac crf=0 ab=%256+'k'

Tip, set the crf rate to be 17 or so if you want manageble file sizes. 0 is lossless.

Pagination

  • First page
  • Previous page
  • …
  • Page 2
  • Page 3
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Page 8
  • Page 9
  • Page 10
  • …
  • Next page
  • Last page

Review Greg on Google

Greg Nowak Google Reviews

 

  • Youtube Subtitles in Any Language
  • Your CMS Upgrade Is Now a Stack Project: A 2026 PHP Roadmap for WordPress and Drupal Sites
  • AI Crawler Control for Business Websites: Protect Your Content Without Disappearing From Search
  • Portfolio
  • Gregs IT and Logistics Optimization
RSS feed

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