Meefik's Blog

Freedom and Open Source

OpenWRT with OpenVPN on TL-WR841N router

21 Apr 2018 | openwrt

The problem with the TL-WR841N router (v9 in my case) is that there’s only 4MB of flash memory and after the OpenWRT firmware, there’s only about 300KB left for personal use, which is not enough to install OpenVPN. The solution to this problem is in the post OpenWrt + VPNclient for a router with 4mb ROM, but several years have passed and scripts require changes.

Aligning face images in JavaScript

01 Oct 2017 | javascript

In the tasks of automatic processing of images of faces, the question of finding and normalizing (aligning) the image of a face in a photo or video stream often arises. Alignment usually involves rotating, zooming, and cropping the part of the photo of interest. On the web, you can find examples for implementing this function in Python or C/C++ using the OpenCV computer vision library. Here I will give two examples of the implementation of this function in JavaScript for NodeJS and for running in a browser on pure JS.

Video of Linux Deploy 2.0

25 Feb 2017 | linuxdeploy

Demo of installing and running Debian on Android phone using Linux Deploy.

Release Linux Deploy 2.0

14 Oct 2016 | android linuxdeploy

Today was the official release of Linux Deploy 2.0, which includes many new developments that have been conducted over the past year. Not everything could be realized from what was conceived for one reason or another, it’s time to figure out what exactly has changed and how to live with it. For more details, see the project page.

linuxdeploy

Desktop environment in Linux Deploy 2.0

14 Sep 2016 | android linuxdeploy

Linux Deploy supports automatic installation and configuration of some of the most common desktop environments. Version LD 2.0 retains support for XTerm (full-screen terminal), LXDE, Xfce, and MATE environments. These environments are in almost all supported LD distributions, they are not very demanding on resources and can work without graphical acceleration. However, you can start other desktop environments manually. To do this, in the LD settings, select the “Other” desktop environment and execute the “Configure” command. After that, you need to connect to the container, install the packages of the desired environment of the desktop, and under the user (by default - android) edit the file ~/.xsession, prescribing the command to start the working environment.

WebSocket implementation for UNIX shell

04 Aug 2016 | bash

Websocket.sh is a cross-platform implementation of WebSocket server on bash. Only busybox is required to work, instead of bash, you can use ash. Can be used in embedded systems.

websocket.sh

Using Linux Deploy CLI on desktops

26 Jan 2016 | linuxdeploy

Despite the fact that initially Linux Deploy (abbreviated LD) was conceived as an application for Android, over time there are other options for its application. With the Linux Deploy CLI, a number of new features have become available that open up new uses for the tool.

Linux Deploy CLI is a command-line application designed to automate the process of installing, configuring, and running GNU/Linux distributions inside a chroot container. The application can work both in ordinary desktop Linux-distributions and on mobile platforms based on the Linux kernel, provided that the necessary dependencies are observed (all dependencies can be collected statically). Applications from the Linux distribution run in a chroot environment, operate in parallel with the main system, and are comparable with it in terms of speed. Since the work of Linux Deploy is based on a system call to the Linux kernel, only Linux distributions can act as guest systems.

Announcement of Linux Deploy 2.0

08 Dec 2015 | android linuxdeploy

Preparing for the release of the next version of Linux Deploy, which will include many new interesting features. The main one’s are:

BusyBox for Android

05 Oct 2015 | android busybox

The application is an installer of the latest version BusyBox for Android. The application contains a BusyBox assembly for various hardware architectures and is the assembly with the most complete set of functions, 335 applets are currently supported (for busybox v1.23.2). The application allows you to install BusyBox in the system or remove the one already installed. It is possible to select the installation directory and installation mode (with the installation of applets, with or without replacing existing applets). Also, the assembly can be saved to the memory card in the form of a zip archive for subsequent installation through a recovery.

busybox

Update time zones in Android

26 Sep 2015 | android tzupdater

The application appeared because of the current difficult situation with the update of time zones in Android. The International Time Zone Database is updated every month, but there are no regular means of updating this database on devices. Keep track of time zone updates and release timely firmware updates, in theory, should device manufacturers, but in fact it is not. As a result, Timezone Updater was developed, which downloads and updates to the latest version of the time zone data on the Android device. The time zone database and ICU data are updated. This application is designed to solve all the known problems associated with time zones in Android.

tzupdater