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
unsigned int | |
/* a = 1, */ /* Comment A */ | |
b = 2, /* Comment B */ | |
c = 3; /* Comment C */ | |
int main(int argc, char *argv[]) | |
{ | |
return 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
BasedOnStyle: Google | |
IndentWidth: 2 | |
TabWidth: 8 | |
UseTab: Never | |
ContinuationIndentWidth: 4 | |
IndentCaseLabels: true | |
BreakBeforeBraces: Allman | |
ColumnLimit: 0 | |
AllowShortFunctionsOnASingleLine: None | |
AllowShortIfStatementsOnASingleLine: 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
void main(void) | |
{ | |
if (1) | |
{ | |
/* Comment */ | |
#ifdef FOO | |
printf("bar"); | |
#endif | |
} | |
} |
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
void main(void) | |
{ | |
int a = 1; | |
/* FOO begins */ | |
#ifndef FOO | |
if (a) | |
{ | |
return; | |
} |
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
[Unit] | |
Description=NGINX HTTP and reverse proxy server | |
After=syslog.target network.target nss-lookup.target | |
[Service] | |
Type=forking | |
PIDFile=/var/run/nginx.pid | |
ExecStartPre=/usr/sbin/nginx -t | |
ExecStart=/usr/sbin/nginx | |
ExecReload=/usr/bin/kill -s HUP $MAINPID |
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
From: Clemens Gruber <[email protected]> | |
Date: Thu, 4 Aug 2016 14:51:44 +0200 | |
Subject: [PATCH] stty: RS-485 support | |
Signed-off-by: Clemens Gruber <[email protected]> | |
--- | |
coreutils/stty.c | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++---- | |
1 file changed, 150 insertions(+), 9 deletions(-) | |
diff --git a/coreutils/stty.c b/coreutils/stty.c |
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
[ 29.059025] mxs-dma 110000.dma-apbh: private_candidate: wrong capabilities | |
[ 29.059042] imx-sdma 20ec000.sdma: private_candidate: dma1chan0 busy | |
[ 29.059054] imx-sdma 20ec000.sdma: private_candidate: dma1chan1 busy | |
[ 29.059149] dmaengine: __dma_request_channel: success (dma1chan2) | |
[ 29.059168] imx-sdma 20ec000.sdma: load_address = 6722 | |
[ 29.059177] imx-sdma 20ec000.sdma: wml = 0x00000008 | |
[ 29.059187] imx-sdma 20ec000.sdma: shp_addr = 0x021f4000 | |
[ 29.059197] imx-sdma 20ec000.sdma: per_addr = 0x00000000 | |
[ 29.059206] imx-sdma 20ec000.sdma: event_mask0 = 0x00000000 | |
[ 29.059215] imx-sdma 20ec000.sdma: event_mask1 = 0x00000002 |
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
[ 52.193765] mxs-dma 110000.dma-apbh: private_candidate: wrong capabilities | |
[ 52.193782] imx-sdma 20ec000.sdma: private_candidate: dma1chan0 busy | |
[ 52.193794] imx-sdma 20ec000.sdma: private_candidate: dma1chan1 busy | |
[ 52.193968] dmaengine: __dma_request_channel: success (dma1chan2) | |
[ 52.193987] imx-sdma 20ec000.sdma: load_address = 6722 | |
[ 52.193997] imx-sdma 20ec000.sdma: wml = 0x00000008 | |
[ 52.194007] imx-sdma 20ec000.sdma: shp_addr = 0x021f4000 | |
[ 52.194017] imx-sdma 20ec000.sdma: per_addr = 0x00000000 | |
[ 52.194025] imx-sdma 20ec000.sdma: event_mask0 = 0x00000000 | |
[ 52.194034] imx-sdma 20ec000.sdma: event_mask1 = 0x00000002 |
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
-------------------------------------------------------------------------------- | |
Running Unit Tests | |
-------------------------------------------------------------------------------- | |
bundle exec bacon spec/podfile/target_definition_spec.rb spec/specification/linter/result_spec.rb spec/github_spec.rb spec/http_spec.rb spec/yaml_helper_spec.rb spec/specification/dsl/platform_proxy_spec.rb spec/platform_spec.rb spec/version_spec.rb spec/specification/set_spec.rb spec/dependency_spec.rb spec/specification/consumer_spec.rb spec/specification/set/presenter_spec.rb spec/requirement_spec.rb spec/podfile_spec.rb spec/source/health_reporter_spec.rb spec/specification/root_attribute_accessors_spec.rb spec/specification/dsl/attribute_spec.rb spec/source_spec.rb spec/lockfile_spec.rb spec/specification/json_spec.rb spec/specification/linter/analyzer_spec.rb spec/specification/dsl/attribute_support_spec.rb spec/source/aggregate_spec.rb spec/specification_spec.rb spec/specification/dsl/deprecations_spec.rb spec/standard_erro |
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
diff -ur vsock-only/linux/notify.c ~vsock-only/linux/notify.c | |
--- vsock-only/linux/notify.c 2014-07-04 15:12:12.286408886 +0200 | |
+++ ~vsock-only/linux/notify.c 2014-07-04 15:13:16.573315661 +0200 | |
@@ -516,7 +516,7 @@ | |
PKT_FIELD(vsk, sentWaitingRead) = FALSE; | |
#endif | |
- sk->sk_data_ready(sk, 0); | |
+ sk->sk_data_ready(sk); | |
} |
NewerOlder