Skip to content

Instantly share code, notes, and snippets.

View mlabieniec's full-sized avatar

Michael Labieniec mlabieniec

View GitHub Profile
@mlabieniec
mlabieniec / auth.scss
Last active June 5, 2018 17:51
AWS Amplify Ionic PWA
page-auth {
.amplify-authenticator {
@extend .card;
padding-bottom: 1em;
}
.amplify-form-input {
@extend .text-input;
@extend .text-input-md;
@mlabieniec
mlabieniec / connecting-to-aws-codecommit.md
Last active December 23, 2017 17:54
Connecting to AWS CodeCommit
  1. Goto your AWS IAM Console and create or modify a current IAM user (preferably the one you use to connect with your AWS CLI)

  2. Goto Security Credentials -> Scroll down to SSH keys for AWS CodeCommit

  3. Create a private/public ssh key on your local machine:

    ssh-keygen -t rsa -b 4096 -C "[email protected]"

  4. Click on "Upload SSH Public Key" and paste in the contents of ~/.ssh/id_rsa.pub into the textarea and save.

  5. Note the Access Key ID that was generated, it will be something like APKA********** this will be used as your User for SSH access

  6. Navigate to the AWS CodeCommit Console and click on your repository (or create one)

  7. Create a ~/.ssh/config file with the following contents (modify for your setup/names):

@mlabieniec
mlabieniec / .eslintrc
Created May 24, 2017 13:58 — forked from cletusw/.eslintrc
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
{
// 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
@mlabieniec
mlabieniec / .eslintrc
Created May 24, 2017 13:58 — forked from cletusw/.eslintrc
ESLint Reset - A starter .eslintrc file that resets all rules to off and includes a description of what each rule does. From here, enable the rules that you care about by changing the 0 to a 1 or 2. 1 means warning (will not affect exit code) and 2 means error (will affect exit code).
{
// 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