Skip to content

Instantly share code, notes, and snippets.

{"err":"\u003cnil\u003e","lvl":"info","msg":"open config file","path":"/home/dara/git/github.com/electrofelix/vagrant-libvirt/ngrok.yml","t":"2022-10-01T23:43:18.174215337+01:00"}
NAME:
start - start tunnels by name from the configuration file
USAGE:
ngrok start [flags]
DESCRIPTION:
Starts tunnels by name from the configuration file. You may specify any
number of tunnel names. You may start all tunnels in the configuration
@electrofelix
electrofelix / output.log
Last active May 15, 2022 11:18
Sample files for libvirt define behaviour
initial definition
Domain 'vagrant-libvirt_default' defined from test.xml
display vcpus
<vcpu placement='static'>2</vcpu>
update with nvram XML tag
Domain 'vagrant-libvirt_default' defined from test_with_nvram.xml
check if apply worked
@electrofelix
electrofelix / stdout
Created March 23, 2021 16:22
vagrant plugin install debug output
VAGRANT_LOG=debug vagrant plugin install vagrant-winrm-syncedfolders
INFO global: Vagrant version: 2.2.13
INFO global: Ruby version: 2.6.6
INFO global: RubyGems version: 3.0.3
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.13/gems/vagrant-2.2.13/bin/vagrant"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
INFO global: VAGRANT_NO_PLUGINS="1"
type DynamoDBAPI interface {
GetItem(*dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
Scan(*dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
PutItem(*dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
UpdateItem(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
DeleteItem(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
}
type DynamoDBStorage struct {
client DynamoDBAPI
@electrofelix
electrofelix / Tiltfile
Created April 30, 2020 15:00
tilt ci never exits
k8s_yaml('dynamodb.yaml')
class mysensu::setup() {
# have a number of other settings applied to this resource
class { '::sensu':
use_embedded_ruby => true,
sensu_plugin_provider => 'sensu_gem',
}
# because the package installs it's on CA certs and we have an internal
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import django
django.setup()
# Must come after django.setup or trigger "Apps aren't loaded yet" exception
diff --git a/bash_completion/git-upstream b/bash_completion/git-upstream
index 79dabb0..aa47985 100644
--- a/bash_completion/git-upstream
+++ b/bash_completion/git-upstream
@@ -1,6 +1,6 @@
eval "$(register-python-argcomplete git-upstream)"
# following automatically picked up if git bash completion active
-_git_upstream() {
+___git_upstream() {
# save originals
[
{
"number": 14885,
"dependsOn": [
{
"number": 14881
}
],
"neededBy": [
{
fixtures:
symlinks:
site: "#{source_dir}/puppet/modules"