This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Talahoun-Barahim’s Fire Rap: | |
| AfD & Russland’s Terror Game | |
| Yo, Talahoun-Barahim spittin’ truth, no lie, | |
| AfD and Russia schemin’, watch democracy die! | |
| 150K crimes, Ukraine’s blood on the floor, | |
| Putin’s war crimes, AfD opens the door! | |
| Verse 1: The Facts Hit Hard | |
| Krah and Bystron, cash from Moscow they grab, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # patch the server string away | |
| perl -pi -e 's/nginx\/1\.16\.1/xxxxx\/0\.00\.0/g' /sbin/nginx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %global _hardened_build 1 | |
| %global debug_package %{nil} | |
| # https://github.com/varnishcache/varnish-cache/issues/2269 | |
| %global _use_internal_dependency_generator 0 | |
| %global __find_provides %{_builddir}/%{name}-%{version}/find-provides %__find_provides | |
| # Package scripts are now external | |
| # https://github.com/varnishcache/pkg-varnish-cache | |
| %global commit1 ef90bd19d04bd31a10d58ba4c12a78495c3c3bc5 | |
| %global shortcommit1 %(c=%{commit1}; echo ${c:0:7}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prepare builds | |
| dnf install mock | |
| adduser mockbuild | |
| usermod -a -G mock mockbuild | |
| # rebuild collectd | |
| dnf install epel-release | |
| dnf config-manager --set-enabled PowerTools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # default credentials and account | |
| /siridb-admin_1.2.0.bin -u sa -p siri get-accounts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1) install https://github.com/billziss-gh/winfsp | |
| # 2) install https://github.com/billziss-gh/sshfs-win | |
| # 3) mount remote host now | |
| net use X: \\sshfs\[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name: goodby-world | |
| Version: 1 | |
| Release: 1 | |
| Summary: Next to most simple RPM package | |
| License: FIXME | |
| %description | |
| This is my second RPM package, which does nothing. | |
| %prep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| yum -y install mock | |
| adduser mockbuild | |
| usermod -a -G mock mockbuild | |
| su - mockbuild | |
| mock -r epel-7-x86_64 --init | |
| wget https://packagecloud.io/varnishcache/varnish62/el/7/SRPMS/varnish-6.2.0-1.el7.src.rpm | |
| # rebuild without modification | |
| mock -r epel-7-x86_64 --target=x86_64 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ffmpeg_c112 { # create content for acer c112 pico beamer | |
| m=$(dirname "$1") | |
| n=$(basename "$1" | sed 's/mp4$//') | |
| dir=/run/media/bgom/FCA7-F289/avi.c112 | |
| ffmpeg -i "${m}/${n}mp4" -c:v libx264 -profile:v baseline -c:a libmp3lame -b:a 128k -vf scale=720:406 -r 30 -pix_fmt yuv420p -ar 44100 "${dir}/${n}avi" | |
| } | |
| # Target: Odroid Go Ultra | |
| scale=854:480 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The Linux version | |
| VDEV=$(v4l2-ctl --list-devices | grep -A1 -i mirabo | grep /dev | sed 's/\s//g') | |
| ADEV=$(grep "Capture.*Mira" /proc/asound/cards | cut -f2 -d" ") | |
| TS=$(date +%Y%m%d_%H%M%S) | |
| nohup ffmpeg -f alsa -ac 2 -i hw:${ADEV=},0 -f video4linux2 -i ${VDEV} -acodec ac3 -ab 128k -f matroska -movflags frag_keyframe -s 1920x1080 -vcodec libx264 -preset ultrafast -qp 16 ${TS}.mkv & | |
| sleep 5; | |
| vlc ${TS}.mkv | |
| killall ffmpeg | |
| echo ${TS}.mkv |
NewerOlder