Skip to content

Instantly share code, notes, and snippets.

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

David Rio Deiros drio

🐢
I don't know
View GitHub Profile
@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
@drio
drio / README.md
Last active July 25, 2022 12:31
router_os_mikrotik
@drio
drio / index.txt
Created July 20, 2022 14:03
foo_bar2
Gist away!
@drio
drio / index.txt
Created July 20, 2022 13:56
gist name here
Start here.