Dockerize Ionic application

Français Français

Introduction

docker + ionic

Ionic Framework  is a mix of tools and technologies to develop hybrid mobile applications quickly and easily. It relies on Angular for the web application part of the framework and on Cordova  for the construction part of the native applications. This open source framework makes it possible to develop a deployable application on several environments such as a website or a mobile application for systems such as Android or iOS or Windows Phone

In this article, there is no question of discovering this framwework, but rather to set up our test environment. From docker, here we will see how to prepare your dockerfile to get there.

 

Continue reading Dockerize Ionic application

Linking Analytics with another AdSense Account

Français Français

It is important that you integrate Google AdSense with your Google Analytics account as you will then be able track the ad performance (CTR, CPM, revenue, etc.) of individual pages of your site without having to create AdSense channels.

You are maintaining two separate Google Accounts – your first Google Account (say adsense@gmail.com) is configured with AdSense while the other account (say analytics@gmail.com) is associated with Google Analytics.

How do you then link these two accounts so that you can track AdSense and Analytics data from the same dashboard?

If are facing a similar issue, here’s a simple solution courtesy:

Continue reading Linking Analytics with another AdSense Account

CSS 3 Change default radio button style

Français Français

Here’s a simple code snippet that allow to change default radio button design, and set a background image.

Here is a screenshot of the result obtained after modifying the default radio button design.

CSS3 radio button
CSS3 radio button

We only used HTML5 and CSS3 to get this result,  enjoy.

Continue reading CSS 3 Change default radio button style

Fail2ban-client show banned IPs

Français Français

How to show banned IPs with Fail2ban client

It’s very simple to show the list of banned IPs with Fail2ban, first you have to select in witch jail you want to show the blocked IPs. To get the active jails type:

fail2ban-client status

Then you have to select a jail to show banned IPs with this jail

fail2ban-client status <JAIL-NAME>

Continue reading Fail2ban-client show banned IPs