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 <cassert> | |
#include <iostream> | |
#include <functional> | |
#include <memory> | |
#include <type_traits> | |
#include <typeinfo> | |
#include <typeindex> | |
#include <utility> | |
#include <unordered_map> |
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
import argparse | |
import datetime | |
import unicodecsv as csv | |
import meetup.api | |
import os.path | |
columns = ['name', 'real_name', 'kingster', 'id', 'rsvp', 'rsvp_date', 'joined_group_date', 'title', 'host', 'url', 'new_entry'] | |
if __name__ == "__main__": |
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
# This file is NOT licensed under the GPLv3, which is the license for the rest | |
# of YouCompleteMe. | |
# | |
# Here's the license text for this file: | |
# | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Anyone is free to copy, modify, publish, use, compile, sell, or | |
# distribute this software, either in source code form or as a compiled | |
# binary, for any purpose, commercial or non-commercial, and by any |
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 bash | |
if [ -d "llvm" ]; then | |
pushd . | |
cd llvm/ | |
svn cleanup | |
svn update | |
popd | |
else | |
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm |
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
COMPILER_ENV=GCC_7 | |
if [ -z "$COMPILER_ENV" ]; | |
then | |
echo "Variable COMPILER_ENV must be set and be the name of a folder in /opt"; | |
else | |
echo "Configuring compiler environment."; | |
INSTALL_DIR=/opt/${COMPILER_ENV} | |
THIRD_PARTY_DIR=${INSTALL_DIR}/thirdparty | |
export GCC_ENV_DIR=${INSTALL_DIR} |
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
if [ -z "$BH_ENV" ]; | |
then | |
echo "Variable BH_ENV must be set and be the name of a folder in /opt"; | |
else | |
echo "Configuring compiler environment."; | |
INSTALL_DIR=/opt/${BH_ENV} | |
THIRD_PARTY_DIR=${INSTALL_DIR}/thirdparty | |
export GCC_ENV_DIR=${INSTALL_DIR} | |
export GCC_BIN_DIR=${GCC_ENV_DIR}/bin |
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 <iostream> | |
#include <memory> | |
#include <string> | |
#include "repository.hpp" | |
// Incomplete types used as compile-time keys. | |
struct Key1; | |
struct Key2; |
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 <iostream> | |
#include <string> | |
struct DefaultSlotKey; | |
template <class Type, class Key = DefaultSlotKey> | |
class Slot | |
{ | |
protected: | |
Type& doGet() |
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 <boost/hana.hpp> | |
#include <iostream> | |
#include <type_traits> | |
struct A {}; | |
std::string to_string(const A&) | |
{ | |
return "I am a A!"; | |
} |
NewerOlder