Skip to content

Instantly share code, notes, and snippets.

View eddiecorrigall's full-sized avatar

Eddie Corrigall eddiecorrigall

View GitHub Profile

Scaling

Tips

  • avoid concurrency
  • avoid cyclic dependencies
  • avoid full table scans
  • KISS (keep it stupid simple)
    • prioritize simplicity over complexity
  • don't be too clever
@eddiecorrigall
eddiecorrigall / how-i-passed-my-aws-exam.md
Last active September 12, 2023 14:24
How I passed my AWS exam

How I Passed My AWS Exam

I passed my exam, you can too. The grade you need to pass is not known, and changes per exam and region taken. You should aim for a minimum of 70%.

AWS Certified Developer Associate

This is the easiest of the associate level exams, but that is not to say that everyone will pass. Its a lot of material, and you will need time for it to soak in. You can do it!

@eddiecorrigall
eddiecorrigall / http_sessions.md
Last active September 12, 2023 14:20
Http Server Sessions

HTTP Sessions

As an introduction, lets find out what it means to be stateless and stateful protocol. Then lets dive into how using cookies helps us maintain a server-side session, and finally lets talk about security.

Stateless HTTP

Originally HTTP began as a stateless protocol, which will not assume any special meaning between requests even if they originate from the same socket. While this is great for serving content, it only offers a generic user experience as the server is unable to distinguish between users natively.

Stateful HTTP

With stateful protocol, the user state is persisted between requests so the server will be able to build context. For example, server would then be able to answer: Who are they? Are they authenticated? What items do they have in their chart? In constrast, a stateless protocol would handle each request as if it had seen it for the first time.

How cookies are set

@gboeing
gboeing / pypi.md
Last active June 17, 2022 16:11
How to organize and distribution a package on pypi

To distribute a package on pypi

Directory structure

/project/
    /package/
        __init__.py
        module.py
 setup.py
@leonardofed
leonardofed / README.md
Last active July 19, 2024 17:51
A curated list of AWS resources to prepare for the AWS Certifications


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.


@coolaj86
coolaj86 / how-to-publish-to-npm.md
Last active July 25, 2024 03:38
How to publish packages to NPM

Getting Started with NPM (as a developer)

As easy as 1, 2, 3!

Updated:

  • Aug, 08, 2022 update config docs for npm 8+
  • Jul 27, 2021 add private scopes
  • Jul 22, 2021 add dist tags
  • Jun 20, 2021 update for --access=public
  • Sep 07, 2020 update docs for npm version