start new:
tmux
start new with session name:
tmux new -s myname
| #!/path/2/Rscript | |
| # License: CC0 (just be nice and point others to where you got this) | |
| # Author: Robert M Flight <[email protected]>, github.com/rmflight | |
| # | |
| # This is a post-commit hook that after a successful commit subsequently increments the package version in DESCRIPTION | |
| # and commits that. Analogous to the pre-commit at https://gist.github.com/rmflight/8863882, but useful if you only have | |
| # good reasons for not doing it on the pre-commit. | |
| # | |
| # To install it, simply copy this into the ".git/hooks/post-commit" file of your git repo, change /path/2/Rscript, and make |
This script makes use of the Numpad to control media players and volume on your system.
.ahk scriptCompile ScriptThere's a more compelling illustration here: https://github.com/mdsumner/dputtruncat/blob/master/README.md
roms_names <- c("xi_rho", "eta_rho", "s_rho", "ocean_time", "s_w", "xi_u",
"eta_u", "xi_v", "eta_v", "tracer", "boundary", "xi_psi", "eta_psi")
axes_summary <- structure(c(1443L, 392L, 31L, 31L, 32L, 1442L, 392L, 1443L, 391L,
2L, 4L, 1442L, 391L), .Names = roms_names)
dput(axes_summary)Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
| Directive | Description |
|---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |
| ## źródło: https://wiadomosci.onet.pl/kraj/sprawdzamy-przedwyborcze-sondaze-ktore-badanie-przewidzialo-wynik-wyborow/4x4qpve | |
| ### pakiety | |
| library(tidyverse) | |
| library(rvest) | |
| ### sciagamy dane | |
| read_html("https://wiadomosci.onet.pl/kraj/sprawdzamy-przedwyborcze-sondaze-ktore-badanie-przewidzialo-wynik-wyborow/4x4qpve") %>% | |
| html_table(header = TRUE, dec = ",") %>% | |
| .[[1]] %>% |
| library("readr") | |
| library("dplyr") | |
| library("ggplot") | |
| library("plotly") | |
| ## Rozpakuj pliki z | |
| # "https://wybory.gov.pl/prezydent2025/data/csv/protokoly_po_obwodach_csv.1748955031.zip" | |
| # "https://wybory.gov.pl/prezydent2025/data/csv/protokoly_po_obwodach_w_drugiej_turze_csv.1748955031.zip" | |
| # więcej: https://wybory.gov.pl/prezydent2025/pl/dane_w_arkuszach |