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
| #!/usr/bin/bash | |
| # This script will downgrade save versions file of theHunter: call of the wild | |
| # You need to put the EGS build number of the game in $from and Steam build number of the game in $to | |
| # Both version should be converted to hexadecimal little edian | |
| # The script should be in your save game folder | |
| # Use at your own risk | |
| from='\x58\x53\x21' | |
| to='\xAC\x33\x21' |
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
| #!/bin/bash | |
| if [ $# -lt 1 ] | |
| then | |
| echo "Usage: $0 <path_to_allcodec.c>" | |
| exit | |
| fi | |
| cat "$1" | grep 'extern AVCodec ff_' | sed 's/extern AVCodec ff_\(.*\);/\1/' | while read c | |
| do |
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
| #!/bin/bash | |
| if [ $# -le 0 ] | |
| then | |
| echo "Usage: $0 <db_to_fix.db>" | |
| exit 1 | |
| fi | |
| tofix=$1 |
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
| sb-impl::*default-external-format* :UTF-8 | |
| tmpdir: #P"/tmp/pgloader/" | |
| 2018-12-18T16:06:34.022000Z NOTICE Starting pgloader, log system is ready. | |
| 2018-12-18T16:06:34.048000Z INFO Starting monitor | |
| 2018-12-18T16:06:34.061000Z INFO Parsed command: | |
| LOAD database | |
| FROM '/sqlite/plex.db' | |
| INTO postgresql://plex:[email protected]:5432/plex | |
| WITH include drop, create tables, create indexes, reset sequences, |
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
| WARNING: | |
| Couldn't re-execute SBCL with proper personality flags (/proc isn't mounted? setuid?) | |
| Trying to continue anyway. | |
| sb-impl::*default-external-format* :UTF-8 | |
| tmpdir: #P"/tmp/pgloader/" | |
| 2018-12-01T15:39:21.014000Z NOTICE Starting pgloader, log system is ready. | |
| 2018-12-01T15:39:21.026000Z INFO Starting monitor | |
| 2018-12-01T15:39:21.054000Z INFO Parsed command: | |
| load database | |
| from '/sqlite/plex.db' |
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
| probe process("/usr/lib/plexmediaserver/libsqlite3.so.0").function("sqlite3_prepare_v2") { | |
| asmlinkage() | |
| int i | |
| i = 0 | |
| while (i < int_arg(3)) { | |
| printf("%s", kernel_string(pointer_arg(2) + i)); | |
| i += strlen(kernel_string(pointer_arg(2) + i)) | |
| } | |
| printf("\n") |
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
| server { | |
| listen 80; | |
| listen 443 default_server ssl; | |
| server_name myplex.com; | |
| # ssl on; | |
| ssl_certificate /etc/nginx/ssl/cert.pem; | |
| ssl_certificate_key /etc/nginx/ssl/key.pem; | |
| client_body_timeout 240m; |
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
| #Install deps | |
| apt install libgcrypt-dev libgpg-error-dev gnutls-dev libass-dev libopus-dev librtmp-dev libvorbis-dev libzvbi-dev libx264-dev yasm | |
| #Download source | |
| http://files.plexapp.com/sources/ffmpeg-2017-08.txz | |
| #Extract & Configure | |
| ./configure --prefix=/root/build/ffmpeg/build/ --disable-bzlib --disable-ffplay --disable-ffserver --disable-ffprobe --disable-avdevice --disable-schannel --disable-vda --disable-doc --pkg-config-flags=--static --enable-muxers --enable-gpl --enable-version3 --enable-gnutls --disable-hwaccels --enable-libass --enable-librtmp --disable-devices --disable-lzma --disable-iconv --disable-protocol=concat --enable-libvorbis --enable-libopus --external-decoder=h264 --disable-bsfs --enable-bsf='aac_adtstoasc,extract_extradata,dca_core,h264_mp4toannexb,hevc_mp4toannexb,vp9_superframe,vp9_superframe_split,framedrop' --enable-decoder=png --enable-decoder=apng --enable-decoder=bmp --enable-decoder=mjpeg --enable-decoder=thp --enable-decoder=gif --enable-decoder=dirac --enable-decoder=ffv1 |
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
| // Fill out your copyright notice in the Description page of Project Settings. | |
| #include "RIVR.h" | |
| #include "FFMpegSoundWave.h" | |
| UFFMpegSoundWave::UFFMpegSoundWave(const FObjectInitializer &ObjectInitializer) | |
| { | |
| bProcedural = true; | |
| bCanProcessAsync = true; | |
| bStreaming = true; |
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
| --- php-5.2.17/ext/dom/node.c 2010-05-01 14:30:38.000000000 -0400 | |
| +++ php-5.2.17-patch/ext/dom/node.c 2015-11-17 05:43:49.980000000 -0500 | |
| @@ -1950,9 +1950,17 @@ | |
| RETVAL_FALSE; | |
| } else { | |
| if (mode == 0) { | |
| +#ifdef LIBXML2_NEW_BUFFER | |
| + ret = xmlOutputBufferGetSize(buf); | |
| +#else | |
| ret = buf->buffer->use; |