-
Goto your AWS IAM Console and create or modify a current IAM user (preferably the one you use to connect with your AWS CLI)
-
Goto Security Credentials -> Scroll down to SSH keys for AWS CodeCommit
-
Create a private/public ssh key on your local machine:
ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
-
Click on "Upload SSH Public Key" and paste in the contents of
~/.ssh/id_rsa.pub
into the textarea and save. -
Note the Access Key ID that was generated, it will be something like APKA********** this will be used as your User for SSH access
-
Navigate to the AWS CodeCommit Console and click on your repository (or create one)
-
Create a
~/.ssh/config
file with the following contents (modify for your setup/names):
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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
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
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |
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
page-auth { | |
.amplify-authenticator { | |
@extend .card; | |
padding-bottom: 1em; | |
} | |
.amplify-form-input { | |
@extend .text-input; | |
@extend .text-input-md; |
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
#!/bin/bash | |
aws s3api list-buckets --query 'Buckets[*].[Name]' --output text | xargs -I {} bash -c 'aws s3 rb s3://{} --force' |
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
<div class="container"> | |
<mat-sidenav-container | |
fullscreen | |
[hasBackdrop]="mobileQuery.matches"> | |
<mat-sidenav #lnav | |
mode="over" | |
class="sidenav"> | |
<div class="content"> | |
<mat-list> | |
<mat-list-item *ngFor="let route of nav"> |
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
{ | |
"hosting": { | |
"S3AndCloudFront": { | |
"service": "S3AndCloudFront", | |
"providerPlugin": "awscloudformation", | |
"providerMetadata": { | |
"s3TemplateURL": "https://s3.amazonaws.com/xxx/hosting/template.json", | |
"logicalId": "hostingS3AndCloudFront" | |
}, | |
"lastPushTimeStamp": "2018-10-27T18:39:35.710Z", |
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
<link rel="apple-touch-startup-image" href="assets/splash/launch-640x1136.png" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"> | |
<link rel="apple-touch-startup-image" href="assets/splash/launch-750x1294.png" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"> | |
<link rel="apple-touch-startup-image" href="assets/splash/launch-1242x2148.png" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"> | |
<link rel="apple-touch-startup-image" href="assets/splash/launch-1125x2436.png" media="(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)"> | |
<link rel="apple-touch-startup-image" href="assets/splash/launch-1536x2048.png" media="(min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait)"> | |
<lin |
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
ngOnInit() { | |
// Detects if device is on iOS | |
const isIos = () => { | |
const userAgent = window.navigator.userAgent.toLowerCase(); | |
return /iphone|ipad|ipod/.test( userAgent ); | |
} | |
// Detects if device is in standalone mode | |
const isInStandaloneMode = () => ('standalone' in (window as any).navigator) && ((window as any).navigator.standalone); | |
// Checks if should display install popup notification: |
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
<div class="content"> | |
Install this app on your device. | |
<br/>Tap the share icon and then <br/><strong>Add to homescreen</strong>. | |
<div class="full-width"><mat-icon>arrow_downward</mat-icon></div> | |
</div> | |
<button class="btn-close" mat-icon-button (click)="close()" aria-label="Close"> | |
<mat-icon>close</mat-icon> | |
</button> |
OlderNewer