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
http://i.imgur.com/ph7CN.png | |
I highlighted it so it would show up. | |
Twofold problem: | |
One, you're not escaping things properly. I can't really conceive of why that would happen, but I have no idea how it's laid out in the code | |
Two: the tag is longer than the width of the button, and is truncated, with unexpected results on highlight. |
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
<!-- in page.xml - the default layout --> | |
<default translate="label" module="page"> <!-- the default applies to all pages unless specifically overridden --> | |
<label>All Pages</label> | |
<!-- this defines the block for the entire page --> | |
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml"> |
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
struct AudioBuffer{ | |
UInt32 mNUmberChannels; | |
UInt32 mDataByteSize; | |
void * mData; | |
} | |
struct AudioBufferList{ | |
UInt32 mNumberBuffers; | |
AudioBuffer mBuffers[1]; //this is a variable length array of Buffer elementsa | |
} |
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
<!-- | |
<reference name="content"> | |
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> | |
<block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> | |
<block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block> | |
</refe |
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
<!--So basically what I'm doing, is filling an array with key/val pairs for each special property. This way we keep the html cleaner below | |
THIS IS NEAR THE TOP of theme042/template/view.phtml | |
--> | |
<?php | |
$_helper = $this->helper('catalog/output'); | |
$_product = $this->getProduct(); |
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
two models: | |
ChecklistItem and ChecklistItemMedia | |
C.I. has_many :files, :class_name => ChecklistItemMedia | |
C.I.M. belongs_to :c_i | |
added "checklist_item_id" column tot he CIM database table |
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
"#{attr} updated to #{changes} on register #{self.id} at #{Time.now}" generates the | |
following for the activities embedded document: | |
########################################################################################## | |
MESSAGE: _index updated to Temporary name | |
Contaminated Sites | |
New contamination |
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
$("foo").load("herpaderp", function(){/*callback*/}); | |
//becomes | |
$("foo").load('herpaderp'); | |
& /* callback */ |
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
namespace :db do | |
desc "Initialize the dev database" | |
task :init_dev => :environment do | |
user = User.find(1) | |
100.times do |i| | |
post = Post.create(:title => "Sample post ##{i+1}", |
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
foo(0, 0, 0) -> %%funcbody | |
foo(3, [A:B], C) -> %%funcbody | |
foo(A, B, C) -> %%functionbody |