service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval(in minutes)service.beta.kubernetes.io/aws-load-balancer-access-log-enabled(true|false)service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-nameservice.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefixservice.beta.kubernetes.io/aws-load-balancer-additional-resource-tags(comma-separated list of key=value)service.beta.kubernetes.io/aws-load-balancer-backend-protocol(http|https|ssl|tcp)service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled(true|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
| using System.IO; | |
| namespace VestaProperty.Core.File | |
| { | |
| public class File | |
| { | |
| public File() | |
| { | |
| this.Content = (Stream) new MemoryStream(); | |
| } |
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
| //Create Private Key with OpenSSL | |
| //openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -pkeyopt rsa_keygen_pubexp:3 -out privateKey.pem | |
| //Generate Public Key to be used at the client side (Mobile) | |
| //openssl pkey -in privateKey.pem -out publicKey.pem -pubout | |
| const crypto = require('crypto') | |
| const fs = require('fs') | |
| const private_key = fs.readFileSync('digital_sign/privateKey.pem', 'utf-8') | |
| //File to be signed | |
| const package = fs.readFileSync('webpackage.zip') |
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
| module TM | |
| module Commands | |
| class LastTask | |
| def initialize(provider_handler, formatter, attributes = '') | |
| @provider_handler = provider_handler | |
| @formatter = formatter | |
| @attributes = attributes.extend(TM::StringExtensions).to_hash | |
| end |
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
| require_relative '../../spec_helper' | |
| describe TM::Commands::LastTask do | |
| include_context 'task_commands_context' do | |
| before(:each) do | |
| taskmapper.should_receive(project).with({}).and_return(project) | |
| end | |
| context :execute do | |
| subject do |
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
| # This is a short collection of tools that are useful for managing your | |
| # known_hosts file. In this case, I'm using the '-f' flag to specify the | |
| # global known_hosts file because I'll be adding many deploy users on this | |
| # system. Simply omit the -f flag to operate on ~/.ssh/known_hosts | |
| # Add entry for host | |
| ssh-keyscan -H github.com >> /etc/ssh/ssh_known_hosts | |
| # Scan known hosts | |
| ssh-keygen -f /etc/ssh/ssh_known_hosts -F github.com |