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
Homebrew build logs for swftools on macOS 10.11.6 | |
Build date: 2017-07-22 15:49:15 |
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
Homebrew build logs for swftools on macOS 10.11.6 | |
Build date: 2017-07-22 15:23:49 |
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 source file must have a .cpp extension so that all C++ compilers | |
recognize the extension without flags. Borland does not know .cxx for | |
example. */ | |
#ifndef __cplusplus | |
# error "A C compiler has been selected for C++." | |
#endif | |
/* Version number components: V=Version, R=Revision, P=Patch | |
Version date components: YYYY=Year, MM=Month, DD=Day */ |
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 <typeinfo> | |
#include <unordered_map> | |
#include <string> | |
#include <cassert> | |
#include <boost/preprocessor/cat.hpp> | |
#include <boost/preprocessor/seq/elem.hpp> | |
#include <boost/preprocessor/seq/for_each.hpp> | |
#include <boost/preprocessor/repetition/enum.hpp> |
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 | |
links=$(cat wallpaper-site | grep '/magic/magazine' | grep href | grep -v columns | sed 's#^.*<a href="#http://archive.wizards.com#g' | sed 's#">##g' | sed '/arcana.100/q') | |
for f in $links; do | |
name=$(echo $f | sed 's#.*/daily/##g' | sed 's#/#-#g' | sed 's/^M//g'); | |
if ! stat "stuff/$name" > /dev/null; then | |
curl -o "stuff/$name" $f | |
fi | |
done |
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 <vector> | |
#include <algorithm> | |
std::vector<int> nums; | |
std::vector<std::vector<int>> score; | |
std::vector<std::vector<char>> direction; | |
int get_score(unsigned from, unsigned to) { |
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
# Make sure clang++ refers to a templight enabled compiler | |
clang++ -templight -templight-format xml -c fib.cpp |
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
template<class T> | |
struct Bar { | |
struct { | |
template<class U> | |
struct Foo {}; | |
} x; | |
struct { | |
template<class U> |
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
# 1 "<built-in>" | |
# 1 "/home/r0mai/build/llvm-214711/llvm/projects/compiler-rt/lib/builtins/absvdi2.c" | |
/*===-- absvdi2.c - Implement __absvdi2 -----------------------------------=== | |
* | |
* The LLVM Compiler Infrastructure | |
* | |
* This file is dual licensed under the MIT and the University of Illinois Open | |
* Source Licenses. See LICENSE.TXT for details. | |
* | |
*===----------------------------------------------------------------------=== |
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
template <int N> struct fib { static constexpr int value = fib<N - 2>::value + fib<N - 1>::value; }; | |
template <> struct fib<0> { static constexpr int value = 1; }; | |
template <> struct fib<1> { static constexpr int value = 1; }; | |
template <int N> struct int_ {}; |
NewerOlder