A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| <# | |
| .SYNOPSIS | |
| Converts Mermaid diagram code to SVG with a text-based UI | |
| .DESCRIPTION | |
| This PowerShell script provides a menu-driven interface to convert Mermaid diagram code to SVG files | |
| using either the Mermaid CLI (if installed) or the Mermaid Live Editor API. | |
| .PARAMETER OutputPath | |
| Path to save the SVG file (default: current directory) | |
| .EXAMPLE | |
| .\mermaid_to_svg.ps1 |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
| # Set a seed | |
| set.seed(500) | |
| library(MASS) | |
| data <- Boston | |
| # Check that no data is missing | |
| apply(data,2,function(x) sum(is.na(x))) | |
| # Train-test random splitting for linear model |
| # A method for modifying only select off-diagonal items in a matrix | |
| # From "Thierry" and "Ben Bolker" | |
| # At http://stackoverflow.com/a/11759744/479554 | |
| # A sample matrix | |
| size <- 6 | |
| mat <- matrix(seq_len(size ^ 2), ncol = size) | |
| print(mat) | |
| # A companion matrix that indicates how "off" a diagonal is: |
Download the NeverWare's ChromeOS build from http://www.neverware.com/freedownload
Extract the *.bin.zip
Convert it to VDI. vboxmanage convertdd chromiumos_image.bin chromiumos_image.vdi
mv chromiumis_image.vdi C:\t\v\chromeos\
| fread(sprintf("bzcat %s | tr -d '\\000'", filename)) |
| <NotepadPlus> | |
| <UserLang name="Stata" ext="do ado" udlVersion="2.1"> | |
| <Settings> | |
| <Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="2" decimalSeparator="0" /> | |
| <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="yes" Keywords8="no" /> | |
| </Settings> | |
| <KeywordLists> | |
| <Keywords name="Comments">00// 00* 00/// 01 02 03/* 04*/</Keywords> | |
| <Keywords name="Numbers, prefix1"></Keywords> | |
| <Keywords name="Numbers, prefix2"></Keywords> |
| #!/bin/sh | |
| # onedrive-ubu.sh | |
| # A BASH script to set up OneDrive integration with GNOME on Ubuntu | |
| # Copyright (C) 2018 Garrett Mills ([email protected]) | |
| # This software is licensed under the MIT License. | |
| # This sofware is provided without warranty or even any implied intent of purpose. | |
| # | |
| # OnedriveD: https://github.com/xybu/onedrived-dev | |
| # |
| --- | |
| title: "Effect of compression type and file complexity on saveRDS size and speed" | |
| author: "David Robinson" | |
| date: "April 20, 2015" | |
| output: html_document | |
| --- | |
| ```{r echo = FALSE} | |
| knitr::opts_chunk$set(cache = TRUE, message = FALSE) | |
| ``` |