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
| const IGNORE_ERRORS_DURATION = 3000; | |
| const FS = { | |
| IDLE: 'idle', | |
| UNSEALED_RESET: 'unsealed_reset', | |
| OPENING: 'opening', | |
| UNSEALED_RETRYING: 'unsealed_retrying', | |
| POLLING_PACK: 'polling_pack', | |
| GETTING_MOMENTS: 'getting_moments', | |
| DONE: 'done', |
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
| const IGNORE_ERRORS_DURATION = 3000 | |
| const FS = { | |
| IDLE: 'idle', | |
| UNSEALED_RESET: 'unsealed_reset', | |
| OPENING: 'opening', | |
| UNSEALED_RETRYING: 'unsealed_retrying', | |
| POLLING_PACK: 'polling_pack', | |
| GETTING_MOMENTS: 'getting_moments', | |
| SUCCESS: 'success', |
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
| const FS = { | |
| IDLE: 'idle', | |
| IN_VIEW: 'in_view', | |
| APPEARING: 'appearing', | |
| UNVEILING: 'unveiling', | |
| REVEALING: 'revealing', | |
| HIGHLIGHT_PLAYING: 'highlight_playing', | |
| REVEALED: 'revealed', | |
| }; |
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
| module.exports = { | |
| config: { | |
| // default font size in pixels for all tabs | |
| fontSize: 14, | |
| // font family with optional fallbacks | |
| fontFamily: 'Inconsolata, Menlo, "DejaVu Sans Mono", "Lucida Console", monospace', | |
| // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) |
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
| {% paginate collection.products by 20 %} | |
| <ul class="collection-matrix"> | |
| {% for product in collection.products %} | |
| <li id="product-{{ forloop.index | plus:paginate.current_offset }}"> | |
| {% include 'product' with product %} | |
| </li> | |
| {% endfor %} | |
| <li class="top"><a href="#collectionpage">Back to Top</a> ↑</li> | |
| {% if paginate.next %} | |
| <li class="more">↓ <a href="{{ paginate.next.url }}">More</a></li> |
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
| {% paginate collection.products by 20 %} | |
| <!-- the top of your collections.liquid --> | |
| <!-- START PRODUCTS --> | |
| {% for product in collection.products %} | |
| <!-- START PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> | |
| <div class="product" id="product-{{ forloop.index | plus:paginate.current_offset }}"> | |
| {% include 'product' with product %} | |
| </div> | |
| <!-- END PRODUCT {{ forloop.index | plus:paginate.current_offset }} --> |
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
| # 1) https://code.tutsplus.com/tutorials/how-to-install-ruby-on-a-mac--net-21664 | |
| # 2) http://flummox-engineering.blogspot.com/2014/05/you-dont-have-write-permissions-for.html | |
| # note to self: backup - https://getpocket.com/a/read/541537367 | |
| # note to self: backup - getpocket tags (install ruby rvm) |
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
| git rm -r --cached . | |
| git add . | |
| git commit -m "Removing all files in .gitignore" | |
| # OR, in one line: | |
| git rm -r --cached . && git add . && git commit -m "Removing all files in .gitignore" |
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
| # git config --global core.excludesfile '~/.gitignore' | |
| # http://stackoverflow.com/a/7335487 | |
| .DS_Store | |
| node_modules | |
| .env | |
| # swap | |
| [._]*.s[a-w][a-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
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| " alternatively, pass a path where Vundle should install plugins | |
| "call vundle#begin('~/some/path/here') | |
| " let Vundle manage Vundle, required |