martedì 16 ottobre 2018

10 Twig tips

Simply an interesting article sharing 10 Twig tips.

lunedì 17 settembre 2018

My technology sites list

A group of sites sharing interesting articles for developers. Other sites along the way.

Let's start:

giovedì 13 settembre 2018

How to Create Symbolic Links in Windows 10

You need to open "command prompt" (not "power shell") as administrator and then you can easily do it by "mklink" command.
To find "command prompt" icon you can use Cortana and then click right bottom mouse and select command prompt (admin)

Files symbolic link

mklink Link Target

mklink "E.\path\symbolic_link.txt" "E.\path\real_file.txt"

Directory symbolic link

mklink /D Link Target

mklink /d "E.\path\symbolic_link" "E.\path\real_folder"


sabato 16 giugno 2018

Relations between models

Relations between models are a fundamental topic in ORM and a key knowledge in coding and is not easy to find good explanations.

Here it is some good articles about it:

Relation Many to Many
Pivot tables and many-to-many relationships

domenica 13 maggio 2018

Reset user password in Linux Bash on Windows 10

  1. edit file (in notepad or notepad++):
  2. find your normal user, for example:
    and simply remove the hash part (below part)
    you will see a different hash - I hope :), so should look like:
  3. Save the file
  4. start bash again
  5. sudo bash
  6. password this will ask for your new password without requiring previous one.