Skip to content

Instantly share code, notes, and snippets.

Lucas Mendelowski lucasm-iRonin

Block or report user

Report or block lucasm-iRonin

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
@lucasm-iRonin
lucasm-iRonin / lambda-basic-auth.js
Created Jan 25, 2019 — forked from lmakarov/lambda-basic-auth.js
Basic HTTP Authentication for CloudFront with Lambda@Edge
View lambda-basic-auth.js
'use strict';
exports.handler = (event, context, callback) => {
// Get request and request headers
const request = event.Records[0].cf.request;
const headers = request.headers;
// Configure authentication
const authUser = 'user';
const authPass = 'pass';
@lucasm-iRonin
lucasm-iRonin / README.md
Created Jul 3, 2018 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications
View README.md


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.

OP: @leonardofed founder @ plainflow.


@lucasm-iRonin
lucasm-iRonin / change_string.rb
Created Jun 28, 2017
What will be printed by the last line (`puts` method), please explain the result:
View change_string.rb
def change_string(str)
str << "bbb"
str << "ccc"
str = "ddd"
end
test = "aaa"
change_string(test)
puts test
@lucasm-iRonin
lucasm-iRonin / update-dokku-stack.sh
Created Apr 27, 2016 — forked from egerlach/update-dokku-stack.sh
Update stack underlying apps running on dokku
View update-dokku-stack.sh
#!/bin/bash
# before you can use this, you need to run (as root):
# git clone https://github.com/tt/stack-images.git /root/stack-images
# git clone https://github.com/gliderlabs/herokuish.git /root/herokuish
# First, we need to get our base ubuntu images up to date
docker pull ubuntu-debootstrap:14.04
docker pull ubuntu:trusty # for postgresql
You can’t perform that action at this time.