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 COMBINATORICS_NTT_HPP | |
#define COMBINATORICS_NTT_HPP | |
#include <cstdint> | |
namespace ntt { | |
template<uint32_t P> | |
class Mod { | |
public: |
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
#!/usr/bin/env python3 | |
import requests | |
import bs4 | |
import argparse | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--name', type=str, required=True) | |
parser.add_argument('--password', type=str, required=True) | |
args = parser.parse_args() |
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 CPP_AVL_HPP | |
#define CPP_AVL_HPP | |
#include <cstdint> | |
template<typename K> | |
struct avl_node { | |
using node_t = avl_node<K>; | |
node_t *cs_[2]{nullptr, nullptr}; |
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
> sudo ip tuntap add dev test mode tun user $(whoami) | |
> sudo ip link set test up | |
> gcc one_pkt.c -o one_pkt | |
> ./one_pkt |