Skip to content

Instantly share code, notes, and snippets.

View drio's full-sized avatar
🐢
I don't know

David Rio drio

🐢
I don't know
View GitHub Profile
@drio
drio / README.md
Created November 21, 2022 14:53
nomad-bins

Gist away!

ResponseId RESPONSE_ID ResponseId
Q2DocumentLink Q2_DOCUMENT_LINK Q2_Id
Q2DocumentName Q2_DOCUMENT_NAME Q2_Name
Q14DocumentLink Q14_DOCUMENT_LINK Q14_Id
Q14DocumentName Q14_DOCUMENT_NAME Q14_Name
Q15DocumentLink Q15_DOCUMENT_LINK Q15_Id
Q15DocumentName Q15_DOCUMENT_NAME Q15_Name
Q18Affiliation Q18_AFFILIATION Q18_3
Q18DisplayEmail Q18_DISPLAY_EMAIL Q18_2
Q18DisplayName Q18_DISPLAY_NAME Q18_1
@drio
drio / README.md
Last active November 17, 2022 21:33
header-demo-gocsv

Demo for gocsv (ticket #159)

> cat demo.csv
client_id,client_name,client_age
1,Jose,42
2,Daniel,26
3,Vincent,32

> go run ./main.go --csvFile=demo.csv
@drio
drio / README.md
Last active October 11, 2022 08:27
unix-batteries

Unix batteries

Loads a few crucial tools in your new Unix/Linux box.

Run

# In OSX, this will script will paste the cmd to the clipboard:
$ ./gen-cmd.sh
@drio
drio / dendrite.yaml
Last active September 17, 2022 11:29
# This is the Dendrite configuration file.
#
# The configuration is split up into sections - each Dendrite component has a
# configuration section, in addition to the "global" section which applies to
# all components.
# The version of the configuration file.
version: 2
# Global Matrix configuration. This configuration applies to all components.
diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h
index 0b8691f..4377bc6 100644
--- a/Marlin/Configuration.h
+++ b/Marlin/Configuration.h
@@ -87,7 +87,8 @@
// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
- #define MOTHERBOARD BOARD_RAMPS_14_EFB
+ //#define MOTHERBOARD BOARD_RAMPS_14_EFB
@drio
drio / README.md
Last active August 16, 2022 11:15
terraform-notes

Terraform notes

Basics

# So we get the specific code for the provider
$ terraform init
$ terraform plan
$ terraform apply
$ terraform destroy # not a good idea
@drio
drio / README.md
Last active August 16, 2022 11:14
aws-cli-cheatsheet

Cheatsheet aws cli

Config is in $HOME/.aws

To list profiles:

aws configure list-profiles

Use the env var AWS_DEFAULT_PROFILE to select a profile.

@drio
drio / README.md
Last active July 28, 2022 20:43
go-builds-in-github-actions

Go builds in github actions

  1. Create the .github/workflows/release_build.yml. Pay attention to line 30, you may want to adjust that for your project.
  2. In the github UI, add a new token in Settings > Developer Settings > Personal access tokens. Save the token.
  3. In your project settings, under Secrets > Actions add a secret name with the value of the token that you just created.
  4. Use a script
@drio
drio / .gitignore
Last active July 28, 2022 15:06
ssl_tls_concepts
*.cert
*.crt
*.key