MindCreatesMeaning · @MindCreatesMeaning
12 followers · 220 posts · Server fosstodon.org

Help request:

I'm using a to enqueue local font-awesome files (brands-400 & solid-900).

I'm trying to use 'font-display:swap' to clean up my lighthouse report.

It appears that when I implement 'font-display: swap' - I get a MIME type error from Console.

But the only way I can get rid of MIME type error is to suffer a 'font-display:swap' warning in Lighthouse.

Any recommendations on modifying this code to resolve the problem?

#wordpress #codesnippet

Last updated 1 year ago


Welcher RAM ist eigentlich verbaut? Und wo kann ich den dann kaufen?

$ram = Get-WmiObject -Class Win32_PhysicalMemory
foreach ($module in $ram) {
$partNumber = $module.PartNumber
Write-Host "Modul-Teilenummer: $partNumber"
}

Set-Clipboard $partNumber
$url = "geizhals.de/?fs=$partNumber&hl"
Start-Process "msedge.exe" -ArgumentList "--app=$url", "--start-fullscreen"

#codesnippet #powershell #letsplaywithcode

Last updated 1 year ago

Dominik Schilling ๐ŸŒŠ · @dominik
104 followers · 14 posts · Server indieweb.social

Using a cache plugin on your WordPress site and have the ActivityPub plugin activated? You may want to check if it properly handles content negotiation otherwise your users may see some weird content!

Read more about that and a possible solution for the zero(ish)-config cache plugin Surge in ๐Ÿ‘‡

dominikschilling.de/notes/http

#codesnippet #http #cache #wordpress

Last updated 1 year ago

Vostronix :nonbinary_flag: · @vostronix
29 followers · 260 posts · Server fosstodon.org

Here (recoded.netlify.app) you can create with a animation the export needs time and have to progress indicator but the rest is nice. Some one knows maybe a better alternative ?

#codesnippet #gif

Last updated 1 year ago

Nathan Wrigley :verified: · @nathan
190 followers · 1282 posts · Server wpbuilds.social

RT @marcusdburnette@twitter.com

Have you ever wanted to show your product images on the checkout page? It's only 7 lines of custom code!

WooCommerce: Show Product Images at Checkout Page buff.ly/3kEKlqi @rmelogli@twitter.com

๐Ÿฆ๐Ÿ”—: twitter.com/marcusdburnette/st

#WooCommerce #Ecommerce #codesnippet

Last updated 3 years ago

Jesus M. Gonzalez-Barahona · @jgbarah
204 followers · 6428 posts · Server floss.social

RT @zacchiro
In our latest , just out on @PeerJCompSci and , we show how to visually recognize the programming of images, among many languages (150 in our experiments) and with high accuracy peerj.com/articles/cs-631/ [1/n]

#codesnippet #language #openAccess #paper

Last updated 3 years ago

Stefano Zacchiroli · @zacchiro
1011 followers · 981 posts · Server mastodon.xyz

In our latest , just out on @PeerJCompSci and , we show how to visually recognize the programming of images, among many languages (150 in our experiments) and with high accuracy peerj.com/articles/cs-631/ [1/n]

#paper #openaccess #language #codesnippet

Last updated 3 years ago

The whale · @thewhalecc
284 followers · 1736 posts · Server framapiaf.org

Carbon - Create and share beautiful images of your source code. Start typing or drop a file into the text area to get started. carbon.now.sh by @dawn_laps@twitter.activitypub.actor

#design #screenshot #codesnippet

Last updated 6 years ago