Categories
CMS Mastering Development Wordpress

meta query condition don’t work

I have created a custom post type (Event). I want to show only two posts on the front page and the post should be greater than or equal to today’s date. So I write this meta_query. $today = date(‘ymd’); $homePostEvents = new WP_Query(array( ‘posts_per_page’ => -1, ‘post_type’ => ‘event’, ‘meta_key’ => ‘event_date’, ‘orderby’ => ‘meta_value_num’, […]

Categories
CMS Mastering Development Wordpress

meta query condition don’t work

I have created a custom post type (Event). I want to show only two posts on the front page and the post should be greater than or equal to today’s date. So I write this meta_query. $today = date(‘ymd’); $homePostEvents = new WP_Query(array( ‘posts_per_page’ => -1, ‘post_type’ => ‘event’, ‘meta_key’ => ‘event_date’, ‘orderby’ => ‘meta_value_num’, […]

Categories
Apple User Help

How to stop a stuck folder action

I have a folder action script I wrote that I use on all my computers named prompt-to-rename-on-add.scpt. I always attach it to my screenshots folder and it works great. There’s not a problem with the script that I know of. I’ve been using it for years, however, I rarely use it on my Mac mini. […]

Categories
Linux Mastering Development

RC-Service show a Error on Alpine Linux

today, I wanted to start something with the rc-service command, but the show the error: * Call to flock failed: Bad file descriptor * WARNING: PROGRAM is already starting. How can I fix it? It is everytime, when I start something.

Categories
Artificial Intelligence (AI) Mastering Development

Reverse engineering from scanned data and Artificial Inteligence

Today, if you scan an object and want its CAD file (Solidworks/Autocad), you need to use reverse engineering software (Geomagic). This takes time and you need experience of the software tools. Does it exist an AI application that does the job automatically? If not, is this a reasonable idea to develop an AI application capable […]

Categories
Linux Mastering Development Ubuntu

openssh-client error: Connection reset by [ip] port 22 on ubuntu 20.04

Today, when I tried to connect my remote host through ssh port 22 using my laptop with ubuntu 20.04, I got this error. Even though, yesterday all are fine. $ user@10.1.1.1 -v OpenSSH_8.2p1 Ubuntu-4, OpenSSL 1.1.1f 31 Mar 2020 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files debug1: /etc/ssh/ssh_config […]

Categories
User Help

How do I stop this Windows Update Icon of Terror in Windows 10?

Today, an obnoxious red dot icon appeared in the Notification area on my Windows 10 computer. It’s Windows Update, pestering me to install updates. It doesn’t go away if I “schedule another day”. It doesn’t let me hide or close it. I’ve restarted the computer (“Update and restart”) and it’s still there. It repeatedly says […]

Categories
Mastering Development System & Network

How (if at all) is KVM used with enterprise workloads?

This is sort of similar to Q123566, but I want to add a few clarifications: KVM is the Linux-kernel-based virtualization technology (specifically: a hypervisor) that underlies most non-Xen FOSS virtualization platforms/tools. QEMU is an atomic tool/utility/program, that, today, fills the role that kvm(1) did while its eponymous hypervisor was under development. It is capable of […]

Categories
Apple User Help

Deleting my mail in Mac, but space is not cleared

Today, I deleted alot of files in Mac Mail but it did not clear any space on my HD. It keeps saying Mail is using 5.36 GB, no matter how much I delete and empty my trash. I have rebooted several times. I’m using Macbook Air with Catalina.

Categories
Mastering Development System & Network

How to best store a dead/former name together with the new name in LDAP schema?

Today, in out IT unit, I came across a case where we need to store a new name in all systems linked with OpenLDAP for a person whom requested a name change. By legal reasons the person didn’t show any Birth/Marriage certificate which could have helped me to change all name attributes, by my law […]