This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| extension String: Error {} | |
| // MARK: - Evaluation | |
| enum Atom { | |
| case symbol(String) | |
| case number(Double) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import AppKit; | |
| @import Foundation; | |
| #include <stdio.h> | |
| int main(int argc, char *argv[]) { | |
| @try { | |
| if (argc < 2) { | |
| printf("Usage: %s [visual format for a 'view']\n", argv[0]); | |
| return 0; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // With Swift 5.8, it crashes on runtime due to reference count problem. | |
| // With Swift 5.9-dev (LLVM d59f7189924eff9, Swift 12f2c2eb92c4c6a), today's nightly, it crashes due to an assertion. | |
| class Box<T> { | |
| private var value: T | |
| init(_ value: T) { | |
| self.value = value | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Version</key> | |
| <integer>2</integer> | |
| <key>Actuator_1</key> | |
| <array> | |
| <dict> | |
| <key>ActuationID</key> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo launchctl list | grep CoreSimu | awk '{print $3}' | xargs -n1 sudo launchctl remove; \ | |
| launchctl list | grep CoreSimu | awk '{print $3}' | xargs -n 1 launchctl remove; \ | |
| sleep 5; \ | |
| ps auxww | grep -i '[c]oresimu' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (footprint "Gateron_Low_Profile_Socket" (version 20211014) (generator pcbnew) | |
| (layer "F.Cu") | |
| (tedit 5E123764) | |
| (descr "Hot Swap Socket for Gateron Low Profile Switch") | |
| (attr smd) | |
| (fp_text reference "REF**" (at 0 9.5) (layer "B.SilkS") | |
| (effects (font (size 1 1) (thickness 0.15)) (justify mirror)) | |
| (tstamp 1b4a9a9f-50fb-40ce-9b05-77578a9b9c54) | |
| ) | |
| (fp_text value "Gateron_Low_Profile_Socket" (at 0 8.5) (layer "F.Fab") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| @propertyWrapper | |
| struct Wrapper<T> { | |
| class Box<T> { | |
| var value: T | |
| init(_ initial: T) { | |
| value = initial | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Download ghostpdl source code from <https://github.com/ArtifexSoftware/ghostpdl-downloads/releases>, | |
| # expand an archive, and configure then make. | |
| # Following `BIN_PATH` may need to change for the given version and path. | |
| set -euo pipefail | |
| readonly CURRENT_PATH=$(cd "$(dirname "$BASH_SOURCE[0]")" >/dev/null; pwd) | |
| readonly BIN_PATH=$CURRENT_PATH/ghostpdl-9.55.0/bin |