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 ArticleHow 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 ArticlePHP 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 ArticleFreeBSD – 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 ArticleReverse 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 ArticleMy 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 ArticleLinux 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 ArticleBtrfs 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 ArticleRaspberry 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 ArticleCTT – 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 ArticleCustomizing 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 ArticleProcmail with Qmail + Vpopmail
Following the qmail threads in this blog, and after a successful experience filtering emails in the server with a php script! time was upon to thinker a bit with the elder of all email server filters,...
View ArticleRaspberry PI running from an external HDD
This is a scenario where you have an external HDD (or “pen” drive) connected via USB to the PI. The SD card will be just used for the boot sequence then everything will work from the external HDD, I...
View ArticleRaspberry PI sending emails
Using the PI as an headless server doing some stuff, it’s a good thing to have reports by email. The best and easy way is to run sSMTP a very simple program that sends outgoing email to a mailhub for...
View ArticleGetting the feet wet with DKIM
DKIM stands for DomainKeys Identified Mail, it’s an anti-phishing / anti-spoofing system for email that relies on private/public key system to authenticate the origin of the email. Kind of SPF records...
View ArticleThe Virtualbox post
Mainly to myself, my repository of tips and tricks of running Virtualbox under Linux. Feel free to user at your own risk. Configuration location /home/$USER/.config/VirtualBox Connected USB devices not...
View ArticlePF firewall – Simple IP block
The easiest way to block IP addresses in a system with PF firewall is to create a persistent block table, and then just interact with the table. In /etc/pf.conf table <badhosts> persist set skip...
View ArticleTransportation 2.0
This post is on drafts now for about 2 years, it’s a concise summary of my Tesla investment thesis. My mental carburetor chocked at AI and autonomous driving… and guess what? I still have a shallow...
View ArticleWarning – Don’t touch Wagerr.com
In my mind there is no doubt the future of betting is on the blockchain. Anonymous, transparent, fully verifiable, trustless, without banks or governments interference. As an investor I’m doing my...
View ArticleTesla Model 3 2024 review
In a world full of lengthy video reviews here goes my information packed, honest review of the refreshed Tesla Model 3 “Highland” after 5000 kilometers. It does have some flaws like the rest of us,...
View Article