Use fio to benchmark disk.
fio --randrepeat=1 --ioengine=libaio --direct=1 \
--gtod_reduce=1 --name=test --bs=4k \
--iodepth=64 --readwrite=randrw \
--rwmixread=75 --size=1G \
--filename=/mnt/path/to/test/target/deletemeUse fio to benchmark disk.
fio --randrepeat=1 --ioengine=libaio --direct=1 \
--gtod_reduce=1 --name=test --bs=4k \
--iodepth=64 --readwrite=randrw \
--rwmixread=75 --size=1G \
--filename=/mnt/path/to/test/target/deletemeInstall WireGuard via whatever package manager you use. For me, I use apt.
$ sudo add-apt-repository ppa:wireguard/wireguard
$ sudo apt-get update
$ sudo apt-get install wireguardMacOS
| FRAMERATE:=12 | |
| shoyo-spike.gif: clip-a.gif clip-b.gif | |
| ffmpeg -i clip-a.gif -i clip-b.gif \ | |
| -filter_complex 'concat=n=2:v=1:a=0,scale=480:-1' \ | |
| -r ${FRAMERATE} -y $@ | |
| clip-a.gif: | |
| ffmpeg -ss 06:08 -to 06:21.5 -i source-clip.mp4 -r ${FRAMERATE} -y $@ |
| WITH inputs AS ( | |
| SELECT | |
| row_number() over () as idx, | |
| letter | |
| FROM unnest(ARRAY['a', 'b', 'c', 'd']) letters(letter) | |
| ) | |
| SELECT | |
| a.letter, | |
| b.letter | |
| FROM inputs a, inputs b |
| function sayLastChild(selector) { | |
| // Select the node that will be observed for mutations | |
| const targetNode = document.querySelector(selector); | |
| // Options for the observer (which mutations to observe) | |
| const config = { attributes: true, childList: true, subtree: true }; | |
| // Callback function to execute when mutations are observed | |
| const callback = function(mutationsList, observer) { | |
| // Use traditional 'for loops' for IE 11 |
| id | color | meta | |
|---|---|---|---|
| 1 | red | {"x":123} | |
| 2 | green | {"y":456} | |
| 3 | blue | {"x":789,"y":234} |
| src_dir = sources | |
| dist_dir = dist | |
| cbr_files = $(wildcard $(src_dir)/*.cbr) | |
| pdf_files = $(cbr_files:$(src_dir)/%.cbr=$(dist_dir)/%.pdf) | |
| image_dir = .images-$< | |
| all: ${pdf_files} | $(dist_dir) | |
| @echo Done | |
| clean: |
| // ==UserScript== | |
| // @name Remove Ads | |
| // @namespace https://ddrscott.github.io/remove_ads | |
| // @version 0.5 | |
| // @description Removes elements that are thought to be ads. | |
| // @author Scott Pierce | |
| // @match https://*/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |