Skip to content

Instantly share code, notes, and snippets.

View Gcenx's full-sized avatar
💭
I may be slow to respond.

Dean M Greer Gcenx

💭
I may be slow to respond.
  • New York
View GitHub Profile
@sv99
sv99 / readme.md
Last active February 12, 2023 21:45
OSX Regenerate text-based stub file for remove ld: warning: text-based stub file

Regenerate text-based stub files for frameworks

Example ld:warning

ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd
and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync.
Falling back to library file for linking.

Need "stubify" libs with utility tapi from default toolchain.

@haircut
haircut / tcc-reset.py
Last active April 5, 2024 11:27
Completely reset TCC services database in macOS
#!/usr/bin/python
"""
Completely reset TCC services database in macOS
Note: Both the system and individual users have TCC databases; run the script as both
a user and as root to completely reset TCC decisions at all levels.
2018-08-15: Resetting the 'Location' service fails; unknown cause
2018-08-16: Confirmed the 'All' service does not really reset _all_
services, so individual calls to each service is necessary.
@jasonkarns
jasonkarns / readme.md
Last active June 26, 2024 14:16
Git send-email using Gmail
  1. Configure git.
# ~/.config/git/config
[sendemail]
  confirm = auto
  smtpServer = smtp.gmail.com
  smtpServerPort = 587
  smtpEncryption = tls
  smtpUser = <gmail email address>