Add this file to your AI assistant's system prompt or context to help it avoid common AI writing patterns. Source: tropes.fyi by ossama.is
This script tries to make it easy to test changes in a go project by:
- Identifying what packages have been changed within your current git branch
- Finding all the packages that depend on those packages
- Merging those two lists of packages together
- Runs
go teston those packages
This makes it easy to ensure your changes have not broken any compile-time dependencies, and that all existing tests are passing.
Link : https://leetcode.com/discuss/career/229177/My-System-Design-Template [@Topcat]
(1) FEATURE EXPECTATIONS [5 min]
(1) Use cases
(2) Scenarios that will not be covered
(3) Who will use
(4) How many will use
(5) Usage patterns
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
-
OpenConnect can be installed via homebrew:
brew update
brew install openconnect
This file contains hidden or 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 | |
| apt-get install -y curl unzip | |
| mkdir -p /var/lib/consul | |
| mkdir -p /usr/share/consul | |
| mkdir -p /etc/consul/conf.d | |
| export CONSUL_VER=0.6.4 | |
| export CONSUL_FILE=consul_$(CONSUL_VER)_linux_amd64.zip | |
| #eg: https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip |