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 -ruN samples/bluetooth/peripheral/src/main.c samples/bluetooth/peripheral-25964/src/main.c | |
--- samples/bluetooth/peripheral/src/main.c 2020-06-17 17:35:31.695578457 +0200 | |
+++ samples/bluetooth/peripheral-25964/src/main.c 2020-06-17 17:48:31.701315435 +0200 | |
@@ -316,6 +316,51 @@ | |
bt_gatt_hrs_notify(heartrate); | |
} | |
+static void interrupt_worker(struct k_work *work); | |
+static void interrupt_timer_handler(struct k_timer *timer); | |
+ |
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/perl -w | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
use Pod::Usage; | |
use File::Glob ':bsd_glob'; | |
use File::Basename; | |
use File::Spec; | |
use File::Path 'make_path'; | |
use File::Temp; |
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
mhx@air ~ $ pdftotext Scannen0001.pdf - | grep -qE '\S' | |
mhx@air ~ $ echo $? | |
0 | |
mhx@air ~ $ pdftotext mhx.pdf - | grep -qE '\S' | |
mhx@air ~ $ echo $? | |
1 |
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
#!/bin/bash | |
set -e | |
RAW="$1" | |
TIFF="${1/.dng/.tiff}" | |
INFO="${1/.dng/.info}" | |
if [ ! -f "$INFO" ]; then | |
dcraw -T -4 -r 1 1 1 1 -H 0 "$RAW" |
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
#!/bin/bash | |
set -e | |
RAW="$1" | |
TIFF="${1/.dng/.tiff}" | |
INFO="${1/.dng/.info}" | |
if [ ! -f "$INFO" ]; then | |
dcraw -T -4 -r 1 1 1 1 -H 0 "$RAW" |
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
#include <stdio.h> | |
#include <setjmp.h> | |
#include <limits.h> | |
#define p putchar | |
#define l longjmp | |
#define s setjmp | |
jmp_buf __[3];double _[7];main(){(1[_]=1)&&(s(2[__]),1)&&1[_]>=-1&&( | |
*_=-6e-1)&&((s(1[__]),1)&&18e-1>=*_&&(2[_]=75e-1)&&((s(*__),1)&&2[_] | |
&&(2[_]-=1.0)&&(((int)2[_])[_]=0,1)&&(l(*__,0),1),1)&&((s(*__),1)&&2 | |
[_]<CHAR_MAX&&2>5[_]+6[_]&&(5[_]=3[_]*3[_],1)&&(6[_]=4[_]*4[_],1)&&( |
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
#include <vector> | |
#include <algorithm> | |
#include <iterator> | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
void merge(vector<string>& v) | |
{ |
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
marcus@balrog ~ $ cat test.cpp | |
#include <iostream> | |
struct Versuch { | |
int foo1; | |
int foo2; | |
int foo3; | |
int foo4; | |
}; |