Monat: November 2018

McLighting Tutorial – ESP8266 WS2812B LED Strip

Hier die Anleitung / Tutorial wie man mit dem Minirechner ESP8266 (in meinem Fall der WeMos D1 Mini) einen WS2812B LED Streifen durch McLighting steuern kann. Unten aufgelistet findet Ihr zum einen die verwendete Hardware und zum anderen die komplette Videoanleitung auf Youtube zum nachbauen inklusive der wichtigsten Befehle für Copy & Paste. Demonstration Steuerung …

McLighting Tutorial – ESP8266 WS2812B LED Strip Weiterlesen »

flv to mp4 under mac (brew)

How to convert flv files to mp4 with just a single command under mac os: (brew and ffmpeg has to be installed) brew install ffmpeg ffmpeg -i 1.flv -c:v libx264 -crf 19 -strict experimental 1.mp4

simple_html_dom – file_get_html empty

With simple_html_dom you can parse HTML in PHP. My file_get_html variable was empty and that was the problem: define(‚MAX_FILE_SIZE‘, 900000); Max filesize was too low. After i have increased the value in simple_html_dom.php everything worked fine.

WordPress – Remove next/previous post links

How to remove the WordPress next/previous post links: function remove_link( $format, $link ) { return false; } add_filter( ‚previous_post_link‘, ‚remove_link‘ ); add_filter( ’next_post_link‘, ‚remove_link‘ ); Add the code above at the end of your functions.php -> Design -> Editor After a site reload the next and previous post links were gone. This is a better …

WordPress – Remove next/previous post links Weiterlesen »

Woocommerce – 404 not found (Shop/Products)

I have installed Woocommerce and received a 404 not found error at the shop and products. All in the internet is about the permalinks but this wasn’t the problem Solution: location / { try_files $uri $uri/ /index.php?q=$uri&$args; } After i have added this line to the vhost configuration of my nginx webserver everything worked fine …

Woocommerce – 404 not found (Shop/Products) Weiterlesen »

Scroll to Top