layout | title | description | date | categories | |||
---|---|---|---|---|---|---|---|
post |
Redditnet homepages |
vive le smol web |
2024-04-28 |
|
Long live the small web. This is just a bunch of links to the prolific and never updated websites
# https://askubuntu.com/questions/15832/how-do-i-get-the-cpu-temperature | |
paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) \ | |
| column -s $'\t' -t \ | |
| sed 's/\(.\)..$/.\1°C/' |
#!/bin/sh | |
# Create a text file titled "frenz" in the same directory, with one callsign per line. | |
# | |
# This uses ntfy.sh for push notifications -you will need to create a "topic" on there and update | |
# "INSERT_YOUR_TOPIC_HERE" below to your topic name. | |
tail -f ~/.local/share/WSJT-X/ALL.TXT -f ~/.local/share/JS8Call/ALL.TXT | grep -f frenz --line-buffered | awk 'NR==FNR{pat[$0];next}{for(term in pat){if($9~term){system("curl -d " $9 "_heard_on_" $2 $4 " ntfy.sh/INSERT_YOUR_TOPIC_HERE") }}}' frenz - | |
# Query the time-series enrollment file | |
library(dplyr) | |
load(datafile) #This loads the datafile (db) | |
query_day <- function(db, cutoff_date) { | |
#This function returns student enrolment data as of the 'cutoff_date' | |
#Remove all data after the cutoff date | |
db <- filter(db, |
Select | |
P.STUDENT_NO, | |
P.PERSON_ID, | |
P.PREFERRED_NAME_UPPER, | |
R.school_year, | |
R.GRADE, | |
R.SCHOOL_CODE, | |
P.BIRTH_DATE | |
FROM |
--- | |
title: "R FOI" | |
output: html_notebook | |
--- | |
Create a unified data set by aligning variables and combining | |
'df4' and 'df' | |
```{r} | |
library(tidyverse) | |
secondary <- df %>% select(grade, SchoolName = SchoolName_ED, |
I hereby claim:
To claim this, I am signing this object:
Installed Debian stable from netinstall on a USB stick created with unetbootin. | |
Selected btrfs on a raw partitian, and a small swap partitian. I chose | |
to try btrfs out for the first time on this system because I want compression | |
(8Gb internal SSD). I also want the parity checks so that, hopefully, the system | |
can run for years without any corruptuion of any of the important files. I figured | |
it would be a good first use because I can easily do a bare-metal backup of the SSD, | |
being that it's only 8gb, to another machine. | |
Deselected standard desktop, and just installed SSH and standard utilities. |
###Git Git is Free Software that runs on your computer and takes snapshots of files in a directory, stores a well documented history, and permits collaboration and syncing (optionally with a service like Github). The basic git software runs from the command line, but there are graphical versions available, including one provided by Github.
Git can manage any type of file, but shines with small-ish sized, rapidly changing files (i.e., data files more than a few dozen MB should not be stored in git). Many of it's powerful features work best with plaintext files, so it is perfect for managing projects with source code and plain text documents (including HTML or other markup files). Documents written in word processors can also be versioned as well, but for detailed history, you will want to use an integrated "track changes" feature.
Using version control