Home Atom Json RSS

Reference

A collection of articles on various topics that interest me. Written mostly in order to document my own solutions to problems, and published in the hope that they may help others save some time.

2015

ArchLinux iSCSI on BeagleBone Black

I recently hooked up a BeagleBone Black to an iSCSI target on a Synology NAS. The iscsi_tcp module is not being built in the legacy kernel by default. Newer versions of the kernel include it as a loadable module.

~ Read

ArchLinux Internet Connection Sharing on BeagleBone Black

I have a BeagleBone Black connected directly to my desktop PC for development and testing. Occasionally, I need the BBB to connect to the internet, for example to download updated packages. This post describes how I am sharing the internet connection between the two computers.

~ Read

ArchLinux AX88179 on BeagleBone Black

Last time I checked there was no built-in support for AX88179 chipsets in the ArchLinux kernel for BeagleBone Black yet. As these chips are now being used more widely in USB 3.0 adapters for gigabit ethernet, this post describes how to install the kernel driver manually.

~ Read

ArchLinux Kernel Compilation on BeagleBone Black

I recently had to modify and recompile the kernels on my BBB’s. Cross-compilation is well documented on the internet, but what if you want to compile directly on the device? Here are the steps.

~ Read

Restoring KDE Multiple Monitor Display Settings

When running multiple monitors on KDE, the current display settings may not be restored after reboot. Replacing xrandrmonitor with kscreen is one easy way to work around this.

~ Read

25 Absolutely Stunning ArchVis Projects in UE4

A selection of architectural visualization projects released by UE4 users in the recent months.

~ Read

2011

SonicWall TZ 210: Access Public Server from within LAN and DMZ

This article describes how to setup a loop-back NAT policy that allows firewalled computers to access a server using the server’s public IP address or FQDN.

~ Read

Implementing the abs() Function in Plain C/C++

This article describes how to calculate the absolute value of an integer without using any built-in functions in C or C++. The problem is based on an interview question that I used to ask candidates every once in a while, and it was not so much about coming up with an algorithm, but rather about understanding why the proposed algorithm works.

~ Read

jQuery Plugin to Convert CSS Pixels to em, pt, percent and other Units

This article presents a small jQuery plugin to convert the dimensions of HTML objects to various CSS units, such as em and percent. The code is based on a popular implementation from the internet and fixes a subtle problem with the original conversion calcuation.

~ Read

Disabling Client-side Caching in RavenDB

While editing documents in RavenDB Management Studio for testing, it became evident that the changes were not reflected in the website that was using the database. By default, RavenDB caches client queries. This article describes how to disable this feature, should the need arise.

~ Read