This file contains 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
#!/usr/bin/env bash | |
# @author Andres Hermosilla | |
# @notes | |
# Jenkins ssl | |
# http://balodeamit.blogspot.com/2014/03/jenkins-switch-to-ssl-https-mode.html | |
# https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-with-ssl-as-a-reverse-proxy-for-jenkins | |
# @todo | |
# - Setup security with LDAP | |
# - Add optional systems such as selenium |
The serverless-offline
module handles node.js modules, but sls invoke
will handle modules for python.
So just create a node.js module with the same name as the python module, and a method with the same same which
calls sls invoke ...
and wallah!
This file contains 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
<?php | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
$config = new OpenAPI\Client\Configuration; | |
$config->setHost('http://localhost/v1.40'); | |
$apiInstance = new OpenAPI\Client\Api\ContainerApi( | |
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. | |
// This is optional, `GuzzleHttp\Client` will be used as default. | |
new GuzzleHttp\Client([ |
This file contains 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
function xf_insert_image( $html, $id, $caption, $title, $align, $url ) | |
{ | |
$html5 = "<figure id='post-$id media-$id' class='align-$align'>"; | |
$html5 .= "<img src='$url' alt='$title' />"; | |
$html5 .= "<figcaption>$caption</figcaption>"; | |
$html5 .= "</figure>"; | |
return $html5; | |
} |
This file contains 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
account:DisableRegion | |
account:EnableRegion | |
account:ListRegions | |
activate:CreateForm | |
activate:GetAccountContact | |
activate:GetContentInfo | |
activate:GetCosts | |
activate:GetCredits | |
activate:GetMemberInfo | |
activate:GetProgram |
OlderNewer