Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View darkslategrey's full-sized avatar

Grégory Faruch darkslategrey

View GitHub Profile
[core]
# The folder where your airflow pipelines live, most likely a
# subfolder in a code repository. This path must be absolute.
#
# Variable: AIRFLOW__CORE__DAGS_FOLDER
#
dags_folder = /opt/airflow/dags
# Hostname by providing a path to a callable, which will resolve the hostname.
# The format is "package.function".
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
==============================================================================
DB Access Error - debug_print_backtrace() OUTPUT START
ATTENTION: Enabling more debug info will produce path disclosure weakness (CWE-200)
Having this additional Information could be useful for reporting
issue to development TEAM.
==============================================================================
#0 database->exec_query() called at [/opt/bitnami/testlink/lib/functions/database.class.php:641]
#1 database->fetchRowsIntoMap() called at [/opt/bitnami/testlink/lib/functions/execTreeMenu.inc.php:191]
#2 execTree() called at [/opt/bitnami/testlink/lib/functions/tlTestCaseFilterControl.class.php:1079]
#3 tlTestCaseFilterControl->build_tree_menu() called at [/opt/bitnami/testlink/lib/execute/execNavigator.php:35]
api_key: nil (default)
api_url: "https://hex.pm/api" (default)
diff_command: "git diff --no-index __PATH1__ __PATH2__" (default)
home: "/home/greg/.hex" (default)
http_concurrency: 8 (default)
http_proxy: nil (default)
http_timeout: nil (default)
https_proxy: nil (default)
mirror_url: nil (default)
no_verify_repo_origin: false (default)
Failed to fetch record for 'hexpm/phoenix_html' from registry (using cache instead)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :enetunreach}]}
Failed to fetch record for 'hexpm/gettext' from registry (using cache instead)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :enetunreach}]}
Failed to fetch record for 'hexpm/plug_cowboy' from registry (using cache instead)
{:failed_connect, [{:to_address, {'repo.hex.pm', 443}}, {:inet, [:inet], :enetunreach}]}
Failed to check for new Hex version
Failed to fetch record for 'hexpm/phoenix_live_reload' from registry (using cache instead)
:timeout
:timeout
@darkslategrey
darkslategrey / copy_image_to_cluster.sh
Created July 29, 2019 21:56 — forked from muvaf/copy_image_to_cluster.sh
Copy images from your local host to minikube cluster
# This is an excerpt from https://github.com/crossplaneio/crossplane/blob/master/cluster/local/minikube.sh
# I think it's pretty useful on its own.
#!/usr/bin/env bash
set -eE
function copy_image_to_cluster() {
local build_image=$1
local final_image=$2
docker save "${build_image}" | (eval "$(minikube docker-env --shell bash)" && docker load && docker tag "${build_image}" "${final_image}")
job "db" {
datacenters = ["dc1"]
type = "service"
update {
max_parallel = 1
min_healthy_time = "10s"
healthy_deadline = "3m"
progress_deadline = "10m"
auto_revert = false
canary = 0
job "api" {
datacenters = ["dc1"]
type = "service"
update {
max_parallel = 1
min_healthy_time = "10s"
healthy_deadline = "3m"
progress_deadline = "10m"
auto_revert = false
canary = 0
@darkslategrey
darkslategrey / ParameterizeHashicorpNomadJob.md
Created May 30, 2019 16:33 — forked from rohitkothari/ParameterizeHashicorpNomadJob.md
How to parameterize a Hashicorp's Nomad Job for user-defined variables?

How to parameterize a Hashicorp's Nomad Job for user-defined variables?

Description

This sample Nomad job attempts to clone a github repository from a github account, and then perform ls command to verify if it downloaded.

However, the cool thing is, it uses parameterized construct to parameterize the repository name so I can re-use this nomad job to clone any repository at runtime.

Motivation for writing

O portatil precisa de pci=noaer e acpi_osi= nas boot options

Installing Arch Linux

Get the Wiki ready!

Installing the base system