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
cards = [] | |
amusementPark = Card ActionC 1 4 0 (Just DupPlayedTrain) "Amusement Park | |
commandCentral = Card ActionC 0 3 0 (Just $ Draw 1 `Then` GuessDraw) "Command Central" | |
landfill = Card ActionC 0 2 (Just $ RetWaste Nothing) "Landfill" | |
normalTrain = Card TrainC 1 1 0 Nothing "Normal Train" | |
expressTrain = Card TrainC 2 3 0 Nothing "Express Train" | |
limexTrain = Card TrainC 3 6 0 Nothing "Limited Express Train" |
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
http://drum.rory.ie/#/eyJ0ZW1wbyI6MTYwLCJiZWF0Q291bnQiOjgsImNoYW5uZWxzIjp7InNuYXJlIjpbMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwxLDAsMSwwXSwia2ljayI6WzAsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwxLDEsMSwwLDFdLCJoYXRDbG9zZWQiOlsxLDAsMSwwLDEsMCwxLDAsMSwwLDEsMCwxLDAsMSwwLDEsMCwxLDAsMSwwLDEsMCwxLDAsMSwwLDEsMCwxXSwiaGF0T3BlbiI6WzAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMSwwLDFdLCJsb3dUb20iOlswLDEsMCwwLDAsMSwwLDAsMCwxLDAsMCwwLDEsMCwwLDAsMSwwLDAsMCwxLDAsMCwwLDEsMCwwLDEsMCwxXSwibWlkVG9tIjpbMCwwLDEsMSwwLDAsMSwxLDAsMCwxLDEsMCwwLDEsMSwwLDAsMSwxLDAsMCwxLDEsMCwwLDEsMSwxLDAsMV0sImhpVG9tIjpbMCwwLDAsMCwxLDAsMCwwLDEsMCwwLDAsMSwwLDAsMCwxLDAsMCwwLDEsMCwwLDAsMSwwLDAsMCwxLDAsMV0sImNvd2JlbGwiOlswLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDEsMCwxXSwidGFtYiI6WzAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMSwwLDFdLCJyaWRlIjpbMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLDAsMCwwLD |
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> | |
using namespace std; | |
void doTheThing(); | |
int main() { | |
int C; | |
cin >> C; |
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> | |
using namespace std; | |
template<class T> | |
class array { | |
T* g = new T[8]; | |
int size = 8; | |
public: | |
T& operator[] (int y) { | |
return g[y]; |
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
package net.zetaeta.aoc; | |
import java.util.EnumSet; | |
import java.util.List; | |
import net.zetaeta.bukkit.util.configuration.ConfigOpt; | |
import net.zetaeta.bukkit.util.configuration.ConfigurationAccess; | |
import org.bukkit.Material; | |
import org.bukkit.configuration.ConfigurationSection; |
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> | |
class Array5 { | |
public: | |
T data[5]; | |
}; | |
int main() { | |
Array5<int> intarr; | |
intarr.data[0] = 3; | |
Array5<string> strarr; |
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> | |
void print(T object) { | |
std::cout << object; | |
} |
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
world: | |
flag: | |
size: | |
x: 6 | |
z: 6 | |
y: 8 | |
ground_height: 64 | |
radius: 500 | |
plots: |
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
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
awful.rules = require("awful.rules") | |
require("awful.autofocus") | |
-- Widget and layout library | |
local wibox = require("wibox") | |
-- Theme handling library | |
local beautiful = require("beautiful") | |
-- Notification library |
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
namespace std | |
{ | |
template < typename _Tp > struct integral_constant | |
{ | |
static constexpr _Tp value = 0; | |
}; | |
typedef integral_constant < bool > true_type; | |
template < typename ... >struct __and_; | |
template <> struct __and_ <>:true_type | |
{ |
NewerOlder