Skip to content

Instantly share code, notes, and snippets.

View adiog's full-sized avatar

Aleksander Gajewski adiog

View GitHub Profile
// https://github.com/CppCon/CppCon2018/tree/master/Presentations/named_arguements_from_scratch
#include <string>
#include <boost/hana.hpp>
namespace hana = boost::hana;
using namespace hana::literals;
static int foo(int a, float b, std::string const& c) {
return (c.size() + a) / b;
$MARKS_DIR = "$HOME/.powermarks"
$MARKS_CWD = ".cwd"
New-Item -ItemType Director -Force -Path $MARKS_DIR
function _l() {
Get-ChildItem -Path $MARKS_DIR
}
function _m($MARK_LABEL) {
Get-Location | Set-Content "$MARKS_DIR/$MARK_LABEL"