Skip to content

Instantly share code, notes, and snippets.

@ronaldlangeveld
ronaldlangeveld / gist:c3e87f94b97afc66096a40e9440df44c
Created January 4, 2018 18:39
How to add your Python bot as a startup service on your Ubuntu Server
[Unit]
Description=bot
After=network.target
[Service]
User=username
Type=idle
ExecStart=/home/user/bots/venv/bin/python3.6 /home/user/bots/botscript.py
[Install]
@marcusvolz
marcusvolz / shell_1531.R
Created March 26, 2020 09:17
Shell 1531
# The shell math model is from the paper by M.B. Cortie (1989)
# https://www.researchgate.net/publication/238757952_Models_for_mollusc_shell_shape
# Load packages
library(mathart) # devtools::install_github("marcusvolz/mathart)
library(tidyverse)
# Set parameters (see mathart::mollusc() documentation for details)
n_s <- 650L
n_t <- 2000L