One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /* tracing.js */ | |
| const grpc = require('@grpc/grpc-js'); | |
| // Require dependencies | |
| const opentelemetry = require("@opentelemetry/sdk-node"); | |
| const { getNodeAutoInstrumentations } = require("@opentelemetry/auto-instrumentations-node"); | |
| const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-grpc'); | |
| const metadata = new grpc.Metadata(); | |
| // after "Basic", comes the output of: |
| const AWS = require('aws-sdk'); | |
| const encryptedEnvironmentVariableNames = ['SOME_VARIABLE', 'SOME_OTHER_VARIABLE']; | |
| // This module exports a function that returns a promise for obtaining | |
| // a decrypted copy of the environnment. | |
| // | |
| // Configure it by putting the name of each environment variable you would like to | |
| // decrypt above. | |
| // |
| #!/bin/bash -eu | |
| # (C) Timothy Jones | |
| # This function prints the usage | |
| function usage { | |
| { | |
| echo "Usage:" | |
| echo " ${BASH_SOURCE[0]} <NAME> <VALUE> <KEY_ID>" | |
| echo " NAME - the name of the SSM variable" |
| .terraform/ | |
| *.pem | |
| *.tf | |
| *.tfstate | |
| *.yaml | |
| *.backup | |
| istio-*/ | |
| cert-manager-*/ | |
| *.swp | |
| env |
| package bill.boottest; | |
| import org.slf4j.Logger; | |
| import org.slf4j.LoggerFactory; | |
| import org.springframework.boot.CommandLineRunner; | |
| import org.springframework.boot.SpringApplication; | |
| import org.springframework.boot.autoconfigure.SpringBootApplication; | |
| import org.springframework.cloud.aws.messaging.listener.annotation.SqsListener; | |
| import com.fasterxml.jackson.annotation.JsonCreator; |
| /* | |
| * **** CREDITS TO: https://github.com/olivergierke/spring-examples ***** | |
| * | |
| * Copyright 2015 the original author or authors. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| /** | |
| * Copyright 2016 Erik Jhordan Rey. | |
| * <p> | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * <p> | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * <p> | |
| * Unless required by applicable law or agreed to in writing, software |
| --- | |
| - hosts: app | |
| remote_user: vagrant | |
| sudo: yes | |
| vars: | |
| download_url: http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz | |
| download_folder: /opt | |
| java_name: "{{download_folder}}/jdk1.8.0_05" | |
| java_archive: "{{download_folder}}/jdk-8u5-linux-x64.tar.gz" |
| #! /usr/bin/env python | |
| import redis | |
| import random | |
| import pylibmc | |
| import sys | |
| r = redis.Redis(host = 'localhost', port = 6389) | |
| mc = pylibmc.Client(['localhost:11222']) |