Category: News
Glimmer DSL for SWT Refined Table
refined_table
has been released to support displaying very large amounts of data in a table
via automatic pagination.g2k22 Hackathon Report: Martijn van Duren on snmpd(8) improvements
We are delighted to have received a report on
the recently-concluded
g2k22 hackathon.
Martijn van Duren (martijn@
) writes:
Coming to
Bad Liebenzell
for the 3rd year in a row I knew what to
expect, but the scenery still continues to amaze me. Driving through the
black forest was a nice little escape before plunging back into the SNMP
world.One of the biggest misconceptions I’ve seen floating around and one of
my biggest irks withsnmpd(8)
was its privilege separation situation.
While true thatsnmpd(8)
always had multiple processes it was never used
to any meaningful degree. The engine process (snmpe
) handled everything
snmp related: Handling packets/connections, de-/encoding the BER,
handling authentication, finding the correct object and retrieving the
data from the proper source (usually the kernel). Because some metrics
fell outside the scope of
pledge
it also ran without thepledge
seat belt. The engine however does run inside a/var/empty
chroot
, this
is where the other (parent) process comes into play. When a trap
(notification) is received and covered by “trap handle” it’s forwarded
to the parent process, which then executes the “command”.
How to connect to a remote computer using VNC in Linux
Configure your system for screen sharing using Virtual Network Computing (VNC) in GNOME Connections and troubleshoot when things go wrong. Read More at Enable Sysadmin
The post How to connect to a remote computer using VNC in Linux appeared first on Linux.com.
Please join us for the Moodle Academy webinar “Introduction to Moodle for Educators” on 8th September 12:00 – 13:00 UTC
Please join us for the Moodle Academy webinar “Introduction to Moodle for Educators” on 8th September 12:00 – 13:00 UTC.
In this webinar you will learn the basics of setting up a Moodle course and adding teaching materials and activities for your learners.
The webinar is part of the course Introduction to Moodle and is suitable for anyone wishing to teach or train with Moodle, particularly those with a new MoodleCloud site.
#! code: Drupal 9: Generating Header Images For Pages Of Content Using PHP
Embedding image within pages of content helps both within the design of the page and when shared on social media. If you set up meta tags to point at a particular image then that image will appear when the page is shared on social media. This makes your page stand out more.
A while ago I added a header image to the articles in the form of a field that references a media item, which is quite typical when adding images to pages. To add an header image to an article I just had to upload an image and Drupal would handle the size, placement and meta data for that image.
With the field in place, however, I spent a while adding a default header image to new articles so I haven’t been making good use of it. My GIMP skills aren’t that amazing and so the prospect writing an article and spending time fiddling with text elements on an image every week wasn’t that appealing.
I decided that rather than spend time hand crafting an image for the header, I would automate the process as much as possible. To this end I set about writing the components that would allow me to automatically inject a generated header image using Drupal services. I thought that the setup of this functionality would make a good article itself.
In this article I will briefly touch upon creating images using PHP and how to inject those images into a media reference field on a node using a form in a local task.
Creating An Image Using PHP
This is a big topic so I’m not going to cover everything here, but I thought an introduction into how I created the header image might be of interest to readers. I’ll be using the PHP GD library functions here as they are pretty easy to use and are normally installed on most PHP platforms.