- Essential Scala
- Scala with Cats
- Essential effects
- Practical FP
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
(() => { | |
// Utils | |
const flow = (...functions) => args => | |
functions.reduce((arg, f) => f(arg), args); | |
const assertArrLen = len => arr => { | |
if (arr.length !== len) { | |
throw new Error(arr.toString() + "'s length is not " + len) | |
} else { |
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
declare const DISCARD: unique symbol; | |
const filterType = <T, U extends T>( | |
ts: readonly T[], | |
filter: (t: T) => U | typeof DISCARD, | |
) => ts.reduce<U[]>( | |
(us, t) => { | |
const u = filter(t); | |
if (u !== DISCARD) { | |
us.push(u); | |
} |
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
█▓▒░qp@qptop█▓▒░ Wed Feb 26 10:42:26am | |
~/ yay -Syu | |
[sudo] password for qp: | |
:: Synchronizing package databases... | |
system is up to date | |
world is up to date | |
galaxy is up to date | |
lib32 is up to date | |
extra is up to date | |
community is up to date |
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
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources | |
export QT_QPA_PLATFORMTHEME=qt5ct | |
export QT_STYLE_OVERRIDE=kvantum | |
exec dbus-launch i3 |
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
package halp; | |
import java.util.function.BiConsumer; | |
import java.util.function.Consumer; | |
public class Halp { | |
public static void main(String[] args) { | |
Clazz c = null; | |
c.func( | |
() -> {}, |
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
Xft.dpi: 96 | |
Xft.antialias: true | |
Xft.rgba: rgb | |
Xft.hinting: true | |
Xft.hintstyle: hintslight | |
URxvt.font: xft:hack:pixelsize=12 | |
URxvt.perl-ext: | |
URxvt.perl-ext-common: | |
URxvt.scrollBar: false |
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
~$ journalctl -u illum.service -b | |
-- Logs begin at Thu 2019-01-03 11:42:32 CET, end at Fri 2019-02-01 23:24:38 CET. -- | |
Feb 01 23:06:23 qx201 systemd[1]: Started illum.service. | |
Feb 01 23:06:23 qx201 illum-d[518]: using event8 as an input dev | |
Feb 01 23:06:23 qx201 illum-d[518]: using event7 as an input dev | |
Feb 01 23:06:24 qx201 illum-d[518]: using event4 as an input dev | |
Feb 01 23:07:26 qx201 systemd[1]: Stopping illum.service... | |
Feb 01 23:07:26 qx201 systemd[1]: illum.service: Main process exited, code=killed, status=15/TERM | |
Feb 01 23:07:26 qx201 systemd[1]: illum.service: Succeeded. | |
Feb 01 23:07:26 qx201 systemd[1]: Stopped illum.service. |
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
deb http://deb.debian.org/debian/ testing main contrib non-free | |
deb http://deb.debian.org/debian/ testing-updates main contrib non-free | |
deb http://deb.debian.org/debian-security testing/updates main |
Ár | Név | Típus | Liter | Doboz/Üveg | Megjegyzés | Untappd | Ár forrása |
---|---|---|---|---|---|---|---|
200Ft | Pilsner Urquell | Czech Pilsner | 0.33 | Doboz | 3.35 | Tesco | |
200Ft | Oettinger Hefeweißbier Naturtrüb / Weissbier | Weissbier - Hefeweizen | 0.5 | Doboz | 3.31 | Auchan | |
220Ft | Soproni Óvatos Duhaj IPA | Session IPA | 0.5 | Üveg | 3.31 | Tesco | |
240Ft | Oettinger Schwarzbier | Schwarzbier | 0.5 | Doboz | 3.05 | Auchan | |
245Ft | Soproni Démon |
NewerOlder