Scaling Magento presentation with 60 slides and notes, which was then reviewed by Alan Storm.
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
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
| FROM ubuntu | |
| MAINTAINER Eric Mill "[email protected]" | |
| # turn on universe packages | |
| RUN echo "deb http://archive.ubuntu.com/ubuntu raring main universe" > /etc/apt/sources.list | |
| RUN apt-get update | |
| # basics | |
| RUN apt-get install -y nginx openssh-server git-core openssh-client curl | |
| RUN apt-get install -y nano |
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
| <!-- | |
| dribbble rebound of MVben's design http://dribbble.com/shots/1145537-Plug-In1 | |
| --> | |
| <div class="main"> | |
| <div class="nav"> | |
| <ul> | |
| <li class="al">Alarms</li> | |
| <li class="sw">Stopwatch</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
| <h1>Flexible columns — fixed width gutter</h1> | |
| <h2>Using a border as faux margin</h2> | |
| <div class="flexwrapper"> | |
| <section></section> | |
| <section></section> | |
| <section></section> | |
| <section></section> | |
| </div> |
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
| var myModel = new Backbone.Model(attributes, {options}, anything-else-passed-to-initialize-function); | |
| /* | |
| attributes = {data:value, data:value} or [value,value] | |
| options = { | |
| collection: {}, | |
| url: '', | |
| urlRoot: '', | |
| parse: boolean | |
| } |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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
| // This is how you would use it. Pass in your collection | |
| // along with an individual callback as well as a batch callback | |
| Mage::getSingleton('stcore/resource_iterator_batched')->walk( | |
| $collection, | |
| array($this, 'batchIndividual'), | |
| array($this, 'batchAfter'), | |
| self::BATCH_SIZE | |
| ); | |
| public function batchIndividual($model) |
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
| // Documented by Stoyan Stefanov: https://www.facebook.com/note.php?note_id=10151176218703920 | |
| (function() { | |
| var url = 'http://example.org/js.js'; | |
| var iframe = document.createElement('iframe'); | |
| (iframe.frameElement || iframe).style.cssText = | |
| "width: 0; height: 0; border: 0"; | |
| iframe.src = "javascript:false"; | |
| var where = document.getElementsByTagName('script')[0]; | |
| where.parentNode.insertBefore(iframe, where); | |
| var doc = iframe.contentWindow.document; |