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
| { | |
| "version": 0.2, | |
| "phases": { | |
| "build": { | |
| "commands": [ | |
| "curl 169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI > creds_json", | |
| "export AWS_ACCESS_KEY_ID=$(cat creds_json | jq .AccessKeyId |tr -d '\"')", | |
| "export AWS_SECRET_ACCESS_KEY=$(cat creds_json | jq .SecretAccessKey | tr -d '\"')", | |
| "export AWS_SESSION_TOKEN=$(cat creds_json | jq .Token |tr -d '\"')", | |
| "export CDK_DEFAULT_ACCOUNT=$CDK_DEFAULT_ACCOUNT", |
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
| const { CredentialProviderChain } = require('aws-sdk'); | |
| const AWS = require('aws-sdk'); | |
| const accountProvider = require('./account-provider'); | |
| let getEnv = function(accountId) { | |
| // TODO: insert logic to get your desired profile name | |
| return profileName; | |
| }; | |
| let getProvider = async (accountId, mode) => { |
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 file is: ~/.ssh/config | |
| # You may have other (non-CodeCommit) SSH credentials stored in this | |
| # config file โ in addition to the CodeCommit settings shown below. | |
| # NOTE: Make sure to run [ chmod 600 ~/.ssh/config ] after creating this file! | |
| # Credentials for Account1 | |
| Host awscc-account1 # 'awscc-account1' is a name you pick | |
| Hostname git-codecommit.us-east-1.amazonaws.com # This points to CodeCommit in the 'US East' region |
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
| AWSTemplateFormatVersion: '2010-09-09' | |
| Description: Cognito Stack | |
| Parameters: | |
| AuthName: | |
| Type: String | |
| Description: Unique Auth Name for Cognito Resources | |
| Resources: | |
| # Creates a role that allows Cognito to send SNS messages |
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
| #!/bin/bash | |
| #title :wildfly-install.sh | |
| #description :The script to install Wildfly 10.x | |
| #more :http://sukharevd.net/wildfly-8-installation.html | |
| #author :Dmitriy Sukharev | |
| #date :2016-06-18T02:45-0700 | |
| #usage :/bin/bash wildfly-install.sh | |
| #tested-version1 :10.0.0.CR3 | |
| #tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
| #tested-version2 :10.0.0.Final |
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
| function getLambdaEventSource(event) { | |
| if (event.Records && event.Records[0].cf) return 'isCloudfront'; | |
| if (event.configRuleId && event.configRuleName && event.configRuleArn) return 'isAwsConfig'; | |
| if (event.Records && (event.Records[0].eventSource === 'aws:codecommit')) return 'isCodeCommit'; | |
| if (event.authorizationToken === "incoming-client-token") return 'isApiGatewayAuthorizer'; | |
| if (event.StackId && event.RequestType && event.ResourceType) return 'isCloudFormation'; |
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
| app.factory('PaypalService', ['$q', '$ionicPlatform', 'shopSettings', '$filter', '$timeout', function ($q, $ionicPlatform, shopSettings, $filter, $timeout) { | |
| var init_defer; | |
| /** | |
| * Service object | |
| * @type object | |
| */ | |
| var service = { |
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
| <!DOCTYPE html> | |
| <html ng-app='angularApp'> | |
| <head> | |
| <script src="https://code.jquery.com/jquery.min.js"></script> | |
| <link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" type="text/css" /> | |
| <script src="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> | |
| <meta name="description" content="angular-intro-11; internationalisation"> | |
| <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.2/angular.min.js"></script> | |
| <script src="//code.angularjs.org/1.3.2/i18n/angular-locale_en-gb.js"></script> |
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
| . | |
| โโโ app | |
| โย ย โโโ bower_components | |
| โย ย โโโ main | |
| โโโ gulp | |
| โโโ hooks | |
| โย ย โโโ after_prepare | |
| โโโ node_modules | |
| โย ย โโโ abbrev |
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
| calendar.add(new Appointment() {{ | |
| name("birthday party"); | |
| at(fourPM); | |
| }}); |