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
<entity name="product" pk="primaryKey" transformer="TemplateTransformer,DateFormatTransformer"> | |
<field column="sku" xpath="/products/product/sku" /> | |
<field column="productId" xpath="/products/product/productId" /> | |
<field column="primaryKey" template="${product.productId}_${product.sku}" /> | |
</entity> |
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
<item> | |
<title>Unleashed [Blu-ray/DVD Combo + Digital Copy] (Blu-ray) newly tagged "blu-ray"</title> | |
<guid isPermaLink="false">A:B004ZJZQ3S|T:blu-ray|D:131597984</guid> | |
<link>http://www.amazon.com/Unleashed-Blu-ray-Combo-Digital-Copy/dp/B004ZJZQ3S</link> | |
<pubdate>Wed, 14 Sep 2011 05:57:27 GMT</pubDate> | |
<description>HTML CHUNK</description> | |
</item> |
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
<div style="float:left;" class="tgRssImage"> | |
<a class="url" href="..."> | |
<img src="http://ecx.images-amazon.com/images/I/51GmbDm32gL._SL160_SS160_.jpg" | |
width="160" | |
alt="Unleashed [Blu-ray/DVD Combo + Digital Copy]" | |
class="photo" | |
height="160" border="0"> | |
</a> | |
</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
<script | |
src="http://code.jquery.com/jquery-1.6.4.min.js" | |
type="text/javascript" | |
charset="utf-8"> | |
</script> | |
<script | |
src="https://raw.github.com/iamnoah/writeCapture/master/writeCapture.js" | |
type="text/javascript" | |
charset="utf-8"> |
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
which ruby | |
ruby -version | |
port list | grep ruby | |
sudo gem update --system | |
gem -v | |
mkdir -p ~/chef-repo/.chef/ | |
mv ~/Downloads/<chef-hosted-account-username>.pem ~/chef-repo/.chef/ | |
mv ~/Downloads/knife.rb ~/chef-repo/.chef/ | |
mv ~/Downloads/<chef-hosted-organization-name>-validator.pem ~/chef-repo/.chef/ |
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
# For moving data to & from the EC2 instance, simply use scp which runs on top of ssh like so: | |
$ scp -i /Users/XXX/.ec2/ec2.pem [email protected]:/path/to/file/to/get/from/ec2/instance.txt /path/to/local/folder/for/storage/ | |
$ scp -i /Users/XXX/.ec2/ec2.pem /path/to/file/to/push/to/ec2/instance.txt [email protected]:/path/to/ec2/folder/for/storage/ |
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
mkdir temp | |
cd temp | |
git clone [email protected]:yourDomain/yourRepoName.git | |
cd yourRepoName/ | |
git remote rm origin | |
git remote add origin https://[email protected]/yourUsername/yourNewRepoName.git | |
git remote show origin | |
git push origin master | |
cd ../.. | |
rm -rf temp |
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
// 1) Lets start with the simplest query that you can run in | |
// the head plugin for ElasticSearch located at the url: | |
// http://localhost:9200/_plugin/head/ | |
{ | |
"query": { | |
"match_all": {} | |
} | |
} | |
// 2) Before jumping into forming queries with the ES Query DSL |
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
... | |
#import "CouchCocoa.h" | |
... | |
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions | |
{ | |
... | |
/* Try to connect to the IrisCouch instance */ | |
// 1) Create a server object via the URL | |
NSURL* serverURL = [NSURL URLWithString: @"https://mydomain.iriscouch.com"]; |
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
REST: Authentication challenge! credential=<NSURLCredential: 0x857b040>: username |
OlderNewer