Pedro Luz
A personal blog by Pedro Luz about coding, coding, habit building, and a few things more.(Psst... I am open to opportunities.)

Typescript, undefined and null

In Typescript, undefined and null are sub-types of any other type (string, boolean, number, void), which means that you can use undefined or null to replace any other type.

SendGrid and Phoenix Framework

This is a small tutorial explaining how to use SendGrid to send emails in Phoenix Framework (1.4)

Nedb

NeDB

Mine

Mine

My first milkshake, made by me

Milshake

Basic Swift - Optionals

Swift

React and Redux

React and Redux

Basic Swift - Operators

Swift

Basic Swift

Swift

Aurelia CLI html minification

How to work with javascript minification in AureliaJS

I'm back

I'm back

Emacs, scroll page without moving point

Emacs, scroll page without moving point

What is Emacs?

What is Emacs?

Links in Aurelia

How to work with links in Aurelia

AureliaJS Form Validation

AureliaJS Form Validation

AureliaJS RC is here

AureliaJS RC is here

Custom attributes with AureliaJS and Moment

Custom attributes with AureliaJS and Moment

Delete multiple buffers with Helm

Delete multiple buffers with Helm

Run composer without memory limits

Sometimes when you are running composer update/install you get this weird memory message:

NodeJS, manage versions

I’ve found some problems while using the latest version of nodejs (6.0.0)

GODEP, Dependency tool for GO

Today I decided to start using GODEP to manage package versioning in GO.

Go and multiline strings

Go and multiline strings

Installing and Using ANT on Mac

What is ANT?, How to install on Mac and how to use it.

Add DATE_FORMAT to Symfony Doctrine DQL

Add MySQL function DATE_FORMAT to Symfony Doctrine DQL

Set JDK enviroment path in Fedora?

Set JDK enviroment path in Fedora

Some good PHP related presentations

Some awesome presentation links. Mandatory to watch.

Unity3D Csharp scripts for continuous rotation

Just some basic script for continuous rotation in Unity3D, with some simple params.

Fix date_default_timezone_get() warning

Prevent date_default_timezone_get() warning in Symfony2

Use PhpStorm External Tools

One of the good features is the ability define External Tools and call them when needed.

jQuery prepend, append, before, after

One of the most used methods (at least for me) are prepend, append, after, before.

Vagrant, no more MAMP?

Vagrant is a command line manager for VM (Virtual Machines). Vagrant allows developers to create and manage virtual machines using the command line, and most important of all, allows developers to specific say what they what to be included in that VM.

Like Portugal – Portugal, the place to grow!

Like Portugal – Portugal, the place to grow!

My fav Sublime Text shortcuts

These are the most common keyboard shortcuts that I use in Sublime Text 2

Reach out to me on your favorite social :)© 2020 Pedro Luz