- moving sample scripts to subdirectory
- support pgen and non-pgen sampling
- rename pgen_sample scisample
This repo contains a pgen script for maestro that implements several multidimensional sampling methods which are driven by a simple yaml
> core-js@2.6.11 postinstall /app/node_modules/babel-plugin-transform-class-properties/node_modules/core-js | |
> node -e "try{require('./postinstall')}catch(e){}" | |
The command '/bin/sh -c npm install -g gulp && npm install' returned a non-zero code: 1 |
set -e | |
# USAGE | |
# | |
# Copy this script into an empty repo, and run: | |
# | |
# $ bash merge-test.sh | |
# | |
# Git repos will be cloned into the dir containing the script. Re-running will delete dirs and re-run. |
This script enables you stop and start Symantec Endpoint Protection on OS X. For information on starting and stopping SEP on OS 10.15 (Catalina), please see below.
sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep
#Procedure | |
export SUDO="" | |
# export SUDO="sudo" | |
#Stop the container(s) using the following command: | |
${SUDO} docker-compose down | |
#Delete all containers using the following command: | |
${SUDO} docker rm -f $(${SUDO} docker ps -a -q) | |
#Delete all volumes using the following command: | |
${SUDO} docker volume rm $(${SUDO} docker volume ls -q) | |
#Restart the containers using the following command: |
Notes from Jared Friedman's video https://www.youtube.com/watch?v=Th8JoIan4dg&t=1460s
Note: please watch and "like" the video. I've transcribed these notes to make it easy to use Jared's advice to evaluate your own startup ideas.
# update history after every command | |
cat << 'EOF' >> ~/.bashrc | |
# If PROMPT_COMMAND already has commands | |
if [[ ! -z "$PROMPT_COMMAND" ]]; then | |
PROMPT_COMMAND="$PROMPT_COMMAND; history -a" | |
else | |
PROMPT_COMMAND="history -a" | |
fi | |
EOF |
Using Webpack to bundle shared components in a monorepo setup with multiple React applications involves creating a separate package or directory for these components, configuring Webpack to build this package, and then integrating the bundled output into your individual applications. Here's a step-by-step guide to achieve this: | |
### Step 1: Organize Your Repository Structure | |
First, set up your monorepo structure to separate shared components from individual applications. Here’s a basic layout: | |
``` | |
/my-monorepo | |
|-- /packages | |
| |-- /shared-components |