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
| # priklad vstupniho XML souboru - je nutne si ho upravit dle sveho | |
| """<?xml version="1.0" encoding="UTF-8"?> | |
| <Pisemnost nazevSW="EPO MF ČR" verzeSW="39.15.1"> | |
| <DPHSHV verzePis="01.02"> | |
| <VetaD d_poddp="29.03.2017" dokument="SHV" k_uladis="DPH" mesic="8" rok="2017" shvies_forma="R" /> | |
| <VetaP c_pop="379" c_pracufo="2401" c_ufo="455" dic="<DIC>" jmeno="Daniel" naz_obce="<A>" prijmeni="<PRIJMENI>" psc="<PSC>" stat="ČESKÁ REPUBLIKA" titul="Bc." typ_ds="F" ulice="<ULICE>" /> | |
| <VetaR c_rad="1" c_vat="<VAT>" k_pln_eu="3" k_stat="GB" pln_hodnota="<CASTKA>" pln_pocet="1" por_c_stran="1" /> | |
| </DPHSHV> | |
| <Kontrola> | |
| <Uzivatel jmeno="null" prijmeni="null" /> |
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
| /** | |
| * Conway's game of life implemented in C++ templates at compile time using Comonads. | |
| * | |
| * Logic based on: http://blog.emillon.org/posts/2012-10-18-comonadic-life.html | |
| */ | |
| #include <iostream> | |
| /// Identity functor | |
| template <typename X> | |
| struct id { |
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
| # Do something like: puts "ROCK".blink.bright.cyan | |
| class String | |
| def red | |
| "\e[31m#{self}\e[0m" | |
| end | |
| def blue | |
| "\e[34m#{self}\e[0m" | |
| end |