Site Under Maintenance

Android Crash Fix: firebase_admob (0.6.1+1)

Oct 20, 2018 in Notes

The bug is described in issue #23102.

The cause can be backtracked to the latest Google Mobile Ads SDK change (v.17.0.0): https://ads-developers.googleblog.com/2018/10/announcing-v1700-of-android-google.html

The temporary fix when using firebase_admob (0.6.1+1) is to add your AdMob app ID to …

read more

Weekly TL;DR: Flutter vs React Native

Oct 14, 2018 in Weekly TL;DR (Programming)

This week we'll be looking at a comparison between two open-source mobile application frameworks, namely React Native and Flutter.

Mobile development is nothing new, you usually use native solutions à la Java/Kotlin (Android) or Objective-C/Swift (iOS). Cross-platform doesn't have to be like this though, React Native and Flutter will help you with maintaining just one code base! There are other similar cross-platform frameworks available, but today we'll be focusing on these two only, as I have written and published Apps with both frameworks already.

read more

Weekly Underrated: Kanashikute Yarikirenai

Oct 06, 2018 in Weekly Underrated

Japanese 悲しくてやりきれない
Romanized Kanashikute Yarikirenai

This post refers to the cover by Kotoringo (コトリンゴ) for the movie "In this Corner of the World" (この世界の片隅に), released in 2016. I would have probably never found this piece if it wasn't for the great movie.

You shouldn't expect heavy action scenes in this …

read more

SSH and Port Knocking

Nov 13, 2016 in Linux

It turns out that SSH brute-force attacks, dictionary attacks or combinations of those are daily routines nowadays. Server logs are quickly filled with login attempts, in the hopes that one of them is right. The best prevention against these kind of attacks is to - obviously - have a secure password, or …

read more

GPG Cheatsheet

Oct 03, 2016 in Linux

GnuPG (GNU Privacy Guard) is a tool for encrypting and signing data. It is a completely free implementation of the OpenPGP standard (defined by RFC4880), which is also known as GPG. This post contains a brief overview of the most important commands you probably have to use when working with …

read more

Postfix and SMTP Relaying on CentOS 7

May 01, 2015 in Linux

One way to transmit mail within a local server is by sending them directly through third party mail servers on the Internet using the SMTP protocol.

Postfix is a free and open-source mail transfer agent (MTA) and available in most Linux distributions (including CentOS 7!).

This guide will outline the …

read more

XML Introduction

Jan 02, 2015 in Cheatsheet

A XML (short for Extensible Markup Language) document consists of:

  1. the prolog (optional)
  2. the document type definition (DTD, optional)
  3. the root element (which furthermore consists of more elements, tree structure)

Comments and processing instructions can be defined outside of tags.

Prolog

The basic prolog looks like this: <?xml version="1 …

read more

Using Git to Manage a Live Site

Aug 09, 2014 in Linux

Uploading files to production level after every change in code can be quite a hassle. Most people would use an automated deployment system instead of doing it manually. We can create an automated deployment system ourself by just using a version control like Git, which would also only take a …

read more

Quick Introduction to C

May 01, 2014 in Cheatsheet

C Preprocessor

C preprocessor code will be executed before compiling the actual c code.
Preprocessor lines start with # and do not end with a semicolon (in contrast to usual code instructions).

#define MAX_SIZE = 1
#undef MAX_SIZE

The first instruction replaces instances of MAX_SIZE with 1. The second instruction undefines the …

read more

VHDL Snippets

Dec 03, 2011 in Programming

Entity

entity ENTITY_NAME is
port(
    i_a : in std_logic;
    i_b : in std_logic;
    i_c : in std_logic;
    o_c : out std_logic
);
end entity;

Architecture

Processes run concurrent to each other.

architecture ARCHITECTURE_NAME of ENTITY_NAME is
type states is (q0, q1, q2, q3);
signal state : states; -- end internal signals

begin
-- concurrent code
PROCESS_NAME : process(i_c …
read more