Categories
WordPress

Dynamically Disable a Plugin

Is it possible to dynamically “disable” a plugin with a condition determined by some visitor attributes? Like the presence of a cookie? Of course without changing the plugin code! Recently I faced this problem: a rather weight plugin that integrates a chat (and more) in a WP site was make the site itself too slow. […]

Categories
WordPress

The WordPress Plugin Activation Hook

WordPress fires and activation action when a plugin is activated. Or at least it should. To be notified of its activation, a plugin can register itself to that even, using the register_activation_hook() function. There are some background concept that must be clear before start to use that action. It is not always as natural as […]

Categories
Talend

Enable/Disable tLogRow in Talend by Context Variable

You may need to add some tLogRow components in your Talend job to monitor during test the ETL progress, but then you need to turn them off when you run the job in production. Probably you have already at least two contexts: the one you use in the test environment and the one to be […]

Categories
Other

Progressive Web App: Video Lessons

If you’re looking at some material to learn PWA (Progressive Web App) there is a video course I don’t want to miss. The course is available on YouTube under “PWA Tutorial for beginners” by The Net Ninja and is really well done. The course shows step by step how to create your first PWA so […]

Categories
Talend

Adding Non JSON Data to Talend tExtractJSONFields

A JSON field was coming from a Talend route message body but other than extract JSON fields to a schema, I needed to add to the schema the topic. I don’t know if I was blind but it took me a while to understand how to create a flow of data extracted from a JSON […]

Categories
Talend

Get Topic Name on Talend Job From cMQTT Message

When a Talend route is built to subscribe to an MQTT broker, the message payload can be processed by a Talend Job passing over the message body. But you could also need to know the generating topic. The Apache Camel cMQTT component stores the topic component as an additional message header named CamelMQTTSubscribeTopic. Hence inside […]

Categories
Talend

Installing Talend ESB Runtime/Container as a Service

Installing the Talend Runtime as a service is rather easy but there are few options you would consider to customize even more the installation. This has been tested with version 7.2.1. First you can follow the instructions directly from the Talend Help Center to create the wrapper. A wrapper is a Windows executable which “wraps” […]

Categories
Talend

Talend ESB Redeploy a .kar File

When you build a route a new .kar file is generated and it needs to be redeployed on Talend ESB container. Nothing special to do, just copy it on deploy folder. Talend ESB conatiner is based on Karaf and on starts it “activate” all routes found inside the container/deploy folder. When you rework a route […]

Categories
Talend

Talend ESB/Karaf Console Client tadmin Login Problems

You could have experienced the failed login as tadmin to the Talend ESB/Karaf console when using the client.bat to access a remote (or locally installed as Windows service) Karaf console. That applies to Talend Open Studio for ESB 7.2.1. Typically the message you got is: Logging in as tadmin Password: Password: No more authentication methods […]

Categories
WordPress

How To Remove WordPress Admin Notices (When Disturbing)

Sometime you really need to remove the administration notices injected by other themes or plugins from your theme or plugin administration pages. If I can understand that admin notices could be very useful, injecting them indifferently in every admin page could lead to conflicts, specially if injected in other plugin/theme pages. Who injects such notices […]