An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
C-M-f | sp-forward-sexp |
C-M-b | sp-backward-sexp |
| |
; | |
; REQUIRED | |
; | |
ytdl.Path := "D:\CLI\youtube" | |
; Path of yt-dlp.exe | |
; |
# The current manual is here: | |
# https://cran.r-project.org/web/packages/ctsem/vignettes/hierarchicalmanual.pdf | |
# A few blog posts with examples are here: https://cdriver.netlify.app/ | |
# Here's a bivariate panel example script: | |
library(ctsem) | |
data(AnomAuth) | |
longdat <- ctDeintervalise(ctWideToLong(AnomAuth,Tpoints = 5,n.manifest = 2)) |
<%* | |
/* | |
# Hypothes.idian a templater script for retrieving annotations from Hypothes.is | |
Dev: TfTHacker https://twitter.com/TfTHacker | |
# Prerequisites: | |
+ Templater plugin by https://github.com/SilentVoid13/Templater | |
+ Free Hypothes.is developer token from: https://hypothes.is/account/developer | |
+ This script will prompt you for his token and save it to a file called "hypothesis config.md" | |
+ This file store your configuration and can be located any where in your vault. |
#' Restart RStudio | |
#' | |
#' @id 6 | |
#' @interactive | |
usethis:::restart_rstudio | |
#' Go to Source File Location | |
#' | |
#' @description Navigate to current source file in Files pane | |
#' @id 1 |
# --------------------------------------- | |
# untidy data | |
# --------------------------------------- | |
# this dataset is a sample of the kind of data that might appear in the wild, | |
# particularly when dealing with government data, | |
# particularly when trying to convert an output table or individual report | |
# back into a raw data format that can be analyzed. | |
# in these test datasets, discrete observations are spread out across multiple rows. |
#NoEnv | |
#SingleInstance force | |
SendMode Input | |
DetectHiddenWindows, on | |
SetWinDelay, 0 | |
#`:: | |
terminal := WinExist("ahk_exe WindowsTerminal.exe") | |
if (terminal) | |
{ |
An animated cheatsheet for smartparens using the example configuration specified here by the smartparens author. Inspired by this tutorial for paredit.
C-M-f | sp-forward-sexp |
C-M-b | sp-backward-sexp |
import os | |
import os.path as op | |
from pathlib import Path | |
import shutil | |
import subprocess | |
import tempfile | |
from IPython.lib.latextools import genelatex | |
synclient VertScrollDelta=-60 HorizScrollDelta=-60 | |
synclient PalmDetect=1 PalmMinZ=100 PalmMinWidth=7 | |
synclient RightButtonAreaTop=0 RightButtonAreaLeft=0 | |
synclient CoastingFriction=75 | |
xinput set-prop "$TOUCHPAD" 'Device Accel Profile' 2 | |
xinput set-prop "$TOUCHPAD" 'Device Accel Constant Deceleration' 25 | |
xinput set-prop "$TOUCHPAD" 'Device Accel Velocity Scaling' 10000 | |
xinput set-prop "$TRACKPOINT" 'libinput Natural Scrolling Enabled' 1 |
install.packages('ctsem') | |
library(ctsem) | |
#generate data (columns of drift matrix 'cause' rows) | |
genmodel <- ctModel(n.manifest=3,n.latent=3,LAMBDA=diag(3),Tpoints=10, | |
DRIFT=matrix(c( | |
-.3, .1,0, | |
0,-.3,.1, | |
0,0,-.3), nrow=3, ncol=3), | |
DIFFUSION=diag(1,3)) |