Skip to content

Instantly share code, notes, and snippets.

@ceteri
ceteri / clk.tsv
Last active May 14, 2020 13:13
Intro to Apache Spark: code example for (K,V), join, operator graph
2014-03-04 15dfb8e6cc4111e3a5bb600308919594 11
2014-03-06 81da510acc4111e387f3600308919594 61

##Installation information for R with GTK+

###Windows If you don't have R yet, install the newest version from http://www.r-project.org/ . Additionally, I highly recommend RStudio (http://www.rstudio.com/) for working with R regularly (but the basic command line will work just fine for most applications). Once R is installed, you can install GTK directly from within R (details below):

  1. From the R command line, install the RGtk2 package by running: install.packages("RGtk2", depen=T)
  2. Then load the package by running: library(RGtk2) This will notice the missing GTK and prompt you to install it. Choose "Install GTK+" when prompted, it might take a few minutes to install. Afterwards it will likely still complain (restart required).
@indiejoseph
indiejoseph / docker-compose.yaml
Last active April 27, 2023 23:58
Docker compose for Home Assistant
version: "3"
services:
homeassistant:
container_name: homeassistant
image: homeassistant/home-assistant:latest
restart: unless-stopped
volumes:
- ./homeassistant/config:/config
- /etc/localtime:/etc/localtime:ro
ports:
@jastill
jastill / gist:044c6d2adde34d1e4ff045e0ef4d8042
Last active November 7, 2021 15:04
SAP ABAP Platform Docker commands
## Install and start
docker run --stop-timeout 3600 -i --name a4h -h vhcala4hci -p 3200:3200 -p 3300:3300 -p 8443:8443 -p 30213:30213 -p 50000:50000 -p 50001:50001 store/saplabs/abaptrial:1909 -agree-to-sap-license -skip-hostname-check -skip-limits-check
## Start
docker start -ai a4h
## Shutown requires more than standard 10 seconds
docker stop --time 7200 a4h