Skip to content

Instantly share code, notes, and snippets.

View multani's full-sized avatar

Jonathan Ballet multani

View GitHub Profile
@multani
multani / tf.log
Created February 9, 2023 12:21
Permanent diff for `google_bigquery_dataset`s `max_time_travel_hours`
2023-02-09T13:19:35.750+0100 [INFO] Terraform version: 1.3.7
2023-02-09T13:19:35.750+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0
2023-02-09T13:19:35.750+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.15.0
2023-02-09T13:19:35.750+0100 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2023-02-09T13:19:35.750+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2023-02-09T13:19:35.750+0100 [DEBUG] using github.com/zclconf/go-cty v1.12.1
2023-02-09T13:19:35.750+0100 [INFO] Go runtime version: go1.19.4
2023-02-09T13:19:35.751+0100 [INFO] CLI args: []string{"/home/jballet/.asdf/installs/terraform/1.3.7/bin/terraform", "apply"}
2023-02-09T13:19:35.751+0100 [DEBUG] Attempting to open CLI config file: /home/jballet/.terraformrc
2023-02-09T13:19:35.751+0100 [DEBUG] Explicit provider installation configuration is set
2022-09-15T09:41:34.026+0200 [INFO] Terraform version: 1.2.9
2022-09-15T09:41:34.026+0200 [DEBUG] using github.com/hashicorp/go-tfe v1.0.0
2022-09-15T09:41:34.026+0200 [DEBUG] using github.com/hashicorp/hcl/v2 v2.12.0
2022-09-15T09:41:34.026+0200 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2
2022-09-15T09:41:34.026+0200 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734
2022-09-15T09:41:34.026+0200 [DEBUG] using github.com/zclconf/go-cty v1.11.0
2022-09-15T09:41:34.026+0200 [INFO] Go runtime version: go1.18.1
2022-09-15T09:41:34.026+0200 [INFO] CLI args: []string{"/home/jballet/.asdf/installs/terraform/1.2.9/bin/terraform", "apply"}
2022-09-15T09:41:34.026+0200 [DEBUG] Attempting to open CLI config file: /home/jballet/.terraformrc
2022-09-15T09:41:34.026+0200 [INFO] Loading CLI configuration from /home/jballet/.terraformrc

How to reproduce:

  • run nomad agent -dev -acl-enabled
  • run nomad acl bootstrap
  • run export NOMAD_TOKEN=XXX, where XXX is the Secret ID from previous step
  • run the test.sh script
@multani
multani / keybase.md
Created February 10, 2017 14:27
Keybase.io Github verification

Keybase proof

I hereby claim:

  • I am multani on github.
  • I am jballet (https://keybase.io/jballet) on keybase.
  • I have a public key ASCWUYB_Gvt50wYAeEyBlAebvL7dwmvn4eB_ayBhszgEwgo

To claim this, I am signing this object:

Sample configuration for https://github.com/saltstack/salt/issues/33355
FROM debian:jessie
RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y wget
RUN wget http://bootstrap.saltstack.org/ -O /bootstrap-salt.sh
RUN chmod +x /bootstrap-salt.sh
RUN /bootstrap-salt.sh -M -N -X stable 2015.8.9
ADD master.conf /etc/salt/master
DPKG_TIMESTAMP %{TIMESTAMP_ISO8601:timestamp}
DPKG_PACKAGE [-+~\.0-9a-zA-Z]+
DPKG_ARCH [a-z0-9]+
DPKG_PKGARCH %{DPKG_PACKAGE:package}(:%{DPKG_ARCH:arch})?
DPKG_VERSION [-+~<>\.0-9a-zA-Z]+
DPKG_ACTION0 (startup archives|startup packages|conffile)
DPKG_ACTION1 (configure|remove|upgrade|purge|status (config-files|installed|not-installed|triggers-awaited|triggers-pending|unpacked|half-installed|half-configured))
DPKG_ACTION2 (trigproc|upgrade)
DPKG_0_VERSIONS %{DPKG_ACTION0:action}
DPKG_1_VERSIONS (%{DPKG_ACTION1:action} %{DPKG_PKGARCH} %{DPKG_VERSION:version})$
This is a test case to demonstrate the problem in https://github.com/wichert/collective.recipe.modwsgi/pull/8
@multani
multani / test-fill-store-from-mpd.py
Created January 20, 2014 01:48
Sonata Speed To be run from the Sonata directory at https://github.com/multani/sonata
import gettext
gettext.install('sonata')
import cProfile
import time
from gi.repository import Gtk
import mpd
from sonata import mpdhelper
@multani
multani / buildout.cfg
Last active January 2, 2016 19:09
zc.recipe.egg:custom bug
[buildout]
parts = foo
develop = .
[foo]
recipe = zc.recipe.egg:custom
egg = foo
environment = env
[env]