Verify Permissions
diskutil verifyPermissions /
Repair Permissions
diskutil repairPermissions /
(function(global){ | |
"use strict"; | |
function constEnumPropValueDesc(v){ | |
return { | |
value: v, | |
enumerable: true, | |
configurable: false, | |
writable: false | |
}; |
$ uname -r
for f in /usr/share/figlet/* | |
do | |
fs=$(basename $f) | |
fname=${fs%%.tlf} | |
toilet -f $fname $fname | |
done |
Build FFmpeg and libva with decode and encode hardware acceleration on an Intel-based validation testbed:
Build platform: Ubuntu
Install baseline dependencies first
sudo apt-get -y install autoconf automake build-essential libass-dev libtool pkg-config texinfo zlib1g-dev libva-dev cmake mercurial libdrm-dev libvorbis-dev libogg-dev git libx11-dev libperl-dev libpciaccess-dev libpciaccess0 xorg-dev
Then add the Oibaf PPA, needed to install the latest development headers for libva:
These commands generate and use private keys in unencrypted binary (not Base64 “PEM”) PKCS#8 format. The PKCS#8 format is used here because it is the most interoperable format when dealing with software that isn't based on OpenSSL.
OpenSSL has a variety of commands that can be used to operate on private
key files, some of which are specific to RSA (e.g. openssl rsa
and
openssl genrsa
) or which have other limitations. Here we always use
#!/bin/bash | |
# heavily derived from: https://gist.github.com/tacofumi/3041eac2f59da7a775c6 | |
# I mainly simplifed the title generation and made it automatically create a path | |
echo $(date) | |
title=$(makemkvcon -r info |grep "DRV:0" | sed -E 's/.+,"(.+)","\/dev\/.+"$/\1/') | |
if [[ -z $title ]]; then | |
echo "Couldn't set the title - No disk found" |
by default,openwrt do not allow ssh access from wan, here are two method to change that: | |
1.login into your wrt from a lan host.issue the following command: | |
iptables -F | |
the command "flush away" all the firewall rules,including the one that rejects ssh request from wan. | |
now you can try ssh from anywhere. | |
aware that the firewall deactivation leads to highly security risk.and after the wrt restarts ,all default firewall configuration comes back.you hava to "flush" the rules once again. |
Constant | Wrapper function | Codec_ID | Extension | Extension alt. | Python dict | |
---|---|---|---|---|---|---|
MKV_A_AC3 | xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital (AC-3)"); | A_AC3 | ac3 | 'A_AC3': 'ac3' | ||
MKV_A_EAC3 | xtr_base_c(new_codec_id, new_tid, tspec,"Dolby Digital Plus (E-AC-3)"); | A_EAC3 | eac3 | 'A_EAC3': 'eac3' | ||
A_MPEG/L* | xtr_base_c(new_codec_id, new_tid, tspec,"MPEG-1 Audio Layer 2/3"); | A_MPEG/L2 | mp2 | 'A_MPEG/L2': 'mp2' | ||
A_MPEG/L3 | mp3 | 'A_MPEG/L3': 'mp3' | ||||
MKV_A_DTS | xtr_base_c(new_codec_id, new_tid, tspec,"Digital Theater System (DTS)"); | A_DTS | dts | 'A_DTS': 'dts' | ||
MKV_A_PCM | xtr_wav_c(new_codec_id, new_tid, tspec); | A_PCM/INT/LIT | wav | 'A_PCM/INT/LIT': 'wav' | ||
MKV_A_PCM_BE | xtr_wav_c(new_codec_id, new_tid, tspec); | A_PCM/INT/BIG | wav | 'A_PCM/INT/BIG': 'wav' | ||
MKV_A_FLAC | xtr_flac_c(new_codec_id, new_tid, tspec); | A_FLAC | flac | ogg | 'A_FLAC': 'flac' | |
MKV_A_ALAC | xtr_alac_c(new_codec_id, new_tid, tspec); | A_ALAC | caf | m4a | 'A_ALAC': 'caf' |