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/sh | |
OUTPUT="$(flutter analyze)" | |
echo "$OUTPUT" | |
echo | |
if grep -q "error •" <<< "$OUTPUT"; then | |
echo "flutter analyze found errors" | |
exit 1 | |
else | |
echo "flutter analyze didn't find any errors" | |
exit 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation] | |
"RealTimeIsUniversal"=hex(b):01,00,00,00,00,00,00,00 |
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
### Keybase proof | |
I hereby claim: | |
* I am cubuspl42 on github. | |
* I am cubuspl42 (https://keybase.io/cubuspl42) on keybase. | |
* I have a public key whose fingerprint is B129 7115 B2D8 5416 C7B9 21CE D7C7 9A97 9757 F40D | |
To claim this, I am signing this 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
extern "C" { | |
double plus_jeden(double x); | |
} | |
double d(unsigned long long S, unsigned long long E, unsigned long long M) { | |
S <<= 63; | |
E <<= 52; | |
unsigned long long a = S | E | M; |
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
while getopts ":s:p:" o; do | |
case "${o}" in | |
s) | |
echo ${OPTARG} | |
;; | |
p) | |
echo ${OPTARG} | |
;; | |
*) | |
echo "wtf" |
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
#ifndef ALGORITHM_HPP | |
#define ALGORITHM_HPP | |
#include <cstring> | |
#include <cstddef> | |
namespace nonstd { | |
template<typename T> | |
void swap(T &a, T &b) { | |
T tmp(a); |
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
// Oznaczmy: | |
// X - nowy węzeł | |
// L - węzeł, po którym dodajemy X | |
// N - węzeł obecnie następujący po L | |
// L <-> N | |
x->next = l->next; | |
// L <-> N |
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 <iostream> | |
using namespace std; | |
struct lista { | |
int wartosc; | |
lista *next; | |
lista *prev; | |
}; | |
void add_after(lista *l, int n) { |
NewerOlder