$ vue create my-project
OR
$ vue ui
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 // has_block | |
| if (has_block('acf/call-to-action-image')) { | |
| $acf_block = "acf-blocks image-cta"; | |
| } else { | |
| $acf_block = "acf-blocks"; | |
| } | |
| ?> |
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
| <ul> | |
| <li v-for="item in itemsLessThanTen" :key="item.name"> | |
| {{ item.name }} - {{ item.price }} | |
| </li> | |
| </ul> | |
| <script> | |
| export default { | |
| data () { |
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://www.westwind.com/reference/OS-X/commandline/files-folders.html | |
| ### drupal files and folders ### | |
| ################################ | |
| # apply permissions | |
| # cd to directory | |
| # -Recursive (all sub files/dir) user:group | |
| $ sudo chown -R 506:main live-docs |
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://codepen.io/nikhil8krishnan/pen/rVoXJa | |
| <!-- Loader1 --> | |
| <svg version="1.1" id="L1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"> | |
| <circle fill="none" stroke="#fff" stroke-width="6" stroke-miterlimit="15" stroke-dasharray="14.2472,14.2472" cx="50" cy="50" r="47" > | |
| <animateTransform | |
| attributeName="transform" | |
| attributeType="XML" |
Grid media query variables: variables/_grid-variables.scss
@media #{$breakpoint-xs-only} { } // max-width: 480px
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
| # rsync basic | |
| rsync -a /tmp/foo/* /tmp/bar | |
| # NOTE: the difference between including a forward slash (/) at the end of the source path, and omitting it. | |
| foo/ # will transfer all files INSIDE the specified directory | |
| foo # will transfer the directory itself with all files inside | |
| # rsync file count | |
| rsyn -avz file/path/ file/path/ | wc -l |
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://gorails.com/setup/osx/10.12-sierra | |
| # https://github.com/rbenv/rbenv | |
| # list all available versions: | |
| $ rbenv install -l | |
| # install a Ruby version: | |
| $ rbenv install 2.1.0 | |
| # ensure that the target version for your project |