Category Archives: All

All posts

Android Studio – using SensorEventListener.

This tutorial is about programming android hardware sensors service: TYPE_ACCELEROMETER. You can start by using last version of Android Studio version 3.1.1 with the default project Empty Activity. Is very simple to use accelerometer with Android Studio by read the values and show us into the text view area. The SensorEventListener is used to read… Read More »

PowerShell tips – part 009.

Today I come with this simple tutorial about how to show logs from the last day. The command is very simple and can be used with powershell and administrator command shell like this:

This command is build from Get-EventLog and parse by Get-Date, see options:

About AddDays is not only option you can… Read More »

Go – about errors .

The golang come with a fair amount of functions end up returning errors like values. The golang errors functions looking like this:

You can use the errors package and that implements functions to manipulate errors. The official golang example:

You can see how is created the new custom errors using the New function:… Read More »

JavaScript – Processing.js 2D library – part 004.

The Processing.js is available for Linux, Mac OS X, and Windows and come with the last version 3.3.7 (13 March 2018). Today I tested processing.js for android. They say us about this issue: Use Processing for Android to create Android apps with ease, including live wallpapers, watch faces, and VR apps. You can run your… Read More »