- using
pkgutil
# list all your installed packages
pkgutil --pkgs
# show your package info
pkgutil --pkg-info
The layout of keyboards varies per country, with some countries having multiple | |
common layouts. Please select the country of origin for the keyboard of this | |
computer. | |
1. Afghani 48. Irish | |
2. Albanian 49. Italian | |
3. Amharic 50. Japanese | |
4. Arabic 51. Japanese (PC-98xx Series) | |
5. Arabic (Morocco) 52. Kazakh | |
6. Arabic (Syria) 53. Khmer (Cambodia) |
#!/usr/bin/env bash | |
# | |
# Author: Stefan Buck | |
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447 | |
# | |
# | |
# This script accepts the following parameters: | |
# | |
# * owner | |
# * repo |
# Navigate to AVD | |
cd ~/.android/avd/<device dir> | |
# Delete old image | |
#rm userdata-qemu.* | |
# Re-size the images | |
e2fsck -f userdata-qemu.img | |
resize2fs userdata-qemu.img 512M | |
e2fsck -f userdata.img |
$ tns doctor --log trace | |
Loading extensions. | |
execFile: /Users/user/Library/Android/sdk/platform-tools/adb "help" | |
Exec uname -a | |
stdout: Darwin Mac.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64 | |
stderr: | |
Exec npm -v | |
stdout: 5.6.0 | |
$ tns doctor --log trace | |
Loading extensions. | |
execFile: /Users/user/Library/Android/sdk/platform-tools/adb "help" | |
Exec uname -a | |
stdout: Darwin Mac.local 16.7.0 Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64 x86_64 | |
stderr: | |
Exec npm -v | |
stdout: 5.6.0 | |
#!/bin/bash | |
find . -type f -not -name ".*" -print0 | while read -d $'\0' file; do | |
echo $file | |
level=$(ffmpeg -y -nostdin -i $file -af "volumedetect" -vn -sn -dn -f null /dev/null 2>&1 | grep max_volume | sed -n 's/.*max_volume: \([^ ]*\) .*/\1/p') | |
gain=$(bc -l <<< "-($level)") | |
echo "${gain}dB" | |
ffmpeg -y -nostdin -loglevel panic -i $file -af "volume=${gain}dB" temp.mp3 | |
rm $file | |
mv temp.mp3 $file | |
done |
#!/bin/bash | |
mkdir temp | |
while read -d $'\0' file; do | |
file=$(echo $file | sed -n 's/\.\/\(.*\)/\1/p') | |
#echo $file | |
#continue | |
ffmpeg -i $file -y -nostdin -vf vidstabdetect=stepsize=6:shakiness=8:accuracy=9:result=transform_vectors.trf -f null - | |
ffmpeg -i $file -y -nostdin -vf vidstabtransform=input=transform_vectors.trf:zoom=1:smoothing=30,unsharp=5:5:0.8:3:3:0.4 -vcodec libx264 -preset slow -tune film -crf 18 -acodec copy temp/$file | |
done < <(find . -not -name ".*" -name "*.mp4" -type f -print0) | |
rm transform_vectors.trf |
#!/usr/bin/python | |
import requests | |
from lxml import html | |
import re | |
from random import randint | |
from time import sleep | |
import sys | |
import random | |
import fake_useragent |
#!/usr/bin/python | |
import requests | |
from lxml import html | |
import re | |
from random import randint | |
from time import sleep | |
import sys | |
import random |