- 用途:预设工作流的快捷方式,可链式调用(如
/refactor-clean、/tdd、/e2e) - 存储位置:
- Skills:
~/.claude/skills/— 更广泛的工作流定义 - Commands:
~/.claude/commands/— 快速执行的提示词
- Skills:
A traditional table-based DFA implementation looks like this:
uint8_t table[NUM_STATES][256]
uint8_t run(const uint8_t *start, const uint8_t *end, uint8_t state) {
for (const uint8_t *s = start; s != end; s++)
state = table[state][*s];
return state;
}
NOTICE: This guide is no longer relevant, as a lot has changed over time and Go supports Apple Silicon natively just fine now!
Follow these short instructions on how to compile Go for Apple Silicon (M1). From here on out, we may simply refer to it as the "ARM device".
This entire process should only take about 5-10 minutes, but please read through everything carefully, in order to avoid any potential issues along the way.
Note that at the time of writing this, Go was not yet officially available for Apple's ARM.
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
| // Principled PBR Path tracer. Except where otherwise noted: | |
| // Copyright © 2019 Markus Moenig Distributed under The MIT License. | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF |
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
| #!/bin/bash | |
| #Deniz Ege Tunçay, 2019 | |
| #nrtkbb, 2018 | |
| #Neal Burger, 2017 | |
| #Autodesk Maya Installation Bash Script v1.0 for Ubuntu 18.04 based Linux Distributions | |
| #if you have any issues, feel free tweet me // @egetun | |
| #Make sure we’re running with root permissions. |
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
| SDK = xcrun -sdk macosx | |
| all: compute.metallib compute | |
| compute.metallib: Compute.metal | |
| # Metal intermediate representation (.air) | |
| $(SDK) metal -c -Wall -Wextra -std=osx-metal2.0 -o /tmp/Compute.air $^ | |
| # Metal library (.metallib) | |
| $(SDK) metallib -o $@ /tmp/Compute.air |
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
| % Some predefined strings for conferences & journals | |
| @string{AAAI = "Conference on Artificial Intelligence (AAAI)"} | |
| @string{AISTATS = "International Conference on Artificial Intelligence and Statistics (AISTATS)"} | |
| @string{Bernoulli = "Bernoulli"} | |
| @string{Biometrika = "Biometrika"} | |
| @string{CandG = "Computers \& Graphics"} | |
| @string{CACM = "Commun. ACM"} | |
| @string{CG_SIGGRAPH = "Comput. Graph. (Proc. SIGGRAPH)"} | |
| @string{CGA = "IEEE Comput. Graph. Appl."} | |
| @string{CGF = "Comput. Graph. Forum"} |
NewerOlder