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
#include <vector> | |
#include <tuple> | |
namespace details { | |
template<class T>struct tag{using type=T;}; | |
template<class Tag>using type=typename Tag::type; | |
template<class T, size_t n> | |
struct n_dim_vec:tag< std::vector< type< n_dim_vec<T, n-1> > > > {}; | |
template<class T> |
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
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
apt-get update | |
apt-get upgrade -y | |
apt-get dist-upgrade -y |
NewerOlder