Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
server { | |
listen 80; | |
server_name www.domain.com; | |
root /sites/mysite/; | |
access_log /path/to/nginx/access.log; | |
error_log /path/to/nginx/error.log; | |
location /media/ { | |
alias /path/to/project/media/; |
<snippet> | |
<content><![CDATA[ | |
<!-- begin $1 --> | |
<div class="$1"> | |
$2 | |
</div> | |
<!-- end $1 --> | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>di</tabTrigger> |
<div class="ec-table ec-table--nested ec-table--small"> | |
<div class="ec-table__list ec-table__list--head"> | |
<div class="ec-table__row"> | |
<div class="ec-table__cell ec-table__cell--tiers"></div> | |
<div class="ec-table__cell"></div> | |
<div class="ec-table__cell"></div> | |
<div class="ec-table__cell"></div> | |
</div> | |
</div> | |
<div class="ec-table__list ec-table__list--body"> |
<div class="ec-table"> | |
<div class="ec-table__list-head"> | |
<div class="ec-table__row"> | |
<div class="ec-table__cell ec-table__cell--tiers"></div> | |
<div class="ec-table__cell"></div> | |
<div class="ec-table__cell"></div> | |
<div class="ec-table__cell"></div> | |
</div> | |
</div> | |
<!-- with nested table --> |
(function() { | |
var inititialize = false; | |
var superPattern = /xyz/.test(function() { | |
var xyz; | |
}) ? /\b_super\b/ : /.*/; | |
Object.extend = function(proporties) { | |
proporties = proporties || {}; | |
var _super = this.prototype; | |
inititialize = true; |