Skip to content

Instantly share code, notes, and snippets.

View frbayart's full-sized avatar
🐼
it's a raining day !

Francois BAYART frbayart

🐼
it's a raining day !
View GitHub Profile
@frbayart
frbayart / GPT View.md
Last active January 31, 2025 11:49
Talk 2025
@frbayart
frbayart / CountryCodes.json
Created June 11, 2024 05:44 — forked from anubhavshrimal/CountryCodes.json
Country and Dial or Phone codes in JSON format
[
{
"name": "Afghanistan",
"dial_code": "+93",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
"code": "AX"
@frbayart
frbayart / README.md
Last active June 23, 2023 12:40
Azure NodeJs upload to storage account
@frbayart
frbayart / Brewfile
Last active December 29, 2022 22:09
Reminder for Fresh Install
# https://github.com/Homebrew/homebrew-bundle
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
# set arguments for all 'brew install --cask' commands
cask_args appdir: "~/Applications", require_sha: true
# CASK
@frbayart
frbayart / subscriptions.opml
Created December 13, 2022 15:16
RSS Subscriptions
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.1">
<head>
<title>The Old Reader</title>
<dateCreated>Tue, 13 Dec 2022 15:13:31 GMT</dateCreated>
<dateModified>Tue, 13 Dec 2022 15:13:31 GMT</dateModified>
<ownerName>Francois Bayart</ownerName>
<ownerEmail>[email protected]</ownerEmail>
</head>
<body>
@frbayart
frbayart / main.py
Created May 25, 2022 07:39
Probot settings.yaml generator
from github import Github
from jinja2 import Environment, FileSystemLoader
import os
import yaml
g = Github(os.environ['GITHUT_PAT'])
repo = g.get_repo("GH-ORG/REPONAME")
@frbayart
frbayart / go.mod
Created April 12, 2022 13:33
gh-to-jira-etl
module kensu.io/m/v2
go 1.16
require github.com/aws/aws-lambda-go v1.24.0
@frbayart
frbayart / README.md
Created January 23, 2022 17:38
Python Shebang with Pyenv

Detect which python3 to use based on .python-version file (created by pyenv) anf fallback to python3 in $PATH

ie if vault_save.py is in ~/bin/ try to get ~/bin/'python-version` if it exists if will be used to execute the current Python file.

So if your $PATH is PATH=~/bin:$PATH, you can run from anywhere vault_save.py and it will use the pyenv version defined in ~/bin

@frbayart
frbayart / gist:61ac332d98aa327cc263e1fb5d91c2f8
Created December 7, 2021 16:45
hashicorp/vault: no available releases match the given constraints
- Installed hashicorp/aws v3.56.0 (signed by HashiCorp)
│ Error: Failed to query available provider packages
│ Could not retrieve the list of available versions for provider hashicorp/vault: no available releases match the given constraints 2.23.0
cd .terraform.d
rm -rf ./plugins/registry.terraform.io/hashicorp/vault