(assignee = currentUser() or reporter = currentUser()) and updated >= -14d and (status in (Done, Closed, closure, "Ready to Test") or comment ~ currentUser()) ORDER BY key DESC
created >= -30d AND assignee = currentUser() ORDER BY created DESC
/******** Header File ********/ | |
#include <iostream> | |
#include <sstream> | |
#include <stdio.h> | |
#include <string.h> | |
#include <string> | |
#include <vector> | |
#include <queue> |
# Complete sync, but skip book from the list | |
rsync -avu --delete --exclude=books /dir/from /dir/to |
# Main idea | |
1 get authors | |
svn log -q | awk -F '|' '/^r/ {gsub(/ /, "", $2); sub(" $", "", $2); print $2" = "$2" <"$2"@email.com>"}' | sort -u > users.txt | |
2 clone svn | |
git svn clone --prefix=svn/ --stdlayout --no-metadata --authors-file=users.txt https://svn_server/svn/repo | |
3 add new origin | |
git remote add origin [email protected]:user/repo.git | |
git push -u origin --all | |
# More clones |
dpkg-deb -R the_package.deb tmp | |
apt install the_package.deb | |
apt remove the_package.deb |
# Configure | |
cmake -Bbuild/release -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -S. | |
# Build | |
cmake --build build/release --target program_exe | |
# Test | |
ctest --verbose --test-dir build/release/ |
#include <cstdlib> | |
#include <iostream> | |
#include <chrono> | |
using std::chrono::steady_clock; | |
using std::chrono::system_clock; | |
constexpr inline std::chrono::seconds timeout1 = | |
std::chrono::seconds(60 * 60); | |
constexpr inline std::chrono::minutes timeout2 = |
# https://www.brendangregg.com/perf.html | |
/usr/local/bin/perf record -g -e cpu-clock -F 99 <bin_file> | |
/usr/local/bin/perf script | stackcollapse-perf.pl | flamegraph.pl > mm_flame.svg |