Skip to content

Instantly share code, notes, and snippets.

View RMHogervorst's full-sized avatar
😁
we have status now?

Roel Hogervorst RMHogervorst

😁
we have status now?
View GitHub Profile
@RMHogervorst
RMHogervorst / collatz_problem.R
Last active October 15, 2020 13:48
Executes and plots collatz problem (AKA hotpo)
### Collatz problem hotpo problem (half or three plus one)
#https://en.wikipedia.org/wiki/Collatz_conjecture
#
#The Collatz conjecture is: This process will eventually reach the number 1,
#regardless of which positive integer is chosen initially.
#
#If the conjecture is false, it can only be because there is some starting
#number which gives rise to a sequence that does not contain 1. Such a sequence
#would either enter a repeating cycle that excludes 1, or increase without
#bound. No such sequence has been found.
@RMHogervorst
RMHogervorst / read_from_sqlite_to_sf.R
Created March 7, 2018 12:57
write and read simple features from sqlite
library(RSQLite)
library(sf)
library(dplyr)
## retrieve part of the dataset
connection_object <- DBI::dbConnect(RSQLite::SQLite(), "circles.sqlite")
## make a databaseconnection filter, collect data, mutate column and plot result.
tbl(connection_object, "circles") %>%
filter() %>%
@RMHogervorst
RMHogervorst / git-controlled-shiny-server.md
Last active February 19, 2018 12:35
description of commands and steps taken to create a version controlled shiny-server

link to blogpost

This is a mix of the excellent guide by Dean Attali and a setting up a webserver guide I found here. I mean hire that guy for your shiny jobs!

Today [2018-02-19] I found another example (a bit more advanced) of deployment from git

A version controlled shiny-server

The final version of this server has shiny-server installed and working and can be controlled from your own

Keybase proof

I hereby claim:

  • I am rmhogervorst on github.
  • I am rmhogervorst (https://keybase.io/rmhogervorst) on keybase.
  • I have a public key ASC8JzMxjlfAUVtSFcrLKB5CK38eGDwJH1pYObg6UjF-dgo

To claim this, I am signing this object: