



































grep "player is ready" servers/*.log* | sed -e "s/.*addr=<{\(.*\):[0-9]*\}>.*/\1/" | sort | uniq | wc -l
9175





































































ye









I'll check tomorrow I guess










cl_map_download_url













Task.Run(() => CarregarDataAtual()); (edited)






public static int Return7() {
return 7;
} (edited)() => 7

















Func<int, int> square = x => x * x;
Console.WriteLine(square(5));
// Output:
// 25











































































SELECT *
FROM table_name
ORDER BY id DESC
LIMIT 1
std::atomic_int i = 0; not compile?










std::atomic_int i = {0}; or std::atomic_int i{0}; both seem to work

std::atomic_int i = 0; fails to compile

= operator is overloaded for int














atomic_int first


c++
#include <atomic>
std::atomic_int i = int(0);
int main() {
return 0;
}

a.cpp:2:26: error: use of deleted function ‘std::atomic<int>::atomic(const std::atomic<int>&)’
2 | std::atomic_int i = int(0);
| ^
In file included from a.cpp:1:
/usr/include/c++/10.2.0/atomic:759:7: note: declared here
759 | atomic(const atomic&) = delete;
| ^~~~~~
/usr/include/c++/10.2.0/atomic:763:17: note: after user-defined conversion: ‘constexpr std::atomic<int>::atomic(std::atomic<int>::__integral_type)’
763 | constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { }
| ^~~~~~






#include <atomic>
std::atomic_int i = int(0);
int main() {
return 0;
}
#include <iostream> // std::cout
#include <atomic> // std::atomic, std::memory_order_relaxed
#include <thread> // std::thread
std::atomic_int i = {0};
int main() {
std::cout << "yo Number: " << i;
return 0;
}















std::atomic_int i = 0; fails to compile 




c++
#include <memory>
void abc(int *ptr) {
delete ptr;
}
int main() {
std::unique_ptr<int, decltype(abc)> p = std::unique_ptr<int, decltype(abc)>(new int());
return 0;
}











int










std::unique_ptr's deleter




#include <tuple> does not help


std::unique_ptr<SDL_Window, decltype(&SDL_DestroyWindow)> _window_;














Deleter must be FunctionObject or lvalue reference to a FunctionObject or lvalue reference to function, callable with an argument of type unique_ptr<T, Deleter>::pointer





c++
std::unique_ptr<int, decltype(&abc)> p = std::unique_ptr<int, decltype(&abc)>(new int(), &abc); (edited)





























































" Uses rusty-man and nvim emulated terminal to show docs
command! -nargs=* Rm belowright split | resize 15 | te rusty-man <args>



































twmap crate.




#![forbid(unsafe_code)] is nice too






















| grep "^$str" is that there could be special characters in $str which would be interpreted as a regex. Any shell pro here can help me?













