Lunh valid Credit Card number generator, for arbitrary BIN

If you run your own payment page, you probably know by now that MasterCard’s new 2-series BINs ranges are coming, and having some test cards to run against validators is always good in order to check that front end update is going well, but where to get them? There are many websites that provide generators that produce test … Continue reading Lunh valid Credit Card number generator, for arbitrary BIN

Mind the dollar while debugging, jQuery vs Command Line API

The number one reason jQuery is the most loved and used front end library of the whole internet is the handy DOM selection API that allows to use the CSS syntax to interact with page elements, and the other convenient factor is the alias $ (dollar sign) that is was unique and short enough (one character, dhu) to make it … Continue reading Mind the dollar while debugging, jQuery vs Command Line API

Mail app killing CPU and battery on Mac OSX

This is a strange period in technology, while the world talks about going green, saving power by unplugging home devices while unused because that small LED light multiplied by millions of users costs lot of energy, it seems instead that hardware manufacturers, software developers, and IT companies more in general don’t give a fuck about any … Continue reading Mail app killing CPU and battery on Mac OSX

DCMprovider, Gallery and battery drain on Samsung Galaxy Note 4

I’m a Note user since 2012 when I switched from an iPhone 3GS to the Note 2, and loved the S Pen experience ever since, reason why I stayed loyal to this series till Note 4, but the one thing that unfortunately got worse over time after every software update was bloatware and subsequent overheat and battery drain. After … Continue reading DCMprovider, Gallery and battery drain on Samsung Galaxy Note 4

Scam from China Registry, why it’s stupid and you can ignore it

You’re here for the same reason I had to google about them last week, this “Domain Registration Service company in China” thing that claims someone wants to register your keyword and your domain with chinese TLD, urging you to escalate with the CEO. Why it’s stupid I got one, and they want to use “simonerescio” as … Continue reading Scam from China Registry, why it’s stupid and you can ignore it

Git – How to unfuck by Melanie G. A. PATRICK

A nice handbook for “unfucking” git commits with command line when things get ugly by Melanie G. A. PATRICK from Trivago

One I’d like to add myself, experimented today on my skin, is about fetching.

Let’s say you created some new tags on BitBucket/Stash/YourGitRepositoryOfChoice and now you want to checkout locally one of these new tags. You might assume that firing a “git fetch” will update everything, you proceed to checkout the tag but your command fails.

Turns out that if you want the tags to be updated, you’ll have to ask for them explicitly :

git fetch --tags

Before version 2 of git, the fetch command alone would update branches heads and with –tags option would update only tags, after version 2 when the option is included it will update tags and branches heads, aligning local workspace with remote repository.

 

How to enable for free HTTPS for a site on shared hosting

Let’s start with a right and proper premise : when it comes to security there’s no silver bullet in this specific case the “s” that is affixed to the end of the HTTP protocol does, indeed, stand for “secure” but it should read “more secure“. Probably you’ve heard about the infamous Heartbleed bug that became notorious … Continue reading How to enable for free HTTPS for a site on shared hosting

Spell updated with support for greek alphabet

With the release of Spell 1.4.0 today on Google PlayStore I introduced support for spelling characters of the Greek alphabet, widely used in mathematic and scientific notations. The reference guide was as usuale the official Unicode table for Greek characters, within the unicode ranges of u0391-u03a9 for upper case letters, u03b1-u03c9 for lower case letters, u0375-u03ce for accented letters and special characters. For the pronunciation … Continue reading Spell updated with support for greek alphabet

You have not misunderstood closures and variables scope, Chrome debugger is trolling you

Suppose you need to add a new feature to an existing and relatively complex module, inside you will find already declared several local variables such as external dependencies, and aliases for paths of particularly lengthy objects. The approach that I use when I have to explore a new component or flow is to set a … Continue reading You have not misunderstood closures and variables scope, Chrome debugger is trolling you