Skip to content

Instantly share code, notes, and snippets.

@jfabry-noc
jfabry-noc / chrome.sh
Created October 30, 2025 20:03
Chrome Allow Port
#!/usr/bin/env zsh
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --explicitly-allowed-ports=6000
@jfabry-noc
jfabry-noc / LSP.sublime-settings
Created January 30, 2025 16:03
Sublime Text LSP Settings
// Settings in here override those in "LSP/LSP.sublime-settings"
{
"clients": {
"groovy-language-server": {
"enabled": true,
"command": [
"java",
"-jar",
"/Users/jfab/Code/java/groovy-language-server/build/libs/groovy-language-server-all.jar"
],
@jfabry-noc
jfabry-noc / languages.toml
Last active March 18, 2024 19:22
Helix language configuration.
[[language]]
name = "python"
scope = "source.python"
injection-regex = "python"
file-types = ["py","pyi","py3","pyw",".pythonstartup",".pythonrc"]
shebangs = ["python"]
roots = [".", "pyproject.toml", "pyrightconfig.json"]
comment-token = "#"
language-servers = ["pyright", "ruff"]
indent = { tab-width = 4, unit = " " }
@jfabry-noc
jfabry-noc / config.toml
Last active March 18, 2024 19:21
Super basic Helix editor config.
theme = "tokyonight_storm"
[editor]
bufferline = "multiple"
line-number = "relative"
rulers = [80]
true-color = true
[editor.cursor-shape]
insert = "bar"
@jfabry-noc
jfabry-noc / coc-settings.json
Created December 5, 2023 13:42
Miniimal configuration for CoC for Python development.
{
"python.linting.pylintEnabled": true,
"python.formatting.provider": "black",
"coc.preferences.formatOnSave": true,
}
@jfabry-noc
jfabry-noc / .zshrc
Created August 22, 2023 14:00
Kali .zshrc
# ~/.zshrc file for zsh interactive shells.
# see /usr/share/doc/zsh/examples/zshrc for examples
setopt autocd # change directory just by typing its name
#setopt correct # auto correct mistakes
setopt interactivecomments # allow comments in interactive mode
setopt magicequalsubst # enable filename expansion for arguments of the form ‘anything=expression’
setopt nonomatch # hide error message if there is no match for the pattern
setopt notify # report the status of background jobs immediately
setopt numericglobsort # sort filenames numerically when it makes sense
@jfabry-noc
jfabry-noc / settings.json
Last active December 10, 2024 18:09
VS Code Settings
{
"workbench.colorTheme": "Catppuccin Frappé",
"editor.fontFamily": "'Monaspace Argon', monospace",
"security.workspace.trust.banner": "never",
"security.workspace.trust.startupPrompt": "never",
"security.workspace.trust.untrustedFiles": "open",
"security.workspace.trust.enabled": false,
"editor.fontLigatures": "'calt', 'liga', 'dlig', 'ss01', 'ss02', 'ss03', 'ss04', 'ss05', 'ss06', 'ss07', 'ss08'",
"editor.fontSize": 14,
"editor.wordWrap": "on",
@jfabry-noc
jfabry-noc / .zshrc
Created May 17, 2023 16:52
ZSH configuration
PROMPT="[%n@%m:%~]♥ "
alias ll="ls -la"
@jfabry-noc
jfabry-noc / Preferences.sublime-settings.json
Last active June 20, 2023 18:24
My custom Sublime Text settings.
{
"ignored_packages":
[
"Vintage",
],
"color_scheme": "Macchiato.sublime-color-scheme",
"font_face": "CaskaydiaCove Nerd Font Mono",
"font_size": 14,
"rulers": [80],
"wrap_width": 100,
@jfabry-noc
jfabry-noc / check_reboot.sh
Created April 30, 2023 21:21
Super simple shell script to check if a restart is required on a Debian-based system.
#!/usr/bin/env bash
if [ -f /var/run/reboot-required ]; then
echo "Reboot required!"
else
echo "No reboot is necessary."
fi