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
#!/bin/sh | |
# | |
# | |
# Script to auto mount external device | |
# If for some reason you do not want to use the fstab file, this script will be a resolve | |
# | |
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> | |
#include <string> | |
/** | |
* Optimized aggregating strings | |
* used Args pack | |
*/ | |
template <unsigned short size> | |
struct StrJoinInitializer | |
{ |
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
/** | |
* This is a helper class. | |
* It can be used only inside the function ListInitializer tolist(Args&& ...args) | |
* ListInitializer list(Args&& ...args) | |
* In all other cases, use it not possible | |
* size is the number of arguments with which the constructor was called | |
*/ | |
template<typename DataType, unsigned size> | |
class ListInitializer | |
{ |
NewerOlder