This file contains 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
Installing avconv with all dependencies for video conversion/encoding: | |
(macOS) brew reinstall libav --with-vpx --with-vorbis --with-libvorbis --with-vpx --with-vorbis --with-theora --with-libogg --with-libvorbis --with-gpl --with-version3 --with-nonfree --with-postproc --with-libaacplus --with-libass --with-libcelt --with-libfaac --with-libfdk-aac --with-libfreetype --with-libmp3lame --with-libopencore-amrnb --with-libopencore-amrwb --with-libopenjpeg --with-openssl --with-libopus --with-libschroedinger --with-libspeex --with-libtheora --with-libvo-aacenc --with-libvorbis --with-libvpx --with-libx264 --with-libxvid | |
Start encoding worker: | |
php app/console gearman:worker:run src/Core/VideoBundle/Worker/EncodeVideoWorker.php | |
Example of manually encoding an uploaded video: | |
avconv -i /usr/local/var/www/htdocs/Xys/xcorp/web/upload/video/encoded/e6/e0/e6e0082c-a38b-4984-93f6-15bc895f057c -acodec libvorbis -y /usr/local/var/www/htdocs/Xys/xcorp/web/upload/video/encoded/e6/e0/e6e0082c-a38b-4984-93f6-15bc895f057c.webm |
This file contains 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 7.1: | |
brew install php71 --with-httpd24 --with-pdo-oci | |
brew install --build-from-source php71-imagick php71-apcu php71-gearman php71-igbinary php71-mcrypt php71-mongodb php71-opcache php71-pdo-dblib php71-pdo-pgsql php71-redis | |
PHP 5.6: | |
brew install php56 --with-httpd24 | |
brew install --build-from-source php56-imagick php56-apcu php56-gearman php56-igbinary php56-mcrypt php56-mongo php56-mongodb php56-opcache php56-pdo-dblib php56-pdo-pgsql php56-redis | |
PHP 5.3: | |
brew install php53 --with-httpd24 --with-postgresql |
This file contains 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. Go to system preferences > sharing. | |
2. Enable remote login. | |
3. Execute the following command on terminal: ssh -L lan_ip:lan_port:redirect_ip:redirect_port -N 127.0.0.1 | |
4. Example: ssh -L 192.168.200.120:10000:mma-hmg:80 -N 127.0.0.1 |
This file contains 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
Prerequisites: | |
1. PECL installed: https://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/ | |
PHP 5.6 | |
1. Go to http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html | |
2. Click "Instant Client for Mac OS X (Intel x86) (32-bit and 64-bit)" | |
3. Download instantclient-basic-macos.* | |
4. Download instantclient-sqlplus-macos.* | |
5. Download instantclient-sdk-macos.* | |
6. Extract all packages. |
This file contains 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
f8bbcdcf0a30c780e516619fd88893d1 | |
8fc758b5c164904d1292b0c41ebe9a49 | |
c6f2c339da2677a780f50496183b4d76 | |
8d86dca3a0e95a630f4cc3040883b57d | |
de7be52632359b65b00c5189448822c7 | |
a333c413fa0fe98c0ac6864b1a3be4e8 | |
9ddfda961f5f84cb437195677bae7753 | |
a8cab95077cf66c58473f07130983e83 |
This file contains 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
<html> | |
<body> | |
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
<script type="text/javascript"> | |
function indexes(source, find) { | |
var result = []; | |
for (i = 0; i < source.length; ++i) { | |
// If you want to search case insensitive use | |
// if (source.substring(i, i + find.length).toLowerCase() == find) { |
This file has been truncated, but you can view the full file.
This file contains 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º: CuervO | Contributions: 6 | Views: 2413373 | Answers: 8342 | |
Contributions: | |
FilterScript: | |
Advanced Inventory/Object Managament Script (DayZ Themed) [SQL;Dynamic;Beta] | Answers: 60 | Views: 24399 | |
Spotlight for Helicopters [0.3c] | Answers: 32 | Views: 14345 | |
Live Map Editor [DINI/ZCMD] | Answers: 29 | Views: 10998 | |
Nanosuit | Answers: 6 | Views: 1490 | |
GameMode: | |
[GM] Raven's Roleplay [2.5b] | Answers: 8069 | Views: 2324131 |
This file contains 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
/** | |
* How to run: | |
* | |
* 1. Open Google Chrome. | |
* 2. Open SA-MP forums url (http://forum.sa-mp.com/forumdisplay.php) | |
* 3. Open browser's console (Windows: ctrl + shift + i, MacOS: command + shift + i). | |
* 4. Copy & Paste this script in the console. | |
* 5. Hit enter to run the code. | |
* 6. Follow instructions shown. | |
* |
This file contains 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
{ versions: { core: '0.3 beta', net: 1 }, | |
config: | |
{ maxplayers: 50, | |
name: '[:.:.Brazuca\'s Server.:.:] Minigames', | |
gamemode: 'minigames', | |
streamdistance: 500, | |
announce: true, | |
port: 22005, | |
password: 'changeme', | |
'max-ping': 200, |
This file contains 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
version: "3" | |
services: | |
rediscollab: | |
image: padraoix/redis | |
environment: | |
REDIS_TYPE: master | |
REDIS_CLUSTER: 'no' | |
deploy: |