@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
@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 :
(The circles are just for illustrating purposes)
See it live : http://bl.ocks.org/lgersman/5310854
/* | |
* track file upload progress using the Deferred returned from the $.ajax call. | |
* | |
* See https://github.com/lgersman/jquery.orangevolt-ampere/blob/master/public/lib/ampere/jquery.upload.js | |
*/ | |
$.upload( form.action, new FormData( myForm)) | |
.progress( function( progressEvent, upload) { | |
if( progressEvent.lengthComputable) { | |
var percent = Math.round( progressEvent.loaded * 100 / progressEvent.total) + '%'; | |
if( upload) { |