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
Just set display_errors=Off in php.ini and you'll see trace only from Xdebug. |
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
country,native_name | |
Afghanistan,افغانستان | |
Albania,Shqipëria | |
Algeria,الجزائر | |
American Samoa,Amerika Sāmoa | |
Andorra,Andorra | |
Angola,Angola | |
Anguilla,Anguilla | |
Antigua and Barbuda,Antigua and Barbuda | |
Argentina,Argentina |
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
# First we cut the video in how many parts we want | |
# Step 1. cut the first part of the video and cut it to a separate file | |
ffmpeg.exe -ss 00:00:00.000 -t 00:02:18.00 -i recording-full.flv -c:v copy -c:a copy recording-full-part1.flv | |
# Step 2. cut the second part from original video | |
ffmpeg.exe -ss 00:03:47.000 -i recording-full.flv -c:v copy -c:a copy recording-full-part2.flv | |
# Step 3. create a file with your cut parts to concat into one video with these contents and name it whatever (i.e. videos.txt): | |
file 'C:\Path\To\recording-full-part1.flv' |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
include mime.types; | |
default_type application/octet-stream; | |
sendfile on; |
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 | |
class Train | |
{ | |
public function __construct(array $wagons) | |
{ | |
$this->wagons = (function (Wagon ...$wagons) { | |
return $wagons; | |
})(...$wagons); | |
} |
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
#!/bin/bash | |
git pull -p | |
# remove merged branches | |
git push origin --delete $(git branch -r --merged development | egrep -v 'master|development|release-|/wisag|WIP-file-refactoring|batch_poc|codeception-playground|delete-network-script|docker-config|es-5.6|file-refactoring|jsonweb|modifier-visitor|proper-release-114|remove-dupdevices-cmd|worker_retry|feature4' | cut -d/ -f2-) | |
# remove old braches with | |
for k in $(git branch -r | egrep -v 'master|development|release-|/wisag|WIP-file-refactoring|batch_poc|codeception-playground|delete-network-script|docker-config|es-5.6|file-refactoring|jsonweb|modifier-visitor|proper-release-114|remove-dupdevices-cmd|worker_retry|feature4'); do | |
if [ "$(git log -1 --since='1 year ago' -s $k)" == "" ]; then |