Mikael Söderström
-
Creating a temperature web server using ESP8266
ESP8266 is a fantastic micro controller unit, with built-in Wifi and is programmable via the Arduino IDE (or LUA if you wish). By using this with a DS18B20 we are going to run a web server on it, with which we can use any browser to get the current temperature.
-
Blinking LEDs on Windows 10 IoT Core
With the release of Windows 10 IoT Core, Microsoft released a set of new APIs, such as the ability to control GPIO pins on Raspberry Pi. These can be used both as output and input. In this example we are using them as outputs, to be able to control a set of LEDs on a breadboard.
-
Use ASP.NET to control the GPIO pins on Raspberry Pi
First of all, we need some hardware:
-
Writing end-to-end tests with Nightmare.js
Nightmare.js allows you to automate HTTP requests in Node.js, which you can use to download files from sites, check your e-mail, runt integration tests, etc.
-
HTML5 Hidden Attribute
One of the new global attributes in HTML5 is the hidden attribute. It is not the most advanced or revolutionary attribute in HTML5, since all it does is actually to hide the content of the element.
-
How to use nested custom elements with CSS Shaders
Last time I wrote about how to use Polymer to create custom elements. This time we will create two custom elements, where one of them is going to use the other to add additional functionality. We will also use CSS Filters and properties unique to this element.
-
Create a video player using custom elements
I previously blogged about Shadow DOM where I demonstrated how to use the Developer tools in Google Chrome to get the underlying DOM that is not visible to the user, in this case the video element. This is a great tool to get more understanding about how the element is actually built, and the API makes it possible to create our own Shadow DOM with ”hidden” elements.
-
CustomEvent in DOM Level 3 and DOM Level 4
In DOM Level 3 Events, a new type of events, CustomEvent, is available. It extends the ordinary Event with a new detail property which you can use to provide extra information. With this new method you are able to create new types of events that you can use in your application.
-
The new <main> element in HTML 5.1
In the upcoming specification for HTML 5.1, a new semantic element will be introduced, the <main> element.
-
Get under the hood with Shadow DOM
When you add an element to your page, it is being added to the Document Object Model (DOM). When added to the DOM, you can use CSS to style it or JavaScript (getElementById, querySelector etc) to get a reference to the element and modify it. There are some cases where this isn´t true though.