A bookmarklet to copy the document title and page URL to the clipboard. If you select/highlight text on the web page, the text is appended to the beginning of the text.
Full version:
javascript: (
function () {
let selection = "";
Out-File long-files.txt ; cmd /c "dir z:\ /b /s /a" | ForEach-Object { if ($_.length -gt 140) {$_ | Out-File -append long-files.txt}} |
$Url = "https://localhost:44399/cron.ashx?key=xxx" | |
do{ | |
Write-Output "$(Get-Date)" | |
(Invoke-WebRequest $Url).Content | |
Write-Output "" | |
Start-Sleep -Seconds 60 | |
}while(1 -eq 1) |
# Downloaded from http://www.jjcoutts.com/medyad | |
# Coutts, J., Hayes, A. F., & Jiang, T. (2019). Easy statistical mediation analysis with distinguishable dyadic data. Journal of Communication | |
# https://doi.org/10.1093/joc/jqz034 | |
# ----------------------------------------------------------------- | |
#MEDYAD for SAS beta version 1.1; | |
#current as of 18 December 2019; | |
#Copyright 2019 by Jacob J. Coutts and Andrew F. Hayes; |
git ls-files | grep -P ".*(js|css|html|aspx|ascx|vb)" | xargs cat | wc -l |
ffmpeg -i "https://example.net/playlist.m3u8" -acodec copy -vcodec copy -absf aac_adtstoasc "output-video.mp4" |
`+` <- function(x, y) { | |
val <- sum(x, y) | |
if (val > 1000000000) { | |
paste0("Don't push it") | |
} else if (val > 100000) { | |
paste0("So you like big numbers, huh? Well, I give you a big number. How about ", val ,"? Is that good enough for you?") | |
} else { | |
paste0("That's a fucking ", val) | |
} | |
} |
library(ggdag) | |
gin_dag <- dagify(happy ~ gin_tonic, | |
brain_size ~ happy, | |
gin_tonic ~ brain_size, | |
labels = c("brain_size" = "Hjärnstorlek", | |
"gin_tonic" = "Gin & Tonic", | |
"happy" = "Glad"), | |
exposure = "gin_tonic", | |
outcome = "brain_size") %>% |
\usepackage{color,soul} | |
And this is where we \hl{highlight the text} to make it stand out. |
cd \ | |
Get-ChildItem . -Attributes Directory+Hidden -ErrorAction SilentlyContinue -Filter ".git" -Recurse |