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
| So you've cloned somebody's repo from github, but now you want to fork it and contribute back. Never fear! | |
| Technically, when you fork "origin" should be your fork and "upstream" should be the project you forked; however, if you're willing to break this convention then it's easy. | |
| * Off the top of my head * | |
| 1. Fork their repo on Github | |
| 2. In your local, add a new remote to your fork; then fetch it, and push your changes up to it | |
| git remote add my-fork [email protected] |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
| // This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref | |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.github.io | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php | |
| */ |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| (function ($) { | |
| $(document).ready(function () { | |
| $('#next').click(function () { | |
| $.post( | |
| PT_Ajax.ajaxurl, | |
| { | |
| // wp ajax action | |
| action: 'ajax-inputtitleSubmit', | |
| // vars |
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 Canada License.
Navigation menu item {
font-family: 'ClarendonLTStd';
font-variant: 'Regular';
font-size: 16.41pt;
font-leading: 39.59pt;
font-kerning: Metrics;
Have a writable folder public/blog_images in you app.
###routes.php
// Redactor Blog Upload
Route::post('redactorUpload', function()
{
$file = Input::file('file');
$fileName = $file->getClientOriginalName();
| module AssetHelper | |
| ## | |
| # Renders a stylesheet asset inline. | |
| def inline_stylesheet( name ) | |
| content_tag :style do | |
| sprockets[ "#{name}.css" ].to_s | |
| end | |
| end |
| var request = require("request"), | |
| csv = require("csv"); | |
| module.exports = function(app) { | |
| // accepts the POST form submit of the CSV file | |
| app.post("/upload/data", function(req, res) { | |
| // the name under "files" must correspond to the name of the | |
| // file input field in the submitted form (here: "csvdata") | |
| csv().from.path(req.files.csvdata.path, { | |
| delimiter: ",", |