This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* I2C/IIC LCD Serial Adapter Module Example | |
* Tutorial by http://mklec.com | |
* | |
* Instructions at http://blog.mklec.com/how-to-use-iici2c-serial-interface-module-for-1602-lcd-display | |
* | |
* This uses the Liquid Crystal library from https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads GNU General Public License, version 3 (GPL-3.0) | |
* Pin Connections: | |
* SCL = A5 | |
* SDA = A4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Convert URLs To Links Without RegEx | |
* | |
* @author David Miles | |
* @link https://gist.github.com/amereservant | |
* | |
* After trying several RegEx patterns to try and match URLs and all of them failing to | |
* accurately match them, I decided to take a simplier approach. Since URLs are continuous | |
* strings and begin with a given string (http in this case), All I had to do was use simple |
OlderNewer