Taken from Imgur API reference: https://api.imgur.com/models/tag
{
"data": {| def binding = [ | |
| "id": "1", | |
| "firstName": "John" | |
| ] | |
| String substitute(text, map) { | |
| def template = new groovy.text.StreamingTemplateEngine().createTemplate(text) | |
| return template.make(map) | |
| } |
| select f.type, f.variety, f.price | |
| from ( | |
| select type, min(price) as minprice | |
| from fruits group by type | |
| ) as x inner join fruits as f on f.type = x.type and f.price = x.minprice; | |
| +--------+----------+-------+ | |
| | type | variety | price | | |
| +--------+----------+-------+ |
Taken from Imgur API reference: https://api.imgur.com/models/tag
{
"data": {| package com.blogspot.oraclestack.testdriver; | |
| import com.blogspot.oraclestack.services.OracleIdentityManagerClient; | |
| import com.blogspot.oraclestack.utilities.GenerateRequestUtilities; | |
| import java.util.HashMap; | |
| import oracle.iam.platform.OIMClient; | |
| import oracle.iam.vo.OperationResult; | |
| /** | |
| * Test Driver for GenerateRequestUtilities class |
| ''' | |
| Script to delete jobs and nested views in Jenkins CI including the parent view. | |
| This currently works when you have two-level nested views with jobs under the child view. | |
| Parent view | |
| - Child view 1 | |
| - Job 1 | |
| - Job 2 | |
| - Child view 2 | |
| - Job 3 |
| import requests | |
| import time | |
| import json | |
| token = '' | |
| #Delete files older than this: | |
| ts_to = int(time.time()) - 30 * 24 * 60 * 60 | |
| def list_files(): |
| $scope.templateTypeGrid = { | |
| columns: [ | |
| { | |
| // Add each action item below | |
| template: '<div class=\'btn-group\' uib-dropdown dropdown-append-to-body>' + | |
| ' <button id=\'btn-append-to-body\' type=\'button\' class=\'btn btn-primary\' uib-dropdown-toggle>Action' + | |
| ' <span class=\'caret\'></span>' + | |
| ' </button>' + | |
| ' <ul class=\'dropdown-menu\' uib-dropdown-menu role=\'menu\' aria-labelledby=\'btn-append-to-body\'>' + |