Skip to content

Instantly share code, notes, and snippets.

View fvoges's full-sized avatar
:octocat:

Federico Voges fvoges

:octocat:
View GitHub Profile
@abuxton
abuxton / README.md
Created November 18, 2022 11:16
debugging cloud-init and user_data on cloud platforms

Yubikey GPG inside WSL2

  1. Install GPG4Win.
  2. Start up Kleopatra (a UI tool from 1) and make sure your YubiKey is loaded there.
    • You can also add GPG4Win to Startup folder using a link with this Target:
      "C:\Program Files (x86)\GnuPG\bin\gpg-connect-agent.exe" /bye
      
      This will only load the agent at Startup, and you won't be bothered by any UI or tray agent.
  3. Download wsl2-ssh-pageant into your Windows %userprofile%/.ssh directory (Windows dir is important for performance).
@sekcompsci
sekcompsci / Comparison Espressif ESP MCUs.md
Created June 18, 2021 03:56 — forked from fabianoriccardi/Comparison Espressif ESP MCUs.md
Comparison table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

Comparison table for ESP8266/ESP32/ESP32-S2/ESP32-S3/ESP32-C3/ESP32-C6

A minimal table to compare the Espressif's MCU families.

ESP8266 ESP32 ESP32-S2 ESP32-S3 ESP32-C3 ESP32-C6
Announcement Date 2014, August 2016, September 2019, September 2020, December
@arodd
arodd / agent.hcl
Last active November 25, 2021 04:52
Vault PKI - Basic Demo
auto_auth {
method "approle" {
config = {
role_id_file_path = ".role-id"
secret_id_file_path = ".secret-id"
}
}
sink "file" {
config = {
@GuyBarros
GuyBarros / gist:c0e7f618ff7c0434b11f8ad3ac627926
Last active December 8, 2022 14:15
Jenkins pipeline config for TFE Demos
pipeline {
agent any
environment {
GIT_REPO = "https://github.com/GuyBarros/terraform-azurerm-demostack"
TFE_NAME = "app.terraform.io"
TFE_URL = "https://app.terraform.io"
TFE_ORGANIZATION = "emea-se-playground-2019"
TFE_API_URL = "${TFE_URL}/api/v2"
@denzuko
denzuko / MailinatorAliases
Last active January 20, 2023 09:57 — forked from nocturnalgeek/MailinatorAliases
A list of alternate domains that point to @mailinator.com
@binkmail.com
@bobmail.info
@chammy.info
@devnullmail.com
@letthemeatspam.com
@mailinater.com
@mailinator.net
@mailinator2.com
@notmailinator.com
@reallymymail.com
@natemccurdy
natemccurdy / pe_repo_packages.pp
Last active January 5, 2018 05:21
Puppet class to synchronize pe_repo packages to off-line compile masters
# This class is meant to solve the problem of synchronizing pe_repo agent
# packages to compile masters when there is no internet access.
#
# This profile assumes that the Puppet MoM (master of masters) is able to reach
# the internet to download the needed packages, or they've been sneaker-netted to the MoM.
#
class pe_repo_packages {
# Generate an array of puppet-agent pe_repo package names.
# 1. Searches PuppetDB for all pe_repo::platform classess added to the MoM.
@cubiq
cubiq / Original Prusa i3 MK2.fff
Last active August 26, 2019 08:07
Simplify3D Configuration file for the Original Prusa i3 MK 2
<?xml version="1.0"?>
<profile name="Original Prusa i3 MK2" version="2017-07-16 09:26:29" app="S3D-Software 3.1.1">
<baseProfile>Default</baseProfile>
<printMaterial>PLA</printMaterial>
<printQuality>Normal 0.2</printQuality>
<printExtruders></printExtruders>
<extruder name="Primary Extruder">
<toolheadNumber>0</toolheadNumber>
<diameter>0.4</diameter>
<autoWidth>0</autoWidth>
#!/bin/bash
OLDIFS=$IFS
export IFS=$'\n'
# Find all boxes which have updates
AVAILABLE_UPDATES=$(vagrant box outdated --global | grep outdated | tr -d "*'" | cut -d ' ' -f 2 2>/dev/null)
if [[ ${#AVAILABLE_UPDATES[@]} -ne 0 ]]; then
#!/opt/puppetlabs/puppet/bin/ruby
require 'rugged'
require 'octokit'
require 'yaml'
# needs refactoring for code manager
# https://github.com/puppetlabs/control-repo/blob/production/scripts/code_manager_config_version.rb
environmentpath = ARGV[0]
environment = ARGV[1]