Skip to content

Instantly share code, notes, and snippets.

#!/bin/zsh
# Terminate Chrome
# 1 = print the process name in addition to the process ID for each matching process.
# f = Match against full argument lists.
pgrep -lf Google | xargs pkill
# Get username
USERNAME=$(whoami)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>launched.testdaemon</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>-c</string>
@vHugoObject
vHugoObject / gnu.optic
Last active February 26, 2024 10:40
Optic to search gnu manuals
// Optic to search gnu manuals
DiscardNonMatching;
Rule {
Matches {
Title(""),
Site("gnu.org/software/*")