Skip to content

Instantly share code, notes, and snippets.

View bernadinm's full-sized avatar

Miguel Bernadin bernadinm

  • San Francisco, California
  • 20:23 (UTC -08:00)
View GitHub Profile
Room Name Area (m2)
Room 1 3.64
Room 2 4.64
Room 3 246.74
Room 4 4.18
Room 5 5.59
Room 6 8.36
Room 7 5.94
Room 8 108.5
Room 9 14.26
@bernadinm
bernadinm / untilited0.ipynb
Last active December 3, 2023 01:44
Hello Pulze.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bernadinm
bernadinm / README.md
Created November 1, 2022 08:07
Home-manger MacOS Nix Installation Instruction

Nix MacOS Home Manager Installation Guide

Prequisite

Install Nix with the following command

sh <(curl -L https://nixos.org/nix/install)
@bernadinm
bernadinm / miguel.bernadin.id_ed25519
Created January 28, 2022 22:33
Miguel Bernadin's ssh public key
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINqgRfblq8qT8u60vcfUEWo5aAy0GsnM4onnzDYRejNj openpgp:0xC106861E
@bernadinm
bernadinm / miguel.bernadin.pub.asc
Created January 28, 2022 22:27
Miguel Bernadin's public gpg key.
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFtRGFABEAD31S3wVmOfxe3TX4uyFGJSiRQ+qt41W3atDivZsCmp/JUuIKaI
NA4xZOfQM1F44hPsTheiOP35000wyXYxHm6uV//LZfIGmqxwectZGA/26eXAKQVP
Wp67vf2OdOsDbhX7q6N8vsYKETtPlG2wNBOgtkuWNu2lJT0nOJjTgKkKU+5GupLZ
f2+c51qF2yBZSyRb0uhSc3U/Lvf+outoEmUuk7oBWVTMSNS9SYXLlcUbV+7JqZ2M
ELaYt1aCgotxZ/YgQ5G2LTK0ysHaIRdYdC34Eue2H5SSdKMws0sQnWTM1DM0k2H8
UE7bZXcC54NpSp8LM/ivgZ9baSR+3MW1RLPd6Ba5mzsDPV8fuZ5bqKNZhylcJ2Lx
m56DQKkCL1IfR35P+y99wke8TCau46inehWodkH2tDx2XYjKzACS8QnmA6YeIo8b
3XgVH0IiqUXt55nzuCxLT9anXDkejShuj2z5p2jO0QI6xJMmVGNaQn62DDUMrW8S
@bernadinm
bernadinm / ksonnet-dot-notation.out
Created October 16, 2019 23:54
ksonnet dot notation
admissionregistration.v1alpha1.initializerConfiguration.initializersType
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.initializers.mixinInstance(initializers)
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.initializers.pendingType
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.initializers.withPending(pending)
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.initializers.withPendingMixin(pending)
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.initializersType
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.mixinInstance(metadata)
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.ownerReferencesType
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.withAnnotations(annotations)
admissionregistration.v1alpha1.initializerConfiguration.mixin.metadata.withAnnotationsMixin(annotations)
@bernadinm
bernadinm / README.md
Created February 5, 2019 19:50
dcos-terraform folder structure

dcos-terraform folder structure

[mb@miguel-nixos:~/Sites/bernadinm/dcos-terraform]$ tree -d -I 'templates|dcos-bootstrap|dcos-mesos-agent|dcos-mesos-master|dcos-mesos-agent-public' modules/
modules/
├── aws
│   ├── bootstrap
│   ├── dcos
│   │   ├── docs
│   │   │   └── published
@bernadinm
bernadinm / README.md
Last active February 5, 2019 15:59
How to make a site-wide dcos-terraform change

github changes

User Dan finds the changes to make

[mb@miguel-nixos:~/Sites/jieyu/dcos-terraform]$ grep -A1 -r . -e "aws_ami" | grep "AMI that will be used" | sed 's/tf-/tf:/g'
./modules/aws/infrastructure/variables.tf:  description = "AMI that will be used for the instances instead of Mesosphere provided AMIs"
./modules/aws/infrastructure/README.md:| aws_ami | AMI that will be used for the instances instead of Mesosphere provided AMIs | string | `` | no |
./modules/aws/public-agents/variables.tf: description = "AMI that will be used for the instances instead of Mesosphere provided AMIs"
@bernadinm
bernadinm / apply.log
Created January 2, 2019 19:52
terraform apply | terraform-aws-provider GH issue
$ terraform apply
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
~ update in-place
Terraform will perform the following actions:
~ data.aws_security_group.peer
@bernadinm
bernadinm / plan.out
Created January 2, 2019 19:50
terraform plan | terraform-aws-provider GH issue
$ terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols: