This file contains 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
.DS_Store | |
.dependencies | |
homebrew | |
src | |
usr |
This file contains 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
# Usage | |
# ===== | |
# | |
# ## Prerequisite | |
# | |
# Prepare Python 3, for exmaple, install Homebrew and `brew install python`. | |
# | |
# ## Install dependencies | |
# | |
# $ python3 -m venv .venv |
This file contains 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 | |
set -e | |
VOLUME_PATH=/Volumes/installer | |
while getopts ":d:h" opts; do | |
case $opts in | |
d) | |
VOLUME_PATH=$OPTARG | |
;; |
This file contains 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: - Parser Combinator | |
typealias ParserFunction<Element, Output> = | |
(any Collection<Element>) throws -> (Output, any Collection<Element>) | |
protocol Parser<Element, Output> { |
This file contains 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
#!/bin/sh | |
# Remove a risky plug-in. | |
rm -rf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" | |
# Remove symlink provided by the plug-in. | |
rm -f "/Library/LaunchAgents/com.oracle.java.Java-Updater.plist" | |
rm -f "/Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist" | |
rm -f "/Library/PreferencePanes/JavaControlPanel.prefPane" |
This file contains 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 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; |
This file contains 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
diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c | |
index bff3e0cde7..a0ce7b2dfc 100644 | |
--- a/target/arm/hvf/hvf.c | |
+++ b/target/arm/hvf/hvf.c | |
@@ -1211,7 +1211,6 @@ int hvf_vcpu_exec(CPUState *cpu) | |
break; | |
case EC_AA64_SMC: | |
cpu_synchronize_state(cpu); | |
- if (arm_cpu->psci_conduit == QEMU_PSCI_CONDUIT_SMC) { | |
advance_pc = true; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
macOS Big Sur Icon Template for Affinity Photo (c) by Yoshimasa Niwa | |
macOS Big Sur Icon Template for Affinity Photo is licensed under a | |
Creative Commons Attribution 4.0 International License. | |
You should have received a copy of the license along with this | |
work. If not, see <http://creativecommons.org/licenses/by/4.0/>. |