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
--- | |
Language: Cpp | |
AccessModifierOffset: -4 | |
AlignAfterOpenBracket: Align | |
AlignConsecutiveAssignments: false | |
AlignConsecutiveDeclarations: false | |
AlignEscapedNewlines: Right | |
AlignOperands: true | |
AlignTrailingComments: true | |
AllowAllParametersOfDeclarationOnNextLine: true |
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
Copyright <YEAR> <COPYRIGHT HOLDER> | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following condition is met: | |
1. Redistributions of source code must retain the above copyright notice, this condition and the following disclaimer. | |
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
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
void swap(void *src, void *dst, size_t size) | |
{ | |
char tmp; | |
char *sp = (char *)src; | |
char *dp = (char *)dst; | |
do { | |
tmp = *sp; | |
*sp++ = *dp; | |
*dp++ = tmp; |
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/sh | |
# crontab | |
# --- | |
# */5 * * * * z-snap.sh minutely | |
# 1 * * * * z-snap.sh hourly | |
# 2 3 * * * z-snap.sh daily | |
# 3 4 * * 0 z-snap.sh weekly | |
# 4 5 1 * * z-snap.sh monthly |
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/sh | |
# | |
# $FreeBSD$ | |
# | |
SRCBRANCH="releng/13.1" | |
EMBEDDED_TARGET_ARCH="aarch64" | |
EMBEDDED_TARGET="arm64" | |
EMBEDDEDBUILD=1 | |
EMBEDDEDPORTS="sysutils/u-boot-nanopi-neo2" |
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
Device | Description | |
---|---|---|
00 | Quadruple 2-Input NAND Gates | |
02 | Quadruple 2-Input NOR Gates | |
03 | Quadruple 2-Input NAND Gates with Open-Drain Outputs | |
04 | Hex Inverters | |
05 | Hex Inverters with Open-Drain Outputs | |
08 | Quadruple 2-Input AND Gates | |
10 | Triple 3-Input NAND Gates | |
11 | Triple 3-Input AND Gates | |
14 | Hex Inverters with Schmitt-Trigger Inputs |