Skip to content

Instantly share code, notes, and snippets.

View leonfs's full-sized avatar

Leonardo Fernandez Sanchez leonfs

View GitHub Profile
#cloud-config
---
hostname: master
write_files:
- path: /etc/conf.d/nfs
permissions: '0644'
content: |
OPTS_RPC_MOUNTD=""
- path: /opt/bin/wupiao
#!/bin/bash
APP_NAME=${PWD##*/}
VERSION=$(npm view $APP_NAME version)
TAG=quay.io/mag3llan/$APP_NAME:$VERSION
docker build -t $TAG .
beforeEach(() => {
console.log('0.0 Global before each')
})
test('global test', () => {
console.log('0.1 test from global')
})
test('another global test', () => {
console.log('0.2 another test from global')

Keybase proof

I hereby claim:

  • I am leonfs on github.
  • I am leonfs (https://keybase.io/leonfs) on keybase.
  • I have a public key ASBedQK_IbpKhIZKwsl8NysDcgQyW2lFQSy2PIGKXcjZPwo

To claim this, I am signing this object:

@leonfs
leonfs / ecs-deploy.sh
Last active February 11, 2022 19:11
#!/usr/bin/env bash
# Setup default values for variables
VERSION="3.2.0"
CLUSTER=false
SERVICE=false
TASK_DEFINITION=false
MAX_DEFINITIONS=0
IMAGE=false
MIN=false
@leonfs
leonfs / debug.log
Created October 10, 2022 21:55
Scaleway BareMetal Bug
2022-10-10T22:48:14.316+0100 [INFO] provider: configuring client automatic mTLS
2022-10-10T22:48:14.342+0100 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/scaleway/scaleway/2.4.0/darwin_amd64/terraform-provider-scaleway_v2.4.0 args=[.terraform/providers/registry.terraform.io/scaleway/scaleway/2.4.0/darwin_amd64/terraform-provider-scaleway_v2.4.0]
2022-10-10T22:48:14.351+0100 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/scaleway/scaleway/2.4.0/darwin_amd64/terraform-provider-scaleway_v2.4.0 pid=62685
2022-10-10T22:48:14.352+0100 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/scaleway/scaleway/2.4.0/darwin_amd64/terraform-provider-scaleway_v2.4.0
2022-10-10T22:48:14.417+0100 [INFO] provider.terraform-provider-scaleway_v2.4.0: configuring server automatic mTLS: timestamp=2022-10-10T22:48:14.415+0100
2022-10-10T22:48:14.446+0100 [DEBUG] provider.terraform-provider-scaleway_v2.4.0: plugin address