app.normandy.api_url = ""
app.normandy.enabled = false
app.shield.optoutstudies.enabled = false
app.update.auto = false [OS except Windows]
app.update.background.scheduling.enabled = false [Windows]
beacon.enabled = false
breakpad.reportURL = ""
This file contains hidden or 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
body { | |
height: 100dvh; | |
display: flex; | |
flex-direction: column; | |
} | |
main { | |
flex-grow: 1; | |
overflow: auto; | |
} |
This file contains hidden or 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
sudo apt install nmap | |
curl -sSf --tlsv1.2 --proto '=https' -LO https://nmap.org/svn/scripts/ssl-enum-ciphers.nse | |
nmap --script ./ssl-enum-ciphers.nse -p 443 ${DOMAIN} |
This file contains hidden or 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 <ostream> | |
#include <string> | |
#include <type_traits> | |
#include <utility> | |
template <typename CharT, typename Arg> | |
auto | |
Print(std::ostream &os, [[maybe_unused]] CharT delimiter, const Arg &arg) | |
-> std::ostream & { | |
static_assert( |
This file contains hidden or 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
CC = clang | |
CFLAGS = -std=c11 -O0 -g3 -Wall -Wextra | |
ASAN_FLAGS = -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-recover=address | |
CSRC = $(wildcard *.c) | |
COBJ = $(patsubst %.c, %.o, $(CSRC)) | |
.PHONY: all | |
all: main |
This file contains hidden or 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
# Debian | |
sudo apt install clang libc++-dev libc++abi-dev libunwind-dev | |
# Red Hat | |
## yum | |
sudo yum install libcxx-devel libunwind-devel | |
## dnf | |
sudo dnf install libcxx-devel libunwind-devel |
This file contains hidden or 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 <concepts> | |
#include <iostream> | |
#include <type_traits> | |
struct BothAssignable { | |
constexpr auto operator=(const BothAssignable&) noexcept -> BothAssignable& = default; | |
constexpr auto operator=(BothAssignable&&) noexcept -> BothAssignable& = default; | |
}; | |
struct CopyAssignable { |
This file contains hidden or 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 <iterator> // bidirectional_iterator, iterator_traits | |
#include <utility> // move, swap | |
template <std::bidirectional_iterator BidirectionalIterator, typename Compare, | |
typename ValueType = | |
typename std::iterator_traits<BidirectionalIterator>::value_type> | |
constexpr auto bubble_sort1(BidirectionalIterator begin, | |
BidirectionalIterator end, Compare compare) | |
-> void { | |
if (begin == end) { |
This file contains hidden or 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> // cout | |
#include <ranges> // range, subrange, cbegin, cend | |
#include <vector> | |
namespace { | |
auto print_range(const std::ranges::range auto &range, bool newline = true) | |
-> void; | |
namespace detail { |
NewerOlder