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
These are hand-written examples of CPS package specifications for select real | |
libraries. For readability and to emphasize that we have no established a | |
definite intended de facto transport, they are shown here in "YAML". | |
(However, we do not certify that these are *valid* YAML, or are free of errors. | |
The intention is to give something that is human readable, more along the lines | |
of "pseudocode" rather than actual code.) | |
YAML *is not* going to be the canonical transport format. Technically, CPS does | |
not require a specific transport, although for practical reasons, we expect a de | |
facto standard to exist. Right now, it is very likely that this will be JSON. |
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
Homebrew isn't meant to be run by multiple users, but depending on how you've | |
installed it, this may be permitted by default. Actually doing so, however, can | |
get you into messes where only certain users can perform certain operations, | |
requiring `chown` to clean up the resulting mess. | |
These tools should help set up homebrew for use on a multi-user system. To use, | |
compile the C program using your favorite compiler (e.g. `clang`). You can name | |
it anything, but I happen to like `$HOMEBREW_PREFIX/bin/brew-setuid`. After | |
compiling it, you must: |
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
# kate: hl Uncrustify Configuration | |
using 0.69 | |
# General options | |
newlines = auto | |
input_tab_size = 8 | |
string_escape_char = 92 | |
string_escape_char2 = 0 | |
string_replace_tab_chars = false |
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
template <typename T> | |
void foo<T>::bar() | |
{ | |
// ... | |
} |
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
config _pipeline:_edge | |
:capacity 10 | |
process in_adapt | |
:: input_adapter | |
process out_adapt | |
:: output_adapter | |
process 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
#!/usr/bin/env python | |
import re | |
import sys | |
#============================================================================== | |
def parse(f): | |
package = [] | |
# Get text |