Quantcast
Browsing all 29 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

FreeBSD migrating user accounts

Quick and dirty way to migrate user accounts from one FreeBSD box to another. From the source box you will only need two files: /etc/master.passwd /etc/group copy them to the target box, but DON’T...

View Article


Setting up SSH access with server keys (no password) in FreeBSD

You want to login from user@host-a to user@host-b automatically (with no password prompt). Install ssh-copy-id in the host-a. This little handy script takes care of all the dirty details from your...

View Article


Image may be NSFW.
Clik here to view.

DNS server with djbdns (VegaDNS GUI + bonus replication)

This is my personal guide to setup djbdns tinydns DNS server to publish domain name information to the Internets. If djbdns, tinydns, name server, dns are strange words just move along, move along… If...

View Article

Image may be NSFW.
Clik here to view.

Parsing Media RSS with PHP SimpleXML

Parsing XML docs with PHP SimpleXML is pretty straightforward. Yesterday i lost around 5 minutes to parse a Media RSS XML, and that was weird because normally with SimpleXML you take like 30 seconds… A...

View Article

(auto magically) Deleting old Spam emails

If you followed My Qmail installation guide, or are using some kind of webmail or IMAP client that puts “SPAM” marked emails in some special folder, you can provide auto delete of old spam emails. The...

View Article


.qmail delivery filtering by adress and subject

My goal was simple, to filter incoming emails by subject and to address (on a catch-all address…) in the server and move the matches to a specific folder instead of the normal delivery. I’m running a...

View Article

Image may be NSFW.
Clik here to view.

Hands on the MK809II

I bought myself a MK809II, a Chinese TV stick running Android that connects to the HDMI port of your dumb TV and transforms it in a smart TV. It’s pretty inexpensive, going for about 50 euros and...

View Article

Image may be NSFW.
Clik here to view.

Qmail/Vpopmail renaming a domain

In a Qmail/Vpopmail email server system, there is no direct way to rename a domain. Let’s say, you have a costumer that is using domain.net and then registers domain.com to replace domain.net. The...

View Article


Image may be NSFW.
Clik here to view.

Raspberry PI configuring Wi-Fi command-line

This was a saga… i bought myself a second hand USB dongle, a Dynamode WL-700N-XS ultra compact (nano) 802.11b/g/n compatible Wi-Fi adapter, based in tbe Realtek 8188CU chipset. A fully updated USB...

View Article


Image may be NSFW.
Clik here to view.

Raspberry GPIO

Finally the fun stuff. Messing around with the General Purpose Input Output of the PI. So, first things first. First you must identify what revision PI you are working. Visually, looking at it, if...

View Article

Image may be NSFW.
Clik here to view.

How to calculate resistors for leds

For the, what resistor should i put in the circuit so my led don’t fry question. There is a very easy way, go to a on-line calculator site like http://ledcalculator.net/, input the values and bazinga...

View Article

PHP get a Youtube video duration

To make this work you need to go to Google Developers Console, create a project, enable the YouTube Data API v3, and get a key in authentication key in credentials. This is pretty much the difficult...

View Article

FreeBSD – Configure a private IP jail

If you use jails (or want to use jails) but your pool of IP addresses is somewhat limited don’t worry. You can fully configure and use a jail in a private IP, and even assign port forwarding from the...

View Article


Reverse DNS with djbdns on private IP

Preface: I remember long time ago when i had to mess around with BIND, the old, venerable, security flaws rich history, and of course the not for humans configuration file, name server. I’m so happy...

View Article

Image may be NSFW.
Clik here to view.

My Qmail installation guide reloaded

A couple of years ago I posted my Qmail installation guide, and has expected it served me good when was time to reform to the old mail server. But, i made some changes on this iteration and i think is...

View Article


Linux snapshots – apt-btrfs-snapshot

Since a couple (half dozen) of years I have been using the beautiful KDE Desktop in the very well made and supported Kubuntu distribution. As technology progresses and the switch on desktop computers...

View Article

Image may be NSFW.
Clik here to view.

Btrfs killed ZFS (on my desktops)

Following the latest post about Btrfs, until yesterday both ZFS and Btrfs were running for testing and evaluation purposes, in my primary desktop machine. The outcome was pretty straight forward, i...

View Article


Image may be NSFW.
Clik here to view.

Raspberry PI open hotspot for your company site(s) only

The problem is really simple, you want/need to give open Wifi to your customers (let’s say inside a shop), but to you own company website (or websites) only. And nothing else, no other resources in the...

View Article

Image may be NSFW.
Clik here to view.

CTT – Correios de Portugal check-digit

I was unable to find anywhere a Portuguese national postal service, package registry number check-digit validation. So, I politely asked them and soon after a PDF describing the algorithm was on my...

View Article

Image may be NSFW.
Clik here to view.

Customizing WordPress Jetpack Mobile Theme

I have successfully using Jetpack Mobile Theme to serve the mobile version of my blogs, as of now it uses a theme called minieleven (that is starting to look a bit old…), with some tweaks here and...

View Article
Browsing all 29 articles
Browse latest View live