Skip to content

Instantly share code, notes, and snippets.

View michael-golfi's full-sized avatar

Michael Golfi michael-golfi

View GitHub Profile
@kutzhanov
kutzhanov / .gitlab-ci.yml
Last active November 22, 2022 20:50
Deploy Docker container into AWS ECS Fargate using Gitlab CI
image: docker:19.03
variables:
REPOSITORY_URL: <AWS_ACCOUNT_ID>.dkr.ecr.<REGION_NAME>.amazonaws.com/<ECR_REPOSITORY_NAME>
REGION: <REGION_NAME>
TASK_DEFINITION_NAME: <TASK_DEFINITION_NAME>
CLUSTER_NAME: <CLUSTER_NAME>
SERVICE_NAME: <SERVICE_NAME>
CPU: <CPU>
MEMORY: <MEMORY>
@joeduffy
joeduffy / PulumiPolicy.yaml
Last active November 20, 2020 05:41
AWS IAM Access Analyzer, Meet Pulumi CrossGuard
description: A policy pack that runs AWS IAM Access Analyzer during your deployments.
runtime: nodejs
@sam016
sam016 / AllGattCharacteristics.java
Last active June 18, 2024 07:07
Bluetooth GATT Services & Characteristics
package com.sam016.vsflatomation.service.ble;
import java.util.HashMap;
import java.util.UUID;
public class AllGattCharacteristics {
private static HashMap<String, String> attributes = new HashMap();
static {
attributes.put("00002a00-0000-1000-8000-00805f9b34fb", "Device Name");