HTTP Status codes

 

[Swift] Get devices model range

Here a simple and easy memo for getting the iPhones devices models range.

Read More

 

Swift – Calculate Levenshtein distance

Ciao,

here a conversion on an old tutorial in Swift about the Levenshtein distance of two strings.

Read More
 

XCode ‐ Podfile with categories and multiple targets

Welcome back,

what I want to share is an ordered and readable Podfile.

The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects.

Read More

 

It’s time for retrospective!

 

M5Stack – Review and useless saturday code

This is my new nerdy stuff: M5Stack, Arduino compatible!

M5Stack is an open source enclosed modular toolkit with stackable modules, user-friendly IDE, enabling rapid and high-quality prototyping

Read More

 

Arduino/iOS – Bike speedometer tracking using bluetooth

Scope of the project,
add a speedometer on my MTB to store and track the trip using only Bluetooth transmission, send data to iPhone and store to cloud for later data-analysis.

Used components:

  • digital display (controlled by the iOS app). Can show current speed (km/h), total km, current temperature, current humidity.
  • GPS module
  • bluetooth module
  • DHT sensor for temperature and humidity
  • Swift backend
  • mongoDB as database
  • Swift iOS App
Read More
 

Unity3D – Draw hexagons map in canvas

Today, a code extract from one of my 3d games… (Viruz!, download here), an hexagons map.

grid_hex

Example of hexagons map:

Read More
 

Viruz # the game (iOS/Android)

 

[App] Viruz game for Android

A computer virus history game, from 1971 to 2016.

Collect all power-ups, get all hearts to completely clean the level (virus) entering in the portal (that appear when you can finish!).

Read More