Skip to content

Instantly share code, notes, and snippets.

View Pitel's full-sized avatar
💩
Breaking things

Ing. Jan Kaláb Pitel

💩
Breaking things
View GitHub Profile
@Pitel
Pitel / MediaQueryStore.kt
Created June 29, 2021 13:31
MediaQueryStore
import dev.fritz2.binding.RootStore
import dev.fritz2.styling.theme.Theme
import kotlinx.browser.window
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.MainScope
import kotlinx.coroutines.flow.distinctUntilChanged
import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.map
import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.plus
[Appium] Welcome to Appium v1.5.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","deviceName":"Android","appPackage":"cz.master.lois"}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"Android",...
[HTTP] --> DELETE /wd/hub/session {}
[debug] [HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session 404 4 ms - 57
[Appium] Creating new AndroidDriver session
[Appium] Capabilities:
[Appium] platformName: 'Android'

Keybase proof

I hereby claim:

  • I am Pitel on github.
  • I am pitel (https://keybase.io/pitel) on keybase.
  • I have a public key whose fingerprint is 6F5E 9E84 D9C8 D848 3B1B CDF1 AA8A 390F 59CD A9BA

To claim this, I am signing this object:

-- http://en.wikipedia.org/wiki/Binary_search_tree
data BTree a
= Node a (BTree a) (BTree a)
| Empty
deriving (Show)
-- Jednoprvkovy strom, strom bez potomku
singleton :: a -> BTree a
singleton x = Node x Empty Empty
@Pitel
Pitel / config
Created February 29, 2012 13:12
MPlayer configuration
#subcp=enca:cs:cp1250
subcp=cp1250
ao=pulse,alsa
#fontconfig=1
vo=gl:osdcolor=0xffff00:lscale=1:yuv=4:cscale=1:swapinterval=-1
font="DejaVu Sans"
srate=48000
#subfont-text-scale=3
stop-xscreensaver=yes
cache=8192
@Pitel
Pitel / .gitconfig
Created February 29, 2012 13:10
Git config
[user]
name = John Smith
email = john@smith.com
[color]
ui = auto
[core]
autocrlf = input
safecrlf = true
[alias]
st = status
CmdUtils.CreateCommand({
names: ["geocaching", "geocache"],
author: {name: "Jan Kaláb", email: "pitlicek@gmail.com"},
license: "MPL",
description: _("Search for geocaches"),
help: _("Type in the cache name to see its listing."),
icon: "http://www.geocaching.com/favicon.ico",
arguments: [{role: "object", nountype: noun_arb_text, label: _("Waypoint")},
{role: "location", nountype: noun_type_geolocation, label: _("Location")}],