See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| [ | |
| { | |
| "name": "Afghanistan", | |
| "flag": "🇦🇫", | |
| "code": "AF", | |
| "dial_code": "+93" | |
| }, | |
| { | |
| "name": "Åland Islands", | |
| "flag": "🇦🇽", |
| // ------------------------------------------- IMPORTANT ------------------------------------------- | |
| // This is a development file to be minified using https://javascript-minifier.com/ and inlined in | |
| // the index.html file. This file is not compiled or processed by webpack so it should be treated as | |
| // low-level precompiled es5-compatible javascript. The code here is not meant to be clean, it's | |
| // meant to be as light and fast as possible since it runs in the head tag. | |
| // HACK: This file a hack to ensure that home-screen apps on mobile devices gets refreshed when they | |
| // start. It works by forcing a load of the service-worker.js file and use the precache-manifest | |
| // file name as an application version, just like a desktop browser like chrome would do. When | |
| // when it detects a change in the application version, it reloads the page and bypass the browser's |
Changes with .dev domains in
mind.
Create /etc/pf.anchors/dev, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
| <?php | |
| function make_links($text, $class='', $target='_blank'){ | |
| return preg_replace('!((http\:\/\/|ftp\:\/\/|https\:\/\/)|www\.)([-a-zA-Zа-яА-Я0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?!ism', '<a class="'.$class.'" href="//$3" target="'.$target.'">$1$3</a>', $text); | |
| } | |
| define("APP_ID", 'xxxxxxxxxxxxxxxxxxx'); | |
| define("APP_SECRET",'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); | |
| define("PAGE_ID",'elnuevodia'); | |
| $config = array( | |
| 'appId' => APP_ID, |