I hereby claim:
- I am lessica on github.
- I am i_82 (https://keybase.io/i_82) on keybase.
- I have a public key ASCy06m3w8FXUbMqOsPF9bMWnqKvgwv8OBhSQ2twF_YmvAo
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <sys/types.h> | |
| #include <sys/wait.h> | |
| #include <ctype.h> | |
| int main(int argc, char *argv[]) | |
| { |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <fcntl.h> | |
| #include <unistd.h> | |
| #include <errno.h> | |
| #include <sys/types.h> | |
| #include <sys/wait.h> | |
| #include <ctype.h> | |
| int main(int argc, char *argv[]) |
| package com.darwindev; | |
| import java.awt.Shape; | |
| import java.lang.management.ManagementFactory; | |
| import java.lang.management.ThreadMXBean; | |
| import org.jfree.chart.ChartPanel; | |
| import org.jfree.chart.JFreeChart; | |
| import org.jfree.data.xy.XYDataset; | |
| import org.jfree.data.xy.XYSeries; |
| #!/bin/sh | |
| # Tested on macOS 12.0 / Xcode 13.3 / Homebrew 3.4.6-60-ge1c1157 | |
| # yum install python python-devel | |
| # echo '[group_kdesig-cmake3_EPEL] | |
| # name=Copr repo for cmake3_EPEL owned by @kdesig | |
| # baseurl=https://copr-be.cloud.fedoraproject.org/results/@kdesig/cmake3_EPEL/epel-7-$basearch/ | |
| # type=rpm-md | |
| # skip_if_unavailable=True | |
| # gpgcheck=1 |
I hereby claim:
To claim this, I am signing this object:
| import UIKit | |
| import ObjectiveC.runtime | |
| // MARK: - IOKit | |
| @objc private protocol IOHIDEvent: NSObjectProtocol {} | |
| private struct IOHIDDigitizerEventMask: OptionSet { | |
| let rawValue: UInt32 | |
| init(rawValue: UInt32) { self.rawValue = rawValue } |
| import Foundation | |
| final class ReadWriteLock { | |
| private var rwlock: pthread_rwlock_t = { | |
| var rwlock = pthread_rwlock_t() | |
| pthread_rwlock_init(&rwlock, nil) | |
| return rwlock | |
| }() | |
| func writeLock() { |
| import Foundation | |
| final class MutexLock { | |
| private var mutex: pthread_mutex_t = { | |
| var mutex = pthread_mutex_t() | |
| pthread_mutex_init(&mutex, nil) | |
| return mutex | |
| }() | |
| func tryLock() -> Bool { |
| import Cocoa | |
| class MyStackView: NSStackView { | |
| override func responds(to aSelector: Selector!) -> Bool { | |
| if aSelector == #selector(NSSplitViewController.toggleSidebar(_:)) { | |
| return false | |
| } | |
| return super.responds(to: aSelector) | |
| } | |
| // | |
| // CheckboxHeaderCell.swift | |
| // | |
| // Created by Rachel on 2021/4/26. | |
| // Original: https://stackoverflow.com/questions/11961869/checkbox-in-nstableview-column-header | |
| // | |
| import Cocoa | |
| class CheckboxCell: NSButtonCell { |