Skip to content

Instantly share code, notes, and snippets.

EJLP ejlp12

Block or report user

Report or block ejlp12

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:addf430504fde68dc7cf9f19b4957b11
curl -o- | bash
nvm install node
View SamplePage.php
<?php include ""; ?>
<h1>Sample page</h1>
/* Connect to MySQL and select the database. */
$connection = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD);
ejlp12 /
Last active Aug 12, 2019
Setup Session Manager to access EC2 instance without SSH

Session Manager offers these benefits:

  • Centralized access control to instances using IAM policies
  • No open inbound ports and no need to manage bastion hosts or SSH keys
  • One-click access to instances from the console and CLI
  • Logging and auditing session activity


ejlp12 / cost
Last active Jul 31, 2019
cost billing tagging
View cost
ejlp12 /
Created Jul 8, 2019
hub: Github command line tool


tar -xf hub-linux-amd64-2.12.1.tgz hub-linux-amd64-2.12.1/bin/hub -C /usr/bin --strip-components=2



Problem: Cannot execute kubectl get <something> Error:

error: the server doesn't have a resource type "something"
Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}
could not get token: AccessDenied: Access denied status code: 403
You can’t perform that action at this time.