LoigeLoige

Luciano Mammino

Cloud developer, entrepreneur, fighter, butterfly maker!

8 invitations to try Keybase.io

Hello dear developers, today I finally got my invitation to access the private beta of Keybase.io! 😎 🎉 For those who are not aware of this new service, Keybase.io is a website and a command line application that makes easier to adopt asymmetric cryptography to encrypt and authenticate messages. But it’s not just this, it’s also a “directory of people”, as they like to say. It’s like a social network, where everyone can easily share its public key and attach it to its social profiles (like Twitter, Github…

Luciano Mammino's Profile pictureLuciano Mammino#security, #cryptography26 May, 20153 min

Read the post →

Introducing flickr-set-get a command line app to download photos

I recently developed a small command line app that allows you to download an entire gallery from Flickr, it’s called and you can find it on NPM and GitHub. Why? To be honest I had myself the need to download a large set of photos (more than 400 photos) from Flickr and I didn’t wanted to do it manually. I also wasn’t able, after a quick search, to find something simple to solve this task. Given that I am currently getting into deep of Node.js this was the perfect chance to develop something practical. How…

Developing a web application with Lumen and MySql

Lumen is a new Php micro-framework developed by Taylor Otwell, the same author of the famous Laravel framework. I wanted to give it a try and I am here to share my experimentations. I am not an expert of Lumen (yet), but I think one of the best characteristics of this framework is that it makes really really easy to bootstrap a new project. So to prove this, we will now build a fully functional app backed by a MySql database in less than 30 minutes. Are you ready to start? A motivational quote everyday Our…

Symfony, edit the Response globally using the Kernel Response event

One of the things I like most of the Symfony framework is its Http Kernel component. Not only it does offer a very straightforward abstraction to handle requests and responses in an object-oriented way but it also allows you to interact with the whole response generation process through events. This approach is very convenient and flexible and in fact the Http Kernel component is the foundation of the Symfony framework but also of several other famous frameworks (Silex, Laravel) and CMSes (Drupal, BackBee…

5 lessons learned at the Bank of Ireland Accelerator

What a hell of 3 months! During the last 3 months I haven’t got a single minute to take care of this blog. I started a new adventure and moved to Ireland to attend the Bank of Ireland Accelerator Programme in Cork with my startup Sbaam. There I spent 3 incredible months with a huge amount of lessons learned about startups and entrepreneurship. I want to share with you 5 of the best quotes I heard from the mentors and explain what I learned from them. Consider this is my first “non technical” post with a lot…

Simple echo server written in Go, dockerized!

In this post we will see how to write a (very) simple Go server app and how to put it into a Docker container and run it. Disclaimer: I’m an absolute beginner with both Go and Docker and this is just an experiment I did to start to explore this two interesting technologies. If you’ll find something weird or wrong you are very encouraged to scream at me in the comments (Comments), I will be extremely thankful ;) Introduction We are going to write a simple echo server in Go and then we will pack it into a…

Transparent pixel response with Symfony, how to track email opening

If you have ever heard about ”transparent pixel”, ”1x1 blank pixel”, ”tracking pixel” or simply ”tracking image” you probably know what we are going to talk about and can just skip to the implementation! Introduction Transparent pixel image is a technique often used to track some user behavior (often visits or views to a certain online content) in scenarios where you can’t use javascript. One of the most common scenarios is probably email opening tracking. Can you put Google Analytics into an email? Well…

Introducing ORM Cheatsheet

This week I received an interesting email from Martin Stradej, the developer of ORM Designer, a tool to design ORM relationships with a simple but powerful graphic user interface. Martin wrote the mail because he wanted to acknowledge me of his latest project: ORM Cheatsheet. ORM Cheatsheet, as the name suggests, is nothing more than a reference website for those who struggles with some of the most common Php ORM libraries (it currently supports Doctrine2 and Doctrine, but it seems that Propel and Cake PHP…

3 invitations to try Atom.io

I have finally got my invitation to try the new text editor Atom.io. Atom is built with web technologies (node.js in it’s core) by the folks at GitHub and it’s somewhat very similar to the famous SublimeText. In my opinion it seems very promising (even if it’s significantly slower than SublimeText), anyway I have to try it a lot more before shaping a serious opinion about it. The point of this topic is that Atom.io is currently in closed beta and I have received 3 invitations to share with whom is willing…

Reset your MySql server password

Few days ago I learned an interesting trick that allows you to reset the password on a MySql server. This trick is pretty useful in case you have lost (or you haven’t ever had) the password of your MySql root user. You just need to throw some commands at the console. Note that I am assuming you are using Ubuntu or some other Debian derivate. Otherwise the commands may change a bit (but not to much I believe). 1. Stop the mysql daemon 2. Disable the security checks The mysqld_safe command will essentially…