Categories
CMS Drupal Mastering Development

Display the fields of the current taxonomy with an exposed form

I’m using the Taxonomy term view. I expose the "Has taxonomy term" filter to my users in a block. I want to display the title and the fields of the current taxonomy even when a term has been typed in the exposed form. However, apparently, when the view is filtered, views no longer finds the […]

Categories
CMS Drupal Mastering Development

Display the fields of the current taxonomy with views and an exposed form

I’m using the Taxonomy term view. I expose the "Has taxonomy term" filter to my users. I want to display the title and the fields of the current taxonomy even when a term has been typed in the exposed form. However, apparently, when the view is filtered, views no longer finds the argument in the […]

Categories
Database Development

What can I do with VIEW DEFINITION permissions that I can’t do with ALTER permissions?

I have created a new user which has ALTER permissions on my database: CREATE LOGIN [testuser] WITH PASSWORD = ‘…’; CREATE USER [testuser] FOR LOGIN [testuser]; GRANT ALTER TO [testuser]; To my surprise, ALTER does not imply VIEW DEFINITION: SELECT HAS_PERMS_BY_NAME(DB_NAME(), ‘DATABASE’, ‘ALTER’); — yields 1 SELECT HAS_PERMS_BY_NAME(DB_NAME(), ‘DATABASE’, ‘VIEW DEFINITION’); — yields 0 And, […]

Categories
Linux Mastering Development

Re-Enable Full Disk Encryption

I recently installed Ubuntu 20.04 and selected full disk encryption. The first few times I booted up I had to enter the password to decrypt the device. However, I had to fix the boot loader after installing windows on the secondary drive. I followed the directions on https://askubuntu.com/questions/63594/mount-encrypted-volumes-from-command-line to mount my encrypted partition before working […]

Categories
CMS Joomla Mastering Development

KaTeX for Kunena: render LaTeX in preview

Apparently, it’s not possible to render LaTeX code in the preview tab of Kunena new message form. On the author website, it’s written as a known issue. Do you have any clue on how I can do to render it anyway ? Thanks,

Categories
User Help

Do you need to reserve 2014 free sectors at the beginning of a data-only drive?

Let’s assume you use a new drive as a secondary drive in you PC and plan to store only your data there. (In my case, it’s %USERS% of Windows and /home of Linux. The programs and system will be left on the primary drive, which we don’t consider in this question.) Let’s further assume that […]

Categories
CMS Magento Mastering Development

Defining observers with custom method names

Apparently, setting a custom observer method name could be done in magento1: <event name=”controller_action_catalog_product_save_entity_after”> <observers> <some_product_save> <type>singleton</type> <class>Some\Module\Observer\Products</class> <method>doSomething</method> </some_product_save> </observers> </event> But in magento2, method attribute is considered invalid Hence, how do I define an observer custom method name ? FYI, I don’t want to use execute method because I think being forced to […]

Categories
User Help

Router won’t forward ranges of ports to Linux server. Is there a software solution?

I need to forward a large range of ports to a Linux machine running Asterisk. The machine is behind a household router. The router can be successful configured to forward single ports to Asterisk, e.g., 5060, however the ability to forward a range of ports such 10000:20000 has been disabled on the router, apparently, by […]

Categories
Mastering Development

How does : # use perl eval ‘exec perl -S $0 ${1+”$@”}’ set the perl version?

I have to debug an old perl script which, apparently, is setting the version of perl in a way which I do not understand… : # use perl eval ‘exec perl -S $0 ${1+”$@”}’ if 0; perl -h says that -S means “look for programfile using PATH environment variable”. “$0” is the current program. And […]

Categories
User Help

Router won’t forward ranges of ports to Linux server. Is there a software solutiion?

I need to forward a large range of ports to a Linux machine running Asterisk. The machine is behind a household router. The router can be successful configured to forward single ports to Asterisk, eg. 5060, however the ability to forward a range of ports such 10000:20000 has been disabled on the router, apparently, by […]