My Networking Survival Kit

In this small tutorial I’ll speak about tunneling, ssh port forwarding, socks, pac files, Sshuttle I’ve been using Linux since 1995 but I have never been interested a lot in networking. In these many days of smart working (due to Covid-19) I have found some useful tricks to connect to remote systems that are not directly reachable from my lan/vpn Case 1 (port forwarding): I wanted to connect to at tcp port 10000 but I was not able to reach it directly but only through an other host (tunnelhost....

March 15, 2020 · 2 min · 379 words · Matteo Redaelli

How to backup and restore Glue data catalog

How to recover a wrongly deleted glue table? You should have scheduled a periodic backup of Glue data catalog with aws glue get-tables --database-name mydb > glue-mydb.json And recreate your table with the command aws glue create-table --cli-input-json '{...}' But the json format of aws glue get-tables is quite different from the json format of aws create-table. For the conversion you can use a simple python script like the following one...

February 21, 2020 · 1 min · 106 words · Matteo Redaelli

Google Assistent in italiano per comandarele luci Xiaomi

Finalmente posso comandare le luci (xiaomi) di casa mia in italiano con Google Assistant! Per esempio funzionano le frasi accendi le luci spegni le luci luce rossa luce banca calda …

March 17, 2018 · 1 min · 31 words · Matteo Redaelli

Latest packages for Elixir Haskell Lua dotNet NodeJs Php Python R Ruby Scala

The site collects the last updated packages for most of programming languages (at the moment Elixir Haskell Lua dotNet NodeJs Php Python R Ruby Scala)

August 10, 2017 · 1 min · 26 words · Matteo Redaelli

howto extract sentences from an ebook/doc/pdf/text file

You can easily extract sentences froma epub/pdf/office/text file thanks to the opensource projects [Apache Tika](http://Apache Tika) and Apache OpenNlp with a command like``` java -jar tika-app-1.14.jar -t ebook.epub | opennlp SentenceDetector

April 5, 2017 · 1 min · 32 words · Matteo Redaelli