sql = <<SQL
select
count(*),
date_trunc('day', o.created_at) as day
from
orders o,
stores s
where
o.store_id = s.id
require 'benchmark' | |
require 'ostruct' | |
module Platappus | |
## | |
# Class capable of carrying out multi-threaded map/reduce | |
# operations. Dev specifies 1-N map blocks to produce | |
# interim values, and a reduce block to aggregate results. | |
# For example: | |
# |
package com.mycompany.app; | |
import com.amazonaws.auth.InstanceProfileCredentialsProvider; | |
import com.amazonaws.services.ec2.AmazonEC2; | |
import com.amazonaws.services.ec2.AmazonEC2Client; | |
import com.amazonaws.services.ec2.model.DescribeTagsRequest; | |
import com.amazonaws.services.ec2.model.DescribeTagsResult; | |
import com.amazonaws.services.ec2.model.Filter; | |
import com.amazonaws.services.ec2.model.TagDescription; | |
import com.amazonaws.util.EC2MetadataUtils; |
We are (somewhat) settled and ready to accept visitors! There are a lot of wonderful things to do nearby.
TBW
In winter, prime attractions are skiing and snowboarding, with Breckenridge Resort and Keystone Resort nearby. Copper Mountain and Arapahoe Basin are slightly further away. If this is your thing, you can rent skis/snowboards here for pickup at any of these resorts. If you are new to skiing or snowboarding, I would look into booking private (expensive) or group (economical) lessons at Breck or Keystone. The ski season is generally from Thanksgiving through mid April, with good
For quickly iterating on ec2 instance bootstrapping without having to go through a cloudformation deployment cycle:
- Install sshfs or its mac port
- Deploy via cloudformation with minimal userdata script
- Mount the
ec2-users
home directory in your project (we will use aremote
directory) - Copy the ops code into the
remote
directory - Edit files in the
remote
directory with your editor of choice set up as you have in your local env - Test your changes by executing them as root from an ssh session on the remote host
- When things work to your liking, copy the ops code from the
remote
directory back to its location in your project - Test bootstrapping via cloudformation stack deployment
For quickly iterating on ec2 instance bootstrapping without having to go through the CFN deployment cycle:
- Install sshfs or its mac port
- Deploy via CFN with minimal userdata script
- Mount the
ec2-users
home directory in your project (we will use aremote
directory) - Copy the ops code into the
remote
directory - Edit files in the
remote
directory with your editor of choice set up as you have in your local env - Test your changes by executing them as root from an ssh session on the remote host
- When things work to your liking, copy the ops code from the
remote
directory back to its location in your project - Test bootstrapping via cloudformation stack deployment
./integration $ export SODEXO=sodexo.uat.us-east-1.nexus.bazaarvoice.com | |
./integration $ export SODEXO_API=${SODEXO}/api/v1 | |
./integration $ http POST ${SODEXO_API}/job taskId=92f6c2dd-0ba4-49f7-863a-79424003f591 | |
HTTP/1.1 200 OK | |
Connection: keep-alive | |
Content-Type: application/json; charset=UTF-8 | |
Date: Fri, 07 Apr 2017 21:57:55 GMT | |
transfer-encoding: chunked | |
{ |
<?xml version="1.0" encoding="UTF-8"?> | |
<Feed extractDate="2016-01-05T06:00:06.706-05:00" incremental="false" name="TroyBilt" xmlns="http://www.bazaarvoice.com/xs/PRR/ProductFeed/5.1"> | |
<Brands> | |
<Brand removed="false" disabled="false"> | |
<Name>Default Brand Name</Name> | |
<ExternalId>4qyXCRm-brand</ExternalId> | |
</Brand> | |
</Brands> | |
<Categories> | |
<Category removed="false" disabled="false"> |