Skip to content

Instantly share code, notes, and snippets.

✔️
OK

Illarion Kovalchuk illarion

✔️
OK
Block or report user

Report or block illarion

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View find.rs
use std::ops::Add;
fn main() {
let data = &[1,3,4,5,6,7,8];
let sum = 10;
match find(data, sum) {
Some(x) => {
let (a, b) = x;
println!("{}+{} == {}", a, b, sum);
@illarion
illarion / mandelbrot.go
Last active Aug 1, 2018
Mandelbrot set golang implementation
View mandelbrot.go
package main
import (
"image"
"image/color"
"image/draw"
"image/png"
"os"
)
@illarion
illarion / fonts.conf
Created May 16, 2016
/home/shaman/.config/fontconfig/fonts.conf
View fonts.conf
<fontconfig>
<match target="pattern">
<edit name="dpi" mode="assign"><double>96</double></edit>
</match>
<match target="font" >
<edit name="rgba" mode="assign"><const>rgb</const></edit>
<edit name="hinting" mode="assign"><bool>true</bool></edit>
<edit name="antialias" mode="assign"><bool>true</bool></edit>
<edit name="autohint" mode="assign"><bool>true</bool></edit>
<edit mode="assign" name="hintstyle"><const>hintfull</const></edit>
You can’t perform that action at this time.