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 pacman -S ruby ruby-rdoc | |
gem update | |
gem install jekyll | |
# Add this line to .zshrc (if you are using ZSH) : export PATH=$HOME/.gem/ruby/2.6.0/bin:$PATH | |
# For default terminal, add to .bashrc |
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> | |
#include <list> | |
#include <unordered_map> | |
class KeyHasher { | |
public: | |
std::size_t operator()(const int& k) const { | |
return k%2; | |
} |