Skip to content

Instantly share code, notes, and snippets.

@fireflycons
fireflycons / Get-S3ETagForLocalFile.ps1
Created February 9, 2018 09:37
Compute Amazon S3 ETag for a local file
<#
.SYNOPSIS
Compute Amazon S3 ETag for a local file
.DESCRIPTION
ETags represent a hash of the content of a file stored in S3.
Comaparing ETags can be used to determine
- If a file in S3 is the same as one you are going to upload
- Following an upload, whether the file was successfully uploaded.
@brunopk
brunopk / README.md
Last active December 25, 2023 21:37
Debugging Typescript AWS Lambda with VSCode and Serverless

Debug TypeScript serverless application in VSCode

  1. Edit serverless.yml, the handler path should be from the root folder (not dist/**/your_handler.main or from any directory with compiled files), for instance:
    ...
    my_function:
     handler: handlers/my_function.main
    ...
  2. Edit serverless.yml adding serverless-plugin-typescript to the plugin section:
@KaanGaming
KaanGaming / ilopcodes.md
Last active June 10, 2025 23:32
Useful IL opcodes

Useful IL Opcodes

IL opcodes documentation designed with dynamically building assemblies in C# in mind. This documentation implies you know the basics of C# and programming fundamentals, but not how a computer operates at the deep level of understanding (e.g. stacks, heap, instructions, opcodes, etc.)

What's IL?

If you don't know what IL is, it stands for Intermediate Language, also referred to as Common Intermediate Language (CIL). CIL is the one that's used in generating IL code for dynamic assemblies in C#.