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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<!-- Generated by: TmTheme-Editor --> | |
<!-- ============================================ --> | |
<!-- app: http://tmtheme-editor.herokuapp.com --> | |
<!-- code: https://github.com/aziz/tmTheme-Editor --> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Ariake</string> |
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
//hello RheinNeckarJS | |
import { | |
green, | |
cyan, | |
bold, | |
yellow, | |
red | |
} from "https://deno.land/std/fmt/colors.ts"; |
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
let link = (try { | |
let name = s.stream.get("channel")?.get("name")?.as_str()?; | |
(try { | |
let url = format!("https://twitch.tv/{}", name) | |
.parse::<typed_html::types::Uri>().ok()?; | |
html!(<a href={url}>{ text!(name) }</a>): | |
Box<elements::FlowContent<String>> | |
}: Option<Box<elements::FlowContent<String>>>) | |
.unwrap_or_else(|| Box::new(dom::TextNode::new(name))) |
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
%default total | |
postulate callCC : ((a -> Void) -> a) -> a | |
excludedMIddle : Dec a | |
excludedMiddle = callCC (\assumption => No (\contradiction => void (assumption (Yes 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
use std::collections::VecDeque; | |
#[derive(Clone, Copy, Debug, Eq, PartialEq)] | |
enum State { A, B, C, D, E, F } | |
// enum State { A, B } | |
const ITERATIONS: usize = 12_459_852; | |
// const ITERATIONS: usize = 6; | |
fn 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
use std::cmp::max; | |
use std::collections::{HashMap, HashSet}; | |
use std::iter; | |
const _SAMPLE_INPUT: &str = "\ | |
0/2 | |
2/2 | |
2/3 | |
3/4 | |
3/5 |
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
use std::cmp::max; | |
use std::collections::{HashMap, HashSet}; | |
use std::iter; | |
const _SAMPLE_INPUT: &str = "\ | |
0/2 | |
2/2 | |
2/3 | |
3/4 | |
3/5 |
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
// 25x25 | |
const INPUT: &str = "\ | |
#.....##.####.#.######### | |
.###..#..#..####.##....#. | |
..#########...###...####. | |
.##.#.##..#.#..#.#....### | |
...##....###..#.#..#.###. | |
###..#...######.####.#.#. | |
#..###..###..###.###.##.. | |
.#.#.###.#.#...####..#... |
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
// 25x25 | |
const INPUT: &str = "\ | |
#.....##.####.#.######### | |
.###..#..#..####.##....#. | |
..#########...###...####. | |
.##.#.##..#.#..#.#....### | |
...##....###..#.#..#.###. | |
###..#...######.####.#.#. | |
#..###..###..###.###.##.. | |
.#.#.###.#.#...####..#... |
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
const INPUT: &str = "\ | |
../.. => .##/##./.#. | |
#./.. => .#./#.#/##. | |
##/.. => #.#/#.#/### | |
.#/#. => #../.#./.#. | |
##/#. => ##./#.#/..# | |
##/## => #.#/#.#/... | |
.../.../... => ..##/##../##../#.#. | |
#../.../... => ##.#/..#./#.#./.#.. | |
.#./.../... => ..#./##.#/#.##/###. |
NewerOlder