Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
commit 6ac1a2feb7143a8bc0e57af5c8dc57cbbb05d85f | |
Author: Yoshimasa Niwa <niw@niw.at> | |
Date: Fri Apr 19 22:14:55 2024 -0700 | |
wip | |
diff --git a/3_bidirectional_cxx_interop/include/fibonacci/fibonacci.h b/3_bidirectional_cxx_interop/include/fibonacci/fibonacci.h | |
index 911e7d7..ed3f909 100644 | |
--- a/3_bidirectional_cxx_interop/include/fibonacci/fibonacci.h | |
+++ b/3_bidirectional_cxx_interop/include/fibonacci/fibonacci.h |
#!/usr/bin/env bash | |
set -e | |
[[ $USER == "root" ]] || { | |
echo "You must be root to run this script." >&2 | |
exit 1 | |
} | |
echo "Unload launchd daemons and agents..." |
#!/usr/bin/env bash | |
# fetch_nike_puls_all_activities.bash | |
# A simple bash script to fetch all activities and metrics from NikePlus. | |
# See `nike_plus_api.md` for the API details. | |
readonly bearer_token="$1" | |
if [[ -z "$bearer_token" ]]; then | |
echo "Usage: $0 bearer_token" | |
exit |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/bionic64" | |
config.vm.provider :virtualbox do |v| | |
v.gui = true | |
v.memory = 2048 | |
end | |
# Currently "ubuntu/bionic64" on VirtualBox requires `type: "virtualbox"` | |
# to make synced folder works. |
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
(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") |
import AppKit | |
import Foundation | |
final class MainView: NSView { | |
private let textView: NSTextView | |
override init(frame frameRect: NSRect) { | |
textView = NSTextView(usingTextLayoutManager: true) | |
super.init(frame: frameRect) |
/* | |
* A simple libpng example program | |
* http://zarb.org/~gc/html/libpng.html | |
* | |
* Modified by Yoshimasa Niwa to make it much simpler | |
* and support all defined color_type. | |
* | |
* To build, use the next instruction on OS X. | |
* $ brew install libpng | |
* $ clang -lz -lpng16 libpng_test.c |