Skip to content

Instantly share code, notes, and snippets.

View rjwink's full-sized avatar
🐺
acta non verba

rj winkler rjwink

🐺
acta non verba
View GitHub Profile
@hyperupcall
hyperupcall / settings.jsonc
Last active October 11, 2025 12:44
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@tuxtina
tuxtina / gist:5694143
Created June 2, 2013 16:59
Quick & dirty PHP syntax check on save for use with TextWrangler. Put into ~/Library/ApplicationSupport/TextWrangler/Attachment Scripts/Document.scpt.
on documentDidSave(currentDoc)
set fileName to the name of the currentDoc as string
if ((offset of ".php" in fileName) > 1) then
set f to the file of the currentDoc
set filePath to the POSIX path of f
set lintOutput to do shell script "php -l \"" & filePath & "\"; exit 0"
if ((offset of "No syntax errors detected" in lintOutput) ≠ 1) then
display dialog lintOutput buttons {"OK"} default button "OK" with title "PHP Syntax Error"
end if
end if