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
/* | |
* This function accepts a <min> and <max> CAN ID, and generates a single TWAI acceptance mask that is a | |
* loose fit for CAN packets with IDs between <min> and <max>. | |
* | |
* This may not filter out all other packets, and is imperfect. But a quick solution for a filter range. | |
*/ | |
void twai_generate_filter(uint16_t min, uint16_t max, twai_filter_config_t* filter) { | |
uint32_t mask[2] = {~0, ~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
<?php | |
/** | |
** This Gist developed into a full runtime toolkit for hooks. See https://github.com/conduit-innovation/gorilla-claw ** | |
This is a utility to remove or replace WordPress actions or filters, when the handler is an object method. | |
Can be useful changing Woocommerce block functionality, amongst other things. |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: node-setup | |
namespace: kube-system | |
labels: | |
k8s-app: node-setup | |
spec: | |
selector: | |
matchLabels: |
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
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
kerberos.cc | |
worker.cc | |
security_credentials.cc | |
security_buffer.cc | |
C:\Users\Tom\.nw-gyp\0.8.4\deps\v8\include\v8.h(261): warning C4506: no definition for inline function 'v8::Persistent<T> v8::Persistent<T>::New(v8::Handle<T>)' [C:\Users\Tom\Documents\Jobs\ada\src\node_modules\mongoose\node_modules\mongodb\node_modules\kerberos\build\kerberos.vcxproj] | |
with | |
[ | |
T=v8::Object | |
] |
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
{ | |
"index": { | |
"analysis": { | |
"analyzer": { | |
"custom_analyzer": { | |
"type": "custom", | |
"tokenizer": "nGram", | |
"filter": ["stopwords", "asciifolding", "lowercase", "snowball", "elision", "worddelimiter"] | |
}, | |
"custom_search_analyzer": { |