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
| @{{ vue-variable }} |
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
| http://bitsofco.de/styling-broken-images/ | |
| img { /* Same as first example */ } | |
| img:after { | |
| content: "\f1c5" " " attr(alt); | |
| font-size: 16px; | |
| font-family: FontAwesome; | |
| color: rgb(100, 100, 100); |
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
| homestead=cd /homestead/ && vagrant $* | |
| hs-go=cd /homestead/ && vagrant up && vagrant ssh | |
| subl=sublime_text.exe $* | |
| hosts=sublime_text.exe \Windows\System32\drivers\etc\hosts | |
| hs-edit=sublime_text.exe .homestead\Homestead.yaml |
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
| Use : | |
| npm install --no-bin-links | |
| or | |
| npm install package --no-bin-links |
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
| Homestead PHP 5.6 (version 0.3.3) : | |
| vagrant box add laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.3.3/providers/virtualbox.box |
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
| https://jakearchibald.com/2016/link-in-body/ | |
| <head> | |
| <script> | |
| // https://github.com/filamentgroup/loadCSS | |
| !function(e){"use strict" | |
| var n=function(n,t,o){function i(e){return f.body?e():void setTimeout(function(){i(e)})}var d,r,a,l,f=e.document,s=f.createElement("link"),u=o||"all" | |
| return t?d=t:(r=(f.body||f.getElementsByTagName("head")[0]).childNodes,d=r[r.length-1]),a=f.styleSheets,s.rel="stylesheet",s.href=n,s.media="only x",i(function(){d.parentNode.insertBefore(s,t?d:d.nextSibling)}),l=function(e){for(var n=s.href,t=a.length;t--;)if(a[t].href===n)return e() | |
| setTimeout(function(){l(e)})},s.addEventListener&&s.addEventListener("load",function(){this.media=u}),s.onloadcssdefined=l,l(function(){s.media!==u&&(s.media=u)}),s} | |
| "undefined"!=typeof exports?exports.loadCSS=n:e.loadCSS=n}("undefined"!=typeof global?global:this) |
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
| /^\s*[a-zA-Z]{1}[a-zA-Z][a-zA-Z '-.=#\/]*$/ |
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
| echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p |
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
| # launch daemon nodejs app | |
| nohup my-app & |
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
| #!/bin/sh | |
| # Content of the file 'after.sh' in ~/.homestead/ | |
| export DEBIAN_FRONTEND=noninteractive | |
| apt-get --no-install-recommends install -q -y phpmyadmin | |
| echo 'phpmyadmin phpmyadmin/dbconfig-install boolean true' | debconf-set-selections | |
| echo 'phpmyadmin phpmyadmin/app-password-confirm password secret' | debconf-set-selections | |
| echo 'phpmyadmin phpmyadmin/mysql/admin-pass password secret' | debconf-set-selections |