@see https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
make a new trac ticket (like https://core.trac.wordpress.org/ticket/62407)
- make a fork of https://github.com/WordPress/wordpress-develop in your github account
# | |
# this workflow is triggered by pull requests and will notify a google chat room about pull request events | |
# | |
# this workflow requires a secret "GCHAT_PR_ANNOUNCEMENTS_WEBHOOK" to point to the google chat room | |
# if not declared his workflow will set a warning and will exit gracefully (=> without an error) | |
# | |
# TODO: we cannot react to single review comments in github pipelines as of now | |
# See "Add events for pull request review comment resolved/unresolved" https://github.com/orgs/community/discussions/12811 | |
# | |
name: 'gchat-notify-pull-request' |
_=$(git branch -vv | grep ': gone]' | \ | |
awk '{print $1}' | \ | |
gum choose --header="Select local only branches to delete" --no-limit) | |
[[ "$?" == '0' ]] && \ | |
printf "Will delete the following branches locally:\n$_\n" && \ | |
gum confirm --show-output 'Do you agree?' && (printf "$_" | \ | |
xargs -n 1 git branch -dvf) |
@see https://make.wordpress.org/core/handbook/tutorials/trac/submitting-a-patch/
make a new trac ticket (like https://core.trac.wordpress.org/ticket/62407)
#!/usr/bin/env bash | |
# starts a cloudflare quick tunnel (no cloudflare account needed, no cloudflared needs to be installed) | |
# for tunneling a wp-env wordpress site to the internet. | |
# | |
# dependencies : bash, docker, jq | |
# | |
# the wp-env instance does needed to be started since this script hijacks | |
# the wp-env instance file "wp-env-home/*/WordPress/wp-config.php" | |
# the wp-env instance is restarted the quick tunnel will be available |
from operator import itemgetter | |
from langchain.chat_models import ChatOpenAI | |
from langchain.embeddings import OpenAIEmbeddings | |
from langchain.schema import StrOutputParser | |
from langchain.schema.runnable import RunnablePassthrough, RunnableMap | |
from langchain.vectorstores import Chroma | |
from langchain.prompts import PromptTemplate | |
from langchain.document_loaders import JSONLoader | |
from dotenv import load_dotenv |
#!/usr/bin/env bash | |
# Script will open up fzf to select a monorepo package and show the git commit log for that monorepo package. | |
# (Start the script in your monorepo root directory) | |
# Requires: | |
# - git | |
# - pnpm | |
# - fzf >= 0.29.0 | |
# | |
# Author: Lars Gersmann <[email protected]> |
import resolve from 'rollup-plugin-node-resolve'; | |
import commonjs from 'rollup-plugin-commonjs'; | |
//import strip from 'rollup-plugin-strip'; | |
import scss from 'rollup-plugin-scss'; | |
import packageJson from './package.json'; | |
import babel from 'rollup-plugin-babel'; | |
import { terser } from 'rollup-plugin-terser'; | |
const createBrowserConfig = (customizeConfig = () => {}) => { | |
const config = |
new features:
new features :