Mix.install([
:kino_benchee,
:peep
])
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
Jakiś czas temu szukałem ekipy do remontu w domu no i jak to standardowo bywa popytałem znajomych i zadzwoniłem do najbardziej polecanej ekipy. Tak się złożyło, że miałem wyjazd służbowy i jak wróciłem to chłopaki już od 2 dni pracowali, więc po powrocie poszedłem do nich, żeby sprawdzić jak im idzie. | |
Wszedłem do salonu, patrze, a tam Bartosiak i Zychowicz stoją na drabinie eskalacyjnej i szlifują ściany. Przywitałem się mówiąc dzień dobry. Zychowicz słysząc to zrobił piwot na drabinie i powiedział Czołem. Trochę się zdziwiłem, że taka śmietanka polskiej sceny geopolitycznej robi u mnie remont, ale może chłopaki mają trudną sytuację kapitałową. | |
- Jak wam idzie chłopaki? - zapytałem | |
- Wszystko okaże się, kiedy już opadnie mgła pyłu z angielskiego Fog of Dust - odpowiedział Bartosiak | |
- no jasne, rozumiem. A jak to się stało, że tacy sławni geopolitycy zajmują się remontami? | |
- Pisaliśmy o tym w książce - odburknął Bartosiak | |
- wybaczcie panowie, ale nie czytałem. Możecie coś o tym opowiedzieć? | |
- No dobrze, ale |
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
-module(fizzbuzz). | |
-export([main/0]). | |
main() -> | |
Types = [ | |
{3, "Fizz"}, | |
{5, "Buzz"} | |
], | |
io:put_chars(run(100, Types)). |
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
{ | |
"nodes": { | |
"devenv": { | |
"inputs": { | |
"flake-compat": "flake-compat", | |
"nix": "nix", | |
"nixpkgs": [ | |
"nixpkgs" | |
], | |
"poetry2nix": "poetry2nix", |
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
defmodule Langusta.Site.CleanURL do | |
defmodule Entry do | |
defstruct [ | |
:url_pattern, | |
rules: [], | |
raw_rules: [], | |
exceptions: [], | |
redirections: [] | |
] |
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
{config, pkgs, ...}: let | |
domain = "hauleth.dev"; | |
mail-domain = "mail.${domain}"; | |
sieve-data = let | |
stalwart-mail = config.services.stalwart-mail.package; | |
in pkgs.stdenvNoCC.mkDerivation { | |
pname = "stalwart-mail-sieve-data"; | |
inherit (stalwart-mail) version src; | |
dontBuild = true; |
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
{ | |
"nodes": { | |
"flake-utils": { | |
"inputs": { | |
"systems": "systems" | |
}, | |
"locked": { | |
"lastModified": 1694529238, | |
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", | |
"owner": "numtide", |
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
const std = @import("std"); | |
const Type = std.builtin.Type; | |
pub fn Templates(comptime entries: anytype) type { | |
const type_info = @typeInfo(@TypeOf(entries)).Struct; | |
var enum_fields: [type_info.fields.len]Type.EnumField = undefined; | |
for (type_info.fields, 0..) |field, idx| { |
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
defmodule Mix.Tasks.Man do | |
@moduledoc """ | |
Print documentation for given Elixir term. | |
""" | |
@shortdoc "Show manual for term" | |
use Mix.Task | |
require IEx.Helpers |
NewerOlder