Categories
CMS Development Drupal

How to make Localization update believe that the translation of a local .po-file not up to date?

I use a local development branch of a contributed project on several sites. The strings that need translation does not exist on https://localize.drupal.org/ (yet), so I cannot use it to translate the project. Checking l10n update status produces: $ drush l10n-update-status … my_project (7.x-1.x) Up to date … Now, how do I convince Localization update […]

Categories
Development Linux Ubuntu

OpenVPN trough network manager not routing properly

I encountered VPN problems after the latest Ubuntu update. My version is: Ubuntu 18.04.3 LTS. I noticed that while I can connect to VPN I can’t see any VPN resources ie. I can’t connect to company websites, I get: This site can’t be reached <website>’s server IP address could not be found. ERR_NAME_NOT_RESOLVED I unchecked […]

Categories
Development Linux Ubuntu

Ubuntu 18.4 How to update only security update

I use several Ubuntu 18.4 and I would like to install only security update from command line. What command should I use?,and if it can be automatically? Thanks

Categories
CMS Development Wordpress

How to add shortcode to html widget

I’m trying to include a shortcode to an html widget by adding to functions.php add_filter( ‘widget_text’, ‘shortcode_unautop’); add_filter( ‘widget_text’, ‘do_shortcode’); and to the html widget alert(“‘” + [user_email] + “‘”); but it keeps saying user_email is not defined.

Categories
Development Linux Ubuntu

Ubuntu 18.04 alternating between successful boot and failed boot

I have a fresh install of Ubuntu 18.04 which has this strange behaviour: First boot fails – black screen after grub. After a force power-off the next one succeeds. Another reboot would bring it to the first state – failed boot (and so on). The machine is a i9-9820x (ASUS X299) with dual nvidia GPUs […]

Categories
CMS Development Drupal

Using libraries with slick_views

I would like to use a library (MagicScroll) with Slick views. My question is: In drupal 8, what .js files should I install to get that library and use it with Slick Views module?

Categories
CMS Development Drupal

How to catch exception if the destination mail id does not exist while sending mail through webform?

I’m sending mails on submission of a webform. The destination mail address is fetched from a custom email field in the form. On submitting, when the user enters a mail address, a custom mail would be sent to that email. I want to catch the exception if the mail id doesn’t exist or if email […]

Categories
Development Linux

How to downgrade a version of Kali Linux?

I have upgraded to the latest Kali Version which is 2019.4 and I’m not getting the latest packages, I still have the old ones, kali-undercover is not working and the fact that they added more GUI, it slows down my laptop while booting. For this reason I want to downgrade it to the previous version […]

Categories
Development System & Network

VM locking via Elektra?

I cannot find any official documentation about what exactly does the “Lock” do to a VM on Elektra: https://i.stack.imgur.com/N55eN.jpg

Categories
Development Linux Ubuntu

Why isn’t tilde recognised as home folder in this case?

I’ll get straight to it. This doesn’t work: daniel@cassiopeia:~/.wine/drive_c/tools/Family Tree v2.0$ ls “~/.wine/drive_c/tools/Family Tree v2.0” ls: cannot access ‘~/.wine/drive_c/tools/Family Tree v2.0’: No such file or directory But this does: daniel@cassiopeia:~/.wine/drive_c/tools/Family Tree v2.0$ ls “/home/daniel/.wine/drive_c/tools/Family Tree v2.0” Dossiers Dossiers_orig Infos.opt Racines.exe ‘Register OCX.bat’ racines.CNT Dossiers-2019.11.03-11.46.tar.gz Html REGSVR32.exe Racines.hlp Uninst.isu readme.txt Given that ~ is supposed to […]