Quer estudar sobre algo além do trio mágico HTML, CSS e Javascript e não sabe por onde começar?
Segue uma lista com sugestões de estudo extra para Desenvolvedores Front-End.
- PostCSS
| <script type='text/javascript'> | |
| var link = !!document.querySelector("link[rel='canonical']") ? document.querySelector("link[rel='canonical']") : document.createElement('link'); | |
| link.setAttribute('rel', 'canonical'); | |
| link.setAttribute('href', location.protocol + '//' + location.host + location.pathname); | |
| document.head.appendChild(link); | |
| </script> |
mkdir -p /usr/local/etc/nginx/sites-{enabled,available}
cd /usr/local/etc/nginx/sites-enabled
ln -s ../sites-available/default.conf
ln -s ../sites-available/default-ssl.conf
File locations:
nginx.conf to /usr/local/etc/nginx/default.conf and default-ssl.conf to /usr/local/etc/nginx/sites-availablehomebrew.mxcl.nginx.plist to /Library/LaunchDaemons/| ## Force redirect to www address | |
| server { | |
| server_name zf.local; | |
| rewrite ^(.+?)/?$ http://www.zf.local$1 permanent; | |
| } | |
| server { | |
| listen 80; | |
| server_name www.zf.local; | |
| index index.php; |
| <?php | |
| $passwordConfirmation = new App_Validate_PasswordConfirmation(); | |
| $password = $this->addElement('password', 'password', array( | |
| 'filters' => array('StringTrim'), | |
| 'validators' => array( | |
| $passwordConfirmation, | |
| array('Alnum'), | |
| array('StringLength', false, array(6, 100)), |