Pear for 1.4, mage for 1.5. File downloaded into /downloader/.cache/community/
./pear download magento-community/Shipping_Agent
./mage download community Shipping_Agent
| #!/usr/bin/env python | |
| """ | |
| Check that a particular email address exists. | |
| Adam Blinkinsop <blinks@acm.org> | |
| WARNING: | |
| Checking email addresses in this way is not recommended, and will lead to | |
| your site being listed in RBLs as a source of abusive traffic. Mail server | |
| admins do like it when they get connections that don't result in email being | |
| sent, because spammers often use this technique to verify email addresses. |
| This gist provides 3 additional function for Kohana-ORM. | |
| 1) Cache column lists. | |
| Kohana's original ORM execute "show column" query every call time. | |
| I think that the column lists should be cached for long time like CakePHP. | |
| 2) Has many relation with Left Join query. | |
| By Kohana's original ORM , has many relation query do like this. |
| /*! | |
| * SSSL: smallest, simpelst script loader | |
| * version: 1.0.1 | |
| * | |
| * API: | |
| * Normal usage | |
| * sssl(source [,complete]); | |
| * | |
| * Example: | |
| * sssl('jquery.js', function(){ |
| # Restart a rack app running under pow | |
| # http://pow.cx/ | |
| # | |
| # Adds a kapow command that will restart an app | |
| # | |
| # $ kapow myapp | |
| # | |
| # Supports command completion. | |
| # | |
| # If you are not already using completion you might need to enable it with |
| ; A REPL-based, annotated Seesaw tutorial | |
| ; Please visit https://github.com/daveray/seesaw for more info | |
| ; | |
| ; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers | |
| ; Seesaw's basic features and philosophy, but only scratches the surface | |
| ; of what's available. It only assumes knowledge of Clojure. No Swing or | |
| ; Java experience is needed. | |
| ; | |
| ; This material was first presented in a talk at @CraftsmanGuild in | |
| ; Ann Arbor, MI. |
Objective: Print the lyrics for the current playing song.
How: We'll create a small bash script to do the fetching for us (using curl) and then we'll
display it either in the terminal or in our $EDITOR
First we'll need to get the name of the current song and its artist:
| <block type="cms/block" name="block_name"> | |
| <action method="setBlockId"><id>block_code</id></action> | |
| </block> | |
| {{block type="cms/block" block_id="block_code"}} | |
| {{block type="catalog/product_list" category_id="79" template="catalog/product/list_random.phtml"}} |
| web: /usr/local/sbin/nginx -p `pwd`/tmp/nginx/ -c ../../nginx.conf | |
| fastcgi: /usr/local/sbin/php-fpm | |
| db: /usr/local/bin/mysqld |
| require 'formula' | |
| class Mruby < Formula | |
| homepage 'http://www.mruby.org/' | |
| head 'https://github.com/mruby/mruby.git' | |
| def install | |
| ENV.j1 | |
| system "make" | |
| system "make test" |