Retry a command until it fails.
Debugging brittle specs is annoying and time consuming work. Let's automate finding those brittle specs by retrying them until they fail.
Accompanying blog post.
fn color(text: String) -> String { | |
format!("\x1B[0;31m{}\x1B[0m", text) | |
} |
Retry a command until it fails.
Debugging brittle specs is annoying and time consuming work. Let's automate finding those brittle specs by retrying them until they fail.
Accompanying blog post.
source "https://rubygems.org" | |
gemspec |
#!/bin/bash | |
# "master" is the name of your main branch you'll be comparing to, or you can pass the "parent" branch as an argument | |
# it compares against the current branch by default, but you can pass a second argument to specify a child branch | |
# this creates a permanent alias so you can use `git oldest-ancestor` to get the oldest ancestor of the current branch at any time | |
git config --global alias.oldest-ancestor '!zsh -c '\''diff --old-line-format='' --new-line-format='' <(git rev-list --first-parent "${1:-master}") <(git rev-list --first-parent "${2:-HEAD}") | head -1'\'' -' |
" macOS config used for neovim-qt, as far I tested to reproduce some basic behavior: https://github.com/equalsraf/neovim-qt | |
" Enable Mouse | |
set mouse=a | |
" Set Editor Font | |
if exists(':GuiFont') | |
" Use GuiFont! to ignore font errors | |
" GuiFont {font_name}:h{size} | |
GuiFont Meslo\ LG\ M\ for\ Powerline:h16 |
const { Appsignal } = require("@appsignal/nodejs"); | |
export default new Appsignal({ | |
active: true, | |
name: "Your app name", | |
pushApiKey: "YOUR-PUSH-API-KEY" | |
}); |
Thank you for trying out our new AppSignal for Node.js version 3 release. This release is powered by OpenTelemetry instrumentation. Please try it out and let us know if you run into any issues.
Follow these steps to install AppSignal for Node.js in your new app:
echo 'source "$HOME/.cargo/env"' >> "$HOME/.bashrc" | |
source "$HOME/.bashrc" |