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
| SELECT | |
| r.reviews_id AS id, | |
| r.products_sizes_id AS sizesId, | |
| r.flags AS flags, | |
| r.sort_order AS sortOrder, | |
| if(r.reviews_id IS NOT NULL, TRUE, FALSE) AS isReviewed, | |
| r.reviews_rating AS rating, | |
| r.fit_rating AS fit, | |
| r.height AS height, |
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
| /* right click on an entry in the network log, select Copy All as Har | |
| * type in console: x = [paste] | |
| * paste the following JS code into the console | |
| * copy the output, paste into a file | |
| * then wget -i [that file] | |
| */ | |
| (function(logObj, mime) { | |
| var results = []; | |
| logObj.log.entries.forEach(function (entry) { | |
| if (mime && entry.response.content.mimeType !== mime) return; |
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
| [agent] | |
| interval = "10s" | |
| round_interval = true | |
| metric_buffer_limit = 5000 | |
| flush_buffer_when_full = true | |
| collection_jitter = "0s" | |
| flush_interval = "10s" | |
| flush_jitter = "0s" | |
| debug = true | |
| quiet = false |
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
| @task(default=True) | |
| def deploy(source): | |
| execute('unique_id') | |
| dest = '/opt/app/{0}'.format(env['unique_id']) | |
| # both of these tasks are decorated with @parallel | |
| execute('sync', source=source, dest='~/app') | |
| execute('install', source="~/app", dest=dest) | |
| # apply following steps serially to each env.host |
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
| 'use strict'; | |
| module.exports = function (grunt) { | |
| grunt.initConfig({ | |
| package: grunt.file.readJSON('package.json'), | |
| name: '<%= package.name %>', | |
| version: '<%= package.version %>', | |
| build: '<% return process.env.BUILD_NUMBER %>', | |
| artifact: '<%= name %>-<%= version %>', | |
| artifactBuild: '<%= name %>-<%= version %>-<%= build %>', |