Quantcast
Channel: agilob – agilob in the Net
Browsing all 63 articles
Browse latest View live

What the hell, something broke my packageManager on Android.

Because I work on a laptop, I was experimenting with different wireless adb apks for Android, having a cable under my hand isn’t too handy. After a few tests I started getting that error:...

View Article


Setting up SonarQube for Android Gradle project to improve code quality

I’m working on a new Android project which I inherited. Well, I forked it because I didn’t feel welcomed to contribute to the project and I see a lot of places where improvements are needed. First, I...

View Article


XXX loves opensource…

…that’s why we published our product on OSI-compatible license! We <3 open-source! Well, does Microsoft/Google/Apple/Netflix/XXX really love open-source? No, they don’t. In fact they do more to...

View Article

Timelapse using Raspberry Pi from my sea-front flat

I made a timelapse video using Raspberry Pi from my sea-front flat in Aberystwyth where I studied for 4 years. Bash script was called every 30 seconds to take a picture for 4 days. To prevent running...

View Article

QFakturat – program do zarządzania fakturami, produktami i danymi klientów na...

Kilka lat temu, żeby zdobyć trochę doświadczenia poza Java i Ruby, zabrałem się za naukę Qt4.8 i C++. W ramach tego ćwiczenia zacząłem pracować nad aplikacją, która nie istniała wtedy na Linuxa i...

View Article


Automated updates on Debian using Tor and official hidden services

I like to automate some boring and easy tasks we all have to do often, so I would like to share with you an easy but not too widely known trick in Debian/Ubuntu for automated upgrades, that can be...

View Article

Rust – get user’s home directory

fn main() { let mut path: PathBuf = get_app_dir(); path.push(".config"); path.set_file_name("properties"); path.set_extension("ini"); let str_path = path.to_str().unwrap(); if str_path.len() != 0...

View Article

Automated delivery and publication of apps using FDroid and GitLabCI

In my spare time I develop applications on Android. I also “maintain” F-Droid repository for some of my public projects. I wanted to automatically publish each build after: Compilation passed Test on a...

View Article


Test coverage on GitLab CI in a rust-cargo project

This topic presents who to setup kcov with cargo to get a test coverage for a cargo project, so I just assume you got kcov working in your Linux distribution and you have a project with source code and...

View Article


Omnia Turris – random rainbow colours

Script for Omnia Turris making your router light with random colour every second.       #!/bin/bash colors=('red' 'blue' 'green' 'white'); leds=('lan0' 'lan1' 'lan2' 'lan3' 'lan4' 'pwr' 'wan' 'pci1'...

View Article

Consequences of running Tor node on your server or home computer

A lot of people, websites and communities encourage you to run your Tor node – middle node or bridge, not exit node, but none of them tell you about real consequences of keeping a Tor node active for a...

View Article

Insulting sudo mode

Sudo has an easter-egg that’s disabled by default. It can insult you each time you provide incorrect password. Just like that: [sudo] password for agilob: You can't come in. Our tiger has got flu...

View Article

UNIX-history source codes on GitLab

I found that there are some people on GitHub that collect source codes from early UNIX ages, like first compilers, first shells, or PDP7-UNIX. Just to made them available in one place (slightly...

View Article


Spring Boot – multi-database setup

To be able to access two databases in SpringBoot you must define two data sources. In my case I had one database for identity details of users, like username, name, email, address etc. and second...

View Article

Adding user to Tomcat in Docker

When using official Tomcat server from Docker Hub you will face a problem with opening management UI, because there is no default login or password in that docker image, so the only app management site...

View Article


Gradle – up-to-date and secure dependencies

Everyone knows it’s important to keep dependencies up to date. The risks of not updating them are very often high, you risk losing your data or data of your customers, being part of a botnet, or just...

View Article

SpringBoot creating UserDetailsService authentication

There are plenty of online tutorials showing how to create database-based authentication for Spring. Some of them use SQL query to authenticate user and retrieve its roles, some use DAO… but none of...

View Article


Qt5 on FreeBSD

For a reason FreeBSD doesn’t support Qt5 build tools out of box. There are a few problems that have to be solved before you can run qmake && make to build a project. Firstly, my default setup...

View Article

Content-Security-Policy for WordPress with Disqus…

…that works in nginx: add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' agilob.disqus.com disqus.com a.disquscdn.com referrer.disqus.com; img-src...

View Article

What the hell, something broke my packageManager on Android.

Because I work on a laptop, I was experimenting with different wireless adb apks for Android, having a cable under my hand isn’t too handy. After a few tests I started getting that error:...

View Article
Browsing all 63 articles
Browse latest View live


Latest Images