Skip to content

Instantly share code, notes, and snippets.

View wwwonka's full-sized avatar

wwwonka

  • 37°37'41.3"N 116°50'54.5"W
View GitHub Profile
@wwwonka
wwwonka / BackdropView.swift
Created June 25, 2023 16:29 — forked from avaidyam/BackdropView.swift
DIY NSVisualEffectView using Private API for macOS
// TODO: setting window transforms (or mission control) flattens layers...
// TODO: Mask image vs path (layer)?
/// `NSVisualEffectView`:
///
/// A view that adds translucency and vibrancy effects to the views in your interface.
/// When you want views to be more prominent in your interface, place them in a
/// backdrop view. The backdrop view is partially transparent, allowing some of
/// the underlying content to show through. Typically, you use a backdrop view
/// to blur background content, instead of obscuring it completely. It can also
@wwwonka
wwwonka / disable-auto-android-file-transfer.md
Created March 6, 2023 03:39 — forked from zeroseis/disable-auto-android-file-transfer.md
Disable auto start for Android File Transfer
  • Close Android File Transfer
  • Open Activity Monitor and kill “Android File Transfer Agent”
  • Go to where you installed “Android File Transfer.app” (I have it under /Applications)
  • Ctrl+click –> “Show package contents”
  • Go to Contents/Resources
  • Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
  • Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.
@wwwonka
wwwonka / cloudSettings
Last active June 14, 2021 22:47
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-06-14T22:46:54.169Z","extensionVersion":"v3.4.3"}