- At the root of your backstage directory, run:
yarn --cwd packages/backend add @backstage/plugin-scaffolder-node yarn --cwd packages/backend add zod yarn --cwd packages/backend add fs-extra @types/fs-extra yarn install
- Create a
custom.ts
file inpackages/backend/src/plugins/actions/
with the contents of thecustom.ts
file below
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app: | |
title: Test | |
baseUrl: http://localhost:3000 | |
organization: | |
name: Test | |
backend: | |
# Used for enabling authentication, secret is shared by all backend plugins | |
# See https://backstage.io/docs/auth/service-to-service-auth for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# chussenot @ t495 in ~/Documents/believe/idp/developer-control-plane/asset-referential/collectors/sonarqube-collector | |
on git:PE-606 o [10:53:32] | |
$ ll | |
total 64K | |
drwxrwxr-x 2 chussenot chussenot 4,0K déc. 21 18:41 elements | |
drwxrwxr-x 51 chussenot chussenot 4,0K déc. 21 18:46 node_modules | |
-rw-rw-r-- 1 chussenot chussenot 516 déc. 21 18:46 package.json | |
-rw-rw-r-- 1 chussenot chussenot 22K déc. 21 18:46 package-lock.json | |
-rw-rw-r-- 1 chussenot chussenot 14K déc. 21 18:34 poetry.lock | |
-rw-rw-r-- 1 chussenot chussenot 336 déc. 21 18:34 pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.capitalone.dashboard.collector; | |
import com.capitalone.dashboard.client.RestOperationsSupplier; | |
import com.capitalone.dashboard.model.Collector; | |
import com.capitalone.dashboard.model.Epic; | |
import com.capitalone.dashboard.model.Feature; | |
import com.capitalone.dashboard.model.FeatureBoard; | |
import com.capitalone.dashboard.model.FeatureCollector; | |
import com.capitalone.dashboard.model.FeatureEpicResult; | |
import com.capitalone.dashboard.model.JiraMode; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2,10c2,9 | |
< (derived) Always On: true | |
< (network policy) Switch Locked: false | |
< (network policy) Mode: WarpWithDnsOverHttps | |
< (default) Disabled for Wifi: false | |
< (default) Disabled for Ethernet: false | |
< (reg defaults) Resolve via: 1b3412163d23c8c697575a0a3e633422.cloudflare-gateway.com @ [162.159.36.1, 2606:4700:4700:: | |
< 1111] | |
< (default) Onboarding: true | |
< (network policy) Include mode, with hosts/ips: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
folder_path="adeo" | |
cd "$folder_path" || exit 1 | |
# Function to get the last commit date of a repository (directory) | |
get_last_commit_date() { | |
local directory="$1" | |
cd "$directory" || return 1 | |
last_commit_date=$(git log -1 --format="%ci") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/* | |
build/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 20015441@hq.corp.leroymerlin.com @ X502501 in ~/Documents/datadog-agent on git:main o [10:42:45] | |
$ ag DD_APM_IGNORE_RESOURCES | |
cmd/trace-agent/config/config_test.go | |
631: {"DD_IGNORE_RESOURCE", "DD_APM_IGNORE_RESOURCES", "apm_config.ignore_resources"}, | |
638: if tt.envNew == "DD_APM_IGNORE_RESOURCES" { | |
772: "DD_APM_IGNORE_RESOURCES", | |
pkg/config/apm.go | |
98: config.BindEnv("apm_config.ignore_resources", "DD_APM_IGNORE_RESOURCES", "DD_IGNORE_RESOURCE") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2009 rupa deadwyler. Licensed under the WTFPL license, Version 2 | |
# maintains a jump-list of the directories you actually use | |
# | |
# INSTALL: | |
# * put something like this in your .bashrc/.zshrc: | |
# . /path/to/z.sh | |
# * cd around for a while to build up the db | |
# * PROFIT!! | |
# * optionally: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -A radios=( | |
["france_info"]="http://direct.franceinfo.fr/live/franceinfo-midfi.mp3" | |
["france_musique"]="http://direct.francemusique.fr/live/francemusique-midfi.mp3" | |
["france_inter"]="http://direct.franceinter.fr/live/franceinter-midfi.mp3" | |
["france_culture"]="http://direct.franceculture.fr/live/franceculture-midfi.mp3" | |
["fip"]="http://direct.fipradio.fr/live/fip-midfi.mp3" | |
["rtl2"]="http://streaming.radio.rtl.fr/rtl2-1-44-64.mp3" | |
["nova"]="http://broadcast.infomaniak.net/radionova-high.mp3" |
NewerOlder