abidibo.net

Weblog

Bootstrap progress bar animation

bootstrap javascript tips

Boostrap progress bar is a nice component that comes in handy when loading async contents, large images or, for example, when rendering a complex google map.

But as is, it is quite useless if you want to implement a dynamic loader, which progress value changes over time. There are two major problems:

  1. when updating the value there is no animation, but just a jump to the new provided value;
  2. if the value updates are set immediately one after another, you ...

read the full post



Set material-ui TextField value for testing purposes

material-ui react redux sinon testing

Recently I began my trip in the world of react and redux. Everyone is hot with these "new" technologies, and after my previous experiences with angular I decided to give it a try.

In this entry I just want to share a tip about how to set the value of a material-ui TextField for testing purposes.

Scenario

I have a simple login form, with username and password fields, and a submit button. When the submit button is clicked, a function ...

read the full post


Django debug with vim and vdebug

dbgp debug django python vim

I'm currently re-configuring all my vim stuff, operation which I perform every x months/years. I used to debug django application using pdb and its set_trace method, this time I decided to integrate a debugging tool inside vim as I always did for PHP using xdebug.

I decided (after some other attempts), to use vdebug, which (as described in the ...

read the full post


How I developed my first gnome-shell extension

gnome gnome-shell qaepq

Recently I installed qpaeq as a system wide mixer on my ubuntu 14.04 machine. Now I want a way to launch it from the status bar, so I began looking for a way to create a simple gnome-extension. Lucky me, the extensions are written in js, unfortunately the documentation is not so good.

A good starting point is this excellent post (a bit outdated, not all scripts presented work).

Let's proceed by steps.

Create a boilerplate project

We can ...

read the full post




How to get the best of your low end smartwatch

android smartwatch tasker u8

On April 1, 2015 I wrote an article about how to get the best of your U8 smartwatch, it turned out to be the most read content om my website, summing now more than 88k visits.

The article shows a way to enhance the U8 smartwatch capabilities with the help of Tasker, an app available on the google play store.

Even if my original article targeted the U8 smartwatch by U Watch, indeed the concepts and ideas fit well also ...

read the full post


Android development, fetch data from API and execute a callback

android java programming

I love first-class function programming languages (js and python for example), and I use to pass callbacks everywhere, especially when dealing with events or async tasks.

I'm a completely newbie with Java, but I started learning it because I decided time has come to develop android native applications. One of the first functionality I needed and I wanted to master is retrieving information (in json format, in my case) from some sort of API in order to display it in my application.

The equivalent in a modern js application would be making an ajax call to a server endpoint and process the data when fetched. This of course involves the use of callbacks, since data are fetched asynchronously and must ...

read the full post


U8 SmartWatch Voice Commands

android smartwatch tasker u8

Hi everybody!

It turns out that our astonishing watch can perform voice commands to the phone.
And that's good news! You can perform as Michael Knight and women will tear their air to be at your side.

I thought about this possibility long time ago' but foolishly I supposed that there was no way to stream my fucking voice from the watch to the phone (except during a phone call), now I've discovered I was wrong.

When the watch is ...

read the full post


Your Smartwatch Loves Tasker!

Your Smartwatch Loves Tasker!

Now available for purchase!

Featured