Quantcast
Channel: Geek Stuff – Marco Gonçalves
Browsing latest articles
Browse All 29 View Live

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

Procmail 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 Article

Raspberry 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 Article


Raspberry 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 Article

Image may be NSFW.
Clik here to view.

Getting 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article

PF 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 Article


Image may be NSFW.
Clik here to view.

Transportation 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 Article

Image may be NSFW.
Clik here to view.

Warning – 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 Article

Image may be NSFW.
Clik here to view.

Tesla 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
Browsing latest articles
Browse All 29 View Live