Skip to content

Instantly share code, notes, and snippets.

View devilelephant's full-sized avatar

George Coller devilelephant

  • Minneapolis, MN
  • 07:00 (UTC -05:00)
View GitHub Profile
@devilelephant
devilelephant / README.md
Last active July 5, 2023 20:33
Protect Branches With GH

Script Branch Protection for Github

Display current protection rules for "main"

gh api repos/:owner/:repo/branches/main/protection

Add branch protection

@devilelephant
devilelephant / next.config.mjs
Last active April 30, 2024 19:57
Next.js 14 MDX fix when running --turbo dev server
import nextMDX from "@next/mdx";
/** @type {import('next').NextConfig} */
const nextConfig = {
pageExtensions: ["js", "jsx", "ts", "tsx", "mdx"],
experimental: {
mdxRs: true
},
};
const withMDX = nextMDX({
@devilelephant
devilelephant / README.md
Last active June 3, 2024 20:14
Fix fzf "**" not working in zsh

Fix fzf "**" not working in my zsh config

In my .zshrc file I had the appropriate command:

 source <(fzf --zsh)

And the keybindings worked but the "**" completion did not.