Author: dansku
bookmark_borderRunning a Helium Miner on DigitalOcean
In this tutorial, we are going to configure a brand new $5/month DigitalOcean server that will run one or multiple Helium miners. Note that by using the link above, you will be rewarded with a $100 credit bonus that is valid for two months, which is perfect to test the platform and also two months of free miner hosting!
I am not going to get into details about what Helium is and how to use it, but it’s an amazing project where people all around the world are getting together to build a HUGE LoraWAN mesh network to enable anyone to have access to an almost-free IoT network. To check more, go to https://www.helium.com.
bookmark_borderMy Overnight Sensation Speaker Build
When living in Berlin, back in 2016, I used to own a pair of M-Audio speaker monitors and I loved them, such an insane improvement from my computer or tv speakers.
Unfortunately, I didn’t manage to take them with when I moved to Lisbon in early 2018. After a few months in the new city, I decided that instead of buying a new set of monitor speakers, I was going to build one myself. Even have used a known design, there were many things that I had to custom build, and this is why I am writing this blog post, to share the process that took me from concept until the end. And I have to say, it turned out much better than expected 🤠!
bookmark_borderAccessing a FreeNAS Jail via SSH-Tunnel
If you ever need to remotely access an application running inside a FreeNAS jail, you can create an SSH Tunnel to the server and map the local IP Address and port of the jail with
ssh -L JAIL-PORT:JAIL-IP:LOCAL-PORT user@host
As an example, let’s say you can access your FreeNAS server via ssh with user@domain.com, the jail IP is 192.168.1.10 and it is running an application on port 8080.
To create the tunnel, you would use
ssh -L 8080:192.168.1.10:8080 user@domain.com
Once the tunnel is up and running, you can access the service locally with localhost:8080 🎉
bookmark_borderOrganizing your dropbox Camera Upload folder with Go
A few years ago I wrote a small Python script to organize the photos uploaded from your phone to Dropbox. Lately, I have been rewriting some of my python scripts to golang for practice and also performance.
All photos are uploaded to Dropbox with a name pattern like 2018-08-01 05.56.40.jpg. What all it does is to parse the date and move it to the right place, for example, 2018-08-01 will move it to a folder called 08-August inside 2018.
Source code:
You can also download the compiled file below, just make sure you make it executable with
chmod +x organize_photos
and run it with
./organize_photos
bookmark_borderAutomated door system
Earlier this year we moved from Berlin to Lisbon and found a nice apartment not too far from the city center.
Our apartment building door, like most around Lisbon, is old and doesn’t work very well. And with many friends coming to visit this summer, I decided to automate the door so that me and my friends can open the door using our mobile phones instead of spending 5 minutes trying to jiggle the key in the lock to get it open.