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
# add to .vimrc: `au BufRead,BufNewFile *.log set filetype=log` and open `.log` files with colors | |
if exists("b:current_syntax") | |
finish | |
endif | |
let b:current_syntax = "log" | |
syntax match EVT "event:" | |
" [ServiceBluetooth_w1] GAP.cpp:addNewDevice:181: |
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
[core] | |
autocrlf = false | |
[alias] | |
# lists user branches in last time ordered matter - useful to manage multiple branches at once | |
brtime = for-each-ref --sort=committerdate refs/heads/ --format='%(color: red)%(committerdate:short) %(color: cyan)%(refname:short)' | |
# list all branches including remotes in timed matter - usefull to verify branches older than `x` | |
brtime-all = for-each-ref --sort=committerdate --format='%(color: red)%(committerdate:short) %(color: white)%(authorname) %(color: cyan)%(refname:short)' | |
[push] | |
default = current |
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
find . -type f -ls 2>/dev/null | sort -M -k8,10 | head -n20 |
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
log = logging.getLogger(__name__) | |
log.setLevel(logging.DEBUG) | |
class TqdmLoggingHandler(logging.Handler): | |
''' | |
required for pretty logs with tqdm | |
''' | |
def __init__(self, level=logging.NOTSET): | |
super().__init__(level) |
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
Mudita Individual Contributor License Agreement | |
By signing this contributor license agreement, I understand and agree that this project and contributions to it are public and that a record of the contribution (including all personal information I submit with it, including my full name and email address) is maintained indefinitely and may be redistributed consistent with this project, compliance with the Open Source license(s) involved, and maintenance of authorship attribution. | |
In order to clarify the intellectual property license granted with Contributions from any person or entity, Mudita Sp. z o. o. ("Mudita") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Mudita; it does not change your rights to use your own Contributions for any other purpose. | |
You accept and agree to the following terms and conditions for Your present 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
#ifndef _PID_SOURCE_ | |
#define _PID_SOURCE_ | |
#include <iostream> | |
#include <cmath> | |
#include "pid.h" | |
using namespace std; | |
class PIDImpl |