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
From 272da51bfd562f5b9847c1b41eaa5d7018058490 Mon Sep 17 00:00:00 2001 | |
From: Manuel Kress <[email protected]> | |
Date: Fri, 1 Mar 2024 17:47:21 +0100 | |
Subject: [PATCH] Use ITIMER_REAL for timeout handling on MacOS / Apple Silicon | |
system | |
setitimer(ITIMER_PROF) fires too early on MacOS 14 when running on Apple | |
Silicon. See https://openradar.appspot.com/radar?id=5583058442911744. | |
Fixes GH-12814 |
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/python | |
# -*- coding: utf-8 -*- | |
import json | |
import sys | |
# Constant vars | |
if len(sys.argv) != 2: | |
print('Error!! -- No file specified ') | |
print('\t get_composer_deps.py <path/to/vendor/composer/installed.json>') |
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 | |
export TYPESENSE_API_KEY=xyz | |
curl "http://localhost:8108/debug" \ | |
-H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" | |
curl "http://localhost:8108/collections" \ | |
-X POST \ |
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
const defaultConfig = require('@wordpress/scripts/config/webpack.config'); | |
const { getWebpackEntryPoints } = require('@wordpress/scripts/utils/config'); | |
module.exports = { | |
...defaultConfig, | |
stats: 'minimal', | |
entry: { | |
...getWebpackEntryPoints(), | |
'app-styles': ['./src/css/app.css'], | |
'app-scripts': ['./src/js/app.js'], |