Skip to content

Instantly share code, notes, and snippets.

Adams, Douglas - Stoparuv pruvodce galaxii
B. Schmidt, Joachim - Kalmann
Bacus, Anne - Vase dite ve veku od 1 do 3 let
Banas, Jozef - Som Bata. Dokazem to!
Broadbent, Rick - Vytrvalost (Pozoruhodny zivot a doba Emila Zatopka)
CCH'-SIN, LIOU - Temny les
CCH'-SIN, LIOU - Toulava zeme
Campbell-McBride, Natasha - GAPS terapeuticky protokol
Chiang, Ted - Pribehy vasho zivota
Chown, Marcus - One thing you need to know
@dusko
dusko / jpg2txt.R
Created September 26, 2018 09:58
Convert scan in JPG format into character vector.
library(tesseract)
library(purrr)
library(dplyr)
# Download Czech language data.
# For list of avail. languages please see
# https://github.com/tesseract-ocr/tesseract/wiki/Data-Files
# Run this command only once to install language data
# tesseract_download("ces")
library(V8)
library(rvest)
library(hrbrthemes)
library(tidyverse)
ctx <- v8()
pg <- read_html("https://www.tiobe.com/tiobe-index/")
html_nodes(pg, xpath=".//script[contains(., 'series:')]") %>%
library(DBI)
library(RSQLite)
library(readr)
library(dplyr)
#=========================================================================
# Read a CSV file in chunks and stuff into a database.
#
# Note: This is proof-of-concept code only.
# It should work OK, but there are no guarantees.