Check out the repo instead. The Wisdom of Quinn Now with 100% more archived PDFs.
Informative DevForum posts from everyone's favorite DTS member.
(Arranged newest to oldest)
#!/usr/bin/perl | |
## | |
## This script converts an IPS crash report (.ips) to the legacy crash report format. | |
## | |
## The .ips file (JSON) is read from STDIN and the legacy crash report is written to | |
## STDOUT. | |
## | |
use strict; |
CoreProperties(234): | |
ServerName (String) | |
ServerNetBiosName (String) | |
ServerFqdn (String) | |
ServerAddressesToConnect (IUnknown) | |
UserSpecifiedServerName (String) | |
UserName (String) | |
Domain (String) | |
Password (SecureString) | |
AlternateShell (String) |
Check out the repo instead. The Wisdom of Quinn Now with 100% more archived PDFs.
Informative DevForum posts from everyone's favorite DTS member.
(Arranged newest to oldest)
This is an excerpt from our internal documentation describing an issue with drawing in NSView
s on macOS Big Sur.
In macOS Big Sur (probably starting with β9), Apple changed the default contents format for backing layers of NSView
s. Instead of an explicit CALayerContentsFormat.RGBA8Uint
value, an „Automatic“ value is now used. Even though it also resolves into „RGBA8“ in our testing, it has some serious implications as it breaks assumptions our code relies on.
I first stumbled upon this issue in this tweet by Frank. It links to a thread on Apple Forums by Mark that contains valuable information as well as ideas for workarounds. The changed behavior was also confirmed by Marcin in this tweet.
#!/usr/bin/env python3.8 | |
""" | |
To enable this service, copy this file to /opt, then: | |
# chmod +x /opt/powermate.py | |
# pip3.8 install websockets | |
# cat > /etc/systemd/system/powermate.service | |
[Unit] | |
Description=PowerMate |
You can't use bridging headers within a framework.
Xcode will automatically create umbrella header for you Cocoa Framework project. That will be the file named <FrameworkName>.h
in the <FrameworkName>
group/folder (where the rest of your sources are).
Public
: select it in the project explorer (left pane) and change the property Target Membership
(left—Inspectors—pane) from Project
to Public
.<FrameworkName>.h
) and import the required header as:import Foundation | |
import CFNetwork | |
public class FTPUpload { | |
fileprivate let ftpBaseUrl: String | |
fileprivate let directoryPath: String | |
fileprivate let username: String | |
fileprivate let password: String |
#!/bin/bash | |
function die() { | |
echo "${1}" | |
exit 1 | |
} | |
which printf > /dev/null 2>&1 || die "Shell integration requires the printf binary to be in your path." | |
which sed > /dev/null 2>&1 || die "Shell integration requires the sed binary to be in your path." |
#!/bin/sh | |
# Combined all static libaries in the current directory into a single static library | |
# It is hardcoded to use the i386, armv7, and armv7s architectures; this can easily be changed via the 'archs' variable at the top | |
# The script takes a single argument, which is the name of the final, combined library to be created. | |
# | |
# For example: | |
# => combine_static_libraries.sh combined-library | |
# | |
# Script by Evan Schoenberg, Regular Rate and Rhythm Software |