Skip to content

Instantly share code, notes, and snippets.

View marcinwadon's full-sized avatar

Marcin Wadoń marcinwadon

View GitHub Profile
import cats._
import cats.data._
import cats.effect._
import cats.syntax.all._
import cats.effect.unsafe.implicits.global
import fs2._
import fs2.concurrent._
import scala.concurrent.duration._

Keybase proof

I hereby claim:

  • I am marcinwadon on github.
  • I am marcinwadon (https://keybase.io/marcinwadon) on keybase.
  • I have a public key whose fingerprint is AFD0 3FF4 40D4 1207 47EB 37B8 7C36 2034 C4B3 8C25

To claim this, I am signing this object:

@marcinwadon
marcinwadon / telnet-arduino.sh
Created February 9, 2016 22:12
Arduino wifi ESP8266
#!/bin/bash
SELECT=""
IFS=''
while [[ "$SELECT" != $'\x0a' && "$SELECT" != $'\x20' ]]; do
read -s -N 1 SELECT
if [[ "$SELECT" == $'a' ]]
then
telnet 192.168.0.101 8767 <<EOF
L|35
@marcinwadon
marcinwadon / cordova.md
Last active July 19, 2016 13:23
Cordova - build app release version
  1. Generate key: keytool -genkey -v -keystore app-release-key-dvs.keystore -alias dvs -keyalg RSA -keysize 2048 -validity 10000

  2. Prepare build.json in cordova/platforms/android/cordova/

{
    "android": {
        "release": {
            "keystore": "app-release-key-dvs.keystore",
 "alias": "dvs"
@marcinwadon
marcinwadon / .vimrc
Last active February 1, 2016 12:33
.vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
autocmd BufEnter * lcd %:p:h
" show line numbers
set number
set ruler
set showmatch