Design Patterns

https://sourcemaking.com/design_patterns

The difference between a unique index and primary key in MySQL

http://www.xaprb.com/blog/2009/09/12/the-difference-between-a-unique-index-and-primary-key-in-mysql/

LibreOffice missing certain Microsoft fonts

sudo apt-get purge ttf-mscorefonts-installer sudo apt-get install ttf-mscorefonts-installer

Including Foreign Keys in Doctrine2 Array Results

http://shout.setfive.com/2015/01/31/including-foreign-keys-in-doctrine2-array-results/

Keep sensitive information out of your chat logs and email. Share a secret link that is available only one time

https://onetimesecret.com/

Browser, Operating System (OS), Device, and Language Detection PHP Library

Detecting the user’s browser, operating system, device and language from PHP.

HTML to PDF converter

dompdf is an HTML to PDF converter. At its heart, dompdf is (mostly) CSS 2.1 compliant HTML layout and rendering engine written in PHP. It is a style-driven renderer: it will download and read external stylesheets, inline style tags, and the style attributes of individual HTML elements. It also supports most presentational HTML attributes.

PHPOffice

PHPOffice contains libraries which permits to write and read files from most office suites.

Vagrant insecure key detected. Vagrant will automatically replace this with a newly generated keypair for better security

If during first ‘vagrant up’ you see in log output: Vagrant insecure key detected. Vagrant will automatically replace this with a newly generated keypair for better security. Inserting generated public key within guest… Removing insecure key from the guest if its present… Key inserted! Disconnecting and reconnecting using new SSH key… you can add this ...

SunCalc is a little app that shows sun movement and sunlight phases during the given day at the given location

You can see sun positions at sunrise, specified time and sunset. The thin orange curve is the current sun trajectory, and the yellow area around is the variation of sun trajectories during the year. The closer a point is to the center, the higher is the sun above the horizon. The colors on the time ...