Skip to content

Content classified under "Tutorial"

Page 4 of 12

Antialias a Polygon with Corona SDK

February 27, 2018Categories: Software, Tutorial
The other day I figured I needed to draw a polygon in Corona SDK . With display.newPolygon(...), the job is extremely easy and a result like (apologies for the JPEG artefacts): It is obvious that in non retina cases, one can see the aliasing of the polygon's edges. Hence I've thought and searched…

Update Jenkins on Ubuntu

February 16, 2018Categories: IT, Tutorial
I've got an installation of Jenkins on a Ubuntu 14.04.5 LTS which I needed to update. In order to do so I did the following: Download the new version (2.107 at the moment of writing this post). In /home/user/backup/ execute: Backup the old version (Jenkins war is installed in /usr/share…

Ignore ESLint Directives in Code

January 18, 2018Categories: Software, Tutorial
The other day I've had to refactor a piece of angular code. Unfortunately, the original code was written a long time ago and has some issues like having $scope in controllers and a rather large number of unused variables. changing the $scope to this is a very time-consuming task as it implies…

Monitor ethOS Distro with Elastic Search - 3

December 27, 2017Categories: IT, Software, Tutorial
Once we've set up the data sending from out ethOS machine , we can check that ElasticSearch collects data. With GET /ethos/_count , we get something like: If the count is greather than 0 , we can start analysing the data. Metrics I am currently measuring only machine. Therefore, I've set up some…

Proxy Content from URL with Webpack Dev Server

December 21, 2017Categories: Software, Tutorial
An application I'm working with has a large amount of static files (path starting with '/files/' ) deployed on a mounted volume in Docker . They are subsequently served via nginx . for local development, I thought of two options: Add files to the local dev server (e.g. copy assets) Build a proxy…

Monitor Docker Logs with ELK - 2

December 12, 2017Categories: IT, Tutorial
This second post in the series provides a starting point for visualising the log data. It makes some assumptions that logs are collected in a way described by the first part , so I would suggest to read through it if you haven't already. Verify First, make sure you have some data logged in: You…

Monitor Docker Logs with ELK - 1

December 12, 2017Categories: IT, Tutorial
Following my attempts to monitor ethOS data via ElasticSearch and Kibana , I've thought it would be a good idea to start monitoring the logs produced by my various docker instances. This first part deals with configuring ELK and logspout . Prerequisites I assume the following: ELK is…

Monitor ethOS Distro with Elastic Search - 2

December 6, 2017Categories: IT, Software, Tutorial
Following the previous post , we are now in position to install the monitoring code on the monitoried machine, of course. The easiest way is to download the code on the machine in /home/ethos . Following steps will assume you have the unpacked code in Once you have downloaded the code, you need…

Docker Exec Path-based Commands

November 17, 2017Categories: IT, Tutorial
TL;DR: Use sh -c "command with arguments" I've tried to execute in order to see the size used by a container's logs. Unfortunately, this resulted in an error along the lines: du: C:/Program Files/Git: No such file or directory This means that my git bash prompt interpreted the / itself. In…
PreviousNext

All categories