Profile cover photo
Profile photo
Bruno Miguel
O melhor blogger do mundo, de acordo com o próprio!
O melhor blogger do mundo, de acordo com o próprio!

Communities and Collections
View all

Post has attachment
A bit of Material Design in Gnome Shell
2 Photos - View album

Post has attachment

Post has attachment


I’ve been using a theme with a function, in content.php, to use an external image as the featured image. It’s nothing fancy, it just prints the image in the top of the post title if that variable has a value.

if($feature_img) { ?>
<img src="<?php echo $feature_img; ?>" class="attachment-ryu-featured-thumbnail">
<?php } ?>
<?php if ( '' !=get_the_post_thumbnail() ) : ?>
<?php if ( has_post_thumbnail() ) {
$large_image_url=wp_get_attachment_image_src( get_post_thumbnail_id(), 'large' );
the_post_thumbnail( 'ryu-featured-thumbnail' );
} else {
//the_post_thumbnail( 'ryu-featured-thumbnail' );
} ?>
<?php endif; ?>

Now, I want to use that image as og:image value, so it shows up on Facebook, but this passes my really limited programming knowledge.

I’ve been searching a few hours now for a solution online and trying to adapt some snippets I found, but I either break the theme or get the default Jetpack blank image. Example:

Can anyone help me?

How can I see if my GPU (Intel onboard) is using DRI2 or DRI3? /var/log/Xorg.0.log is no help; glxinfo -v also a bust.

/etc/X11/xorg.conf.d/20-intel.conf is as follow:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "DRI" "3"

In theory, it should be using DRI3 (DRI3 related packages are installed), but I can't confirm. Can anyone point to me to a solution? Thanks.

Anyone having performance issues with Fedora 24? I've upgraded from version 23 a week ago and have experienced some performance bottlenecks, specially when installing and/or upgrading packages with DNF (can make my computer unresponsive for several seconds) and watching movies (with and without flash) on Firefox.

The hardware is not topnotch, but with Fedora 23 the experience was really smooth.

Post has shared content
Arduino based Thor's Hammer that only the maker can pickup!

Já usaram NetBSD como desktop/workstation? É uma opção viável para esse efeito?

Post has shared content
Wait while more posts are being loaded