Skip to content

Instantly share code, notes, and snippets.

@xabinapal
xabinapal / opentofu.log
Created April 25, 2025 17:25
OpenTofu 1.9.1 bug: local modules with identical absolute paths are copied instead of symlinked
2025-04-25T19:14:50.109+0200 [INFO] OpenTofu version: 1.9.1
2025-04-25T19:14:50.109+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.36.0
2025-04-25T19:14:50.109+0200 [DEBUG] using github.com/opentofu/hcl/v2 v2.0.0-20240814143621-8048794c5c52
2025-04-25T19:14:50.109+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-04-25T19:14:50.109+0200 [DEBUG] using github.com/zclconf/go-cty v1.14.4
2025-04-25T19:14:50.109+0200 [INFO] Go runtime version: go1.22.12
2025-04-25T19:14:50.109+0200 [INFO] CLI args: []string{"tofu", "init"}
2025-04-25T19:14:50.109+0200 [TRACE] Stdout is a terminal of width 236
2025-04-25T19:14:50.109+0200 [TRACE] Stderr is a terminal of width 236
2025-04-25T19:14:50.109+0200 [TRACE] Stdin is a terminal
@xabinapal
xabinapal / .tmux.conf
Last active January 29, 2017 17:17
My custom tmux settings. Always WIP :D
# remap prefix
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# use send-prefix to pass C-a through to application
bind C-a send-prefix
# reload ~/.tmux.config with <prefix>r
bind r source-file ~/.tmux.conf \
@xabinapal
xabinapal / .bashrc
Last active May 17, 2017 14:52
My custom bash settings. Always WIP :D
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# ansible
ANS_VAULT=
# autostart tmux
INIT_TMUX=
ALLOW_MULTIPLE_TMUX=
@xabinapal
xabinapal / .vimrc
Last active April 22, 2017 15:21
My custom vim settings. Always WIP :D
try
:set t_Co=256
:set background=dark
:colorscheme desertEx " http://www.vim.org/scripts/script.php?script_id=1693
catch
endtry
:let mapleader = ","
syntax on " enable syntax highlighting
@xabinapal
xabinapal / FloatingPointNumberModelBinder.cs
Created May 7, 2015 15:41
Avoid culture issues when using floating-point numbers as parameters in ASP.NET controllers.
using System;
using System.Globalization;
using System.Reflection;
using System.Web.Mvc;
public class FloatingPointNumberModelBinder : DefaultModelBinder
{
public override object BindModel(ControllerContext controllerContext, ModelBindingContext bindingContext)
{
if (bindingContext.ModelType != typeof(float)