I use two XTAR 16850-3500 cells and I get about 8h of active usage out of them.
sudo apt install gnome-shell gdm3
#include <ncurses.h> | |
#include <signal.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
void handle_sigint(int sig) { | |
endwin(); | |
exit(0); | |
} |
# This can take quite a long time to run | |
library(xml2) | |
library(tidyverse) | |
read_xml("apple_health_export/export.xml") -> x | |
x %>% xml_find_all(".//Record") %>% | |
xml_attrs %>% | |
bind_rows %>% |
library(tidyverse) | |
library(scico) | |
set.seed(2) | |
mu.0 <- runif(1, -2, 2) | |
sigma.0 <- runif(1, 0.1, 1) | |
samples <- rnorm(300, mean = mu.0, sd = sigma.0) | |
list( |
################################################################################ | |
# "Pipe" operator in R: %>% # | |
################################################################################ | |
# Vorbereitung | |
# Bitte einmal dieses R-Script mit "Source" ausführen, damit alles läuft. | |
# Kann sein, dass R-Studio eine Warnung anzeigt, dass ein Packet fehlt, | |
# In dem Fall ruhig bestätigen, und dann wird dplyr automatisch installiert. | |
# |
This procedure was tested on Ubuntu 23.04 but should be very similar or identical on other verions.
Note that this will likely not install the latest version of R but the one that is included in the Ubuntu package repository. Installing a newer version can be tricky since the R project doesn't always support all recent releases of major Linux distributions. For most use cases, especially for education, the slightly older version of R will be prefectly fine though.
All commands in this guide need to be run as user root
or with sudo
.
// ==UserScript== | |
// @name Test1 | |
// | |
// change the domain name to your Mastodon isntance's: | |
// @match https://strangeobject.space/* | |
// | |
// @run-at document-start | |
// @grant GM.addStyle | |
// ==/UserScript== |
// ==UserScript== | |
// @name No Doge Twitter | |
// @match https://twitter.com/* | |
// @run-at document-start | |
// @grant GM.addStyle | |
// ==/UserScript== | |
let css = ` | |
a[aria-label=Twitter] svg { display: none; } | |
div[aria-label=Loading…] { display: none; } |
# Beware! This file is rewritten by htop when settings are changed in the interface. | |
# The parser is also very primitive, and not human-friendly. | |
fields=0 48 20 17 18 38 39 40 109 110 2 46 47 49 1 | |
sort_key=49 | |
sort_direction=1 | |
hide_threads=0 | |
hide_kernel_threads=1 | |
hide_userland_threads=0 | |
shadow_other_users=0 | |
show_thread_names=0 |
#!/usr/bin/env ruby | |
require 'bundler/inline' | |
gemfile do | |
source 'https://rubygems.org' | |
gem 'dotenv' | |
gem 'httparty' | |
end |