Create headings like so:
# Heading 1
## Heading 2
### Heading 3
| <reference name="head"> | |
| <block type="cms/block" name="gce" before="-" > | |
| <action method="setBlockId"><block_id>GOOGLE_CONTENT_EXPERIMENT_JS_CMS_BLOCK_ID_GOES_HERE</block_id></action> | |
| </block> | |
| </reference> |
| qcount = function(x, g, p, labels) { | |
| d = lapply(split(x, g), function(n) { | |
| q = quantile(unique(n), probs=p, names=F) | |
| as.vector(cut(n, breaks=q, right=T, include.lowest=T, labels=labels), mode="character") | |
| }) | |
| d = stack(d) | |
| names(d) = NULL | |
| table(d) | |
| } |
| Magento Overrride with patch for fixing the db deadlock error issue | |
| FILE PATH: | |
| /var/www/dev.linentablecloth.com/app/code/local/Mage/Sales/Model/Abstract.php | |
| SOURCE CODE: | |
| <?php | |
| /** |
| [merge] | |
| tool = p4merge | |
| [diff] | |
| tool = p4diff | |
| [mergetool "p4merge"] | |
| cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED" | |
| trustExitCode = false | |
| keepBackup = false |
| #requires -version 2 | |
| <# | |
| .Synopsis | |
| Prepares a virtual machine for use with Remote Desktop Virtualization. | |
| .Description | |
| This script configures the operating system on the virtual machine to work with Remote Desktop Virtualization. It performs following activities: | |
| 1. It enables Remote Desktop. | |
| 2. It enables Remote Procedure Call (RPC). |
| example = Hash.new(Proc.new { raise Exception.new "Named action doesn't exist" } | |
| example[:do_something_cool] = Proc.new { puts "I just did something cool!" } | |
| example[:do_something_else_cool] = Proc.new { puts "I did another cool thing!" } | |
| example[:do_something_cool].call | |
| # => "I just did something cool!" | |
| example[:do_something_else_cool].call | |
| # => "I did another cool thing!" |