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
# i3 config file (v4) | |
set $mod Mod4 | |
font pango:Hack 10 | |
floating_modifier $mod | |
focus_follows_mouse no | |
bindsym $mod+Return exec i3-sensible-terminal | |
bindsym $mod+Shift+q kill | |
bindsym $mod+d exec dmenu_run |
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
FROM debian:stretch-slim | |
ENV OPENJDK_MAJOR=11 | |
ENV OPENJDK_VERSION=11.0.1 | |
ENV JAVA_HOME=/opt/jdk-${OPENJDK_VERSION} | |
ENV PATH=$JAVA_HOME/bin:$PATH | |
ADD https://download.java.net/java/GA/jdk${OPENJDK_MAJOR}/13/GPL/openjdk-${OPENJDK_VERSION}_linux-x64_bin.tar.gz /tmp/ | |
RUN tar -C /opt -xf /tmp/openjdk-${OPENJDK_VERSION}_linux-x64_bin.tar.gz |
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
#[macro_use] | |
extern crate error_chain; | |
extern crate regex; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
Regex(::regex::Error); | |
ParseChar(::std::char::ParseCharError); |
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
#[macro_use] | |
extern crate error_chain; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
ParseInt(::std::num::ParseIntError); | |
} | |
} |
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
#[macro_use] | |
extern crate error_chain; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
ParseInt(::std::num::ParseIntError); | |
} | |
} |
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
#[macro_use] | |
extern crate itertools; | |
use std::collections::HashMap; | |
use std::env; | |
use std::fs::File; | |
use std::io::{BufRead, BufReader}; | |
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | |
struct Point(isize, isize); |
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
#[macro_use] | |
extern crate error_chain; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
} | |
} | |
} |
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
#[macro_use] | |
extern crate error_chain; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
ParseInt(::std::num::ParseIntError); | |
} | |
} |
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::env; | |
use std::fs::File; | |
use std::io::{BufRead, BufReader}; | |
#[derive(Copy, Clone, Debug)] | |
enum Direction { | |
Up, | |
Down, | |
Left, | |
Right, |
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
#[macro_use] | |
extern crate error_chain; | |
mod errors { | |
error_chain! { | |
foreign_links { | |
Io(::std::io::Error); | |
ParseInt(::std::num::ParseIntError); | |
} | |
} |
NewerOlder