Laur's blog
Sign in Subscribe

check

A collection of 3 posts
Check Duplicated Paths with LoDash (and Angular 2)
check

Check Duplicated Paths with LoDash (and Angular 2)

One of the things I'm looking at is to be able to create a list of paths I'd want to scan. The first iteration had blind addition to the list. However, this would make the user's responsibility to manage the duplicated paths, which is
Feb 20, 2017 2 min read
Simple Floating Point Equality Check in C++
c

Simple Floating Point Equality Check in C++

TL;DR: Here you can see a handmade comparison function for floating point values. While working on a C++ project using templates, I had to perform an equality to see if two values are identical. While the == is OK for integer values, it is not really OK for floating point
Dec 21, 2015 1 min read
Fix "Damaged app" Message
application

Fix "Damaged app" Message

TL;DR: Use xattr -rc /location/MyApplication.app (see here). I use to save all my apps on my NAS. The other day I wanted to use an old app for colour palette. I've downloaded it from my NAS and...: “MyApplication” is damaged and can’t be opened.
Nov 17, 2015 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost