Glossary:
- md: multiple devices
command | description |
---|---|
cat /proc/mdstat |
show status of all raids |
mdadm --detail /dev/md0 |
detailed status of raid md0 |
/* | |
* dmx_receiver.c | |
* | |
* Created: 2014/07/15 19:43:52 | |
* Author: kamiya | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include "dmx_receiver.h" |
Auth and copy token at https://irc.gitter.im/.
Ignore the /PASS
thing, it doesn't work in weechat.
/server add gitter irc.gitter.im -ssl -ssl_verify -ssl_dhkey_size=1024 -password=<REPLACE_WITH_YOUR_TOKEN>
/connect gitter
# Rate in frames per second. | |
RATE=30 | |
# Duration in seconds. | |
DURATION=300 | |
# Video size options: https://www.ffmpeg.org/ffmpeg-utils.html#Video-size | |
SIZE=hd1080 | |
OUTFILE=avsync_${SIZE}_${RATE}fps_${DURATION}s.webm | |
~/bin/ffmpeg -f lavfi -i "sine=frequency=1:beep_factor=800:duration=${DURATION}" \ | |
-f lavfi -i "testsrc=duration=${DURATION}:size=${SIZE}:rate=${RATE}" \ |
#EXTM3U | |
#EXTINF:-1,Digitally Imported - Ambient | |
http://pub1.diforfree.org:8000/di_ambient_hi | |
#EXTINF:-1,Digitally Imported - Big Room House | |
http://pub1.diforfree.org:8000/di_bigroomhouse_hi | |
#EXTINF:-1,Digitally Imported - Breaks | |
http://pub1.diforfree.org:8000/di_breaks_hi |
import sys | |
import json | |
from ansible.parsing.dataloader import DataLoader | |
try: | |
from ansible.inventory.manager import InventoryManager | |
A24 = True | |
except ImportError: | |
from ansible.vars import VariableManager |
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
#!/bin/bash | |
#no PATH, no way to accidently run any programs | |
PATH='' | |
#useful variables | |
term_height=0 | |
term_width=0 | |
term_scroll_height=0 | |
status_line_row=0 |