apt-get install mkisofs
mkdir /tmp/custom_iso
<?php | |
/** | |
* Sealed class can not be created directly | |
*/ | |
class Seal | |
{ | |
private function __construct() | |
{ | |
// private ctor prevents from direct creation of instance | |
} |
Simple example on how to update the php-fpm.conf file for a Symfony application.
It should be used for the kickoff-docker-php.
upstream p1 { | |
server foo.com; | |
} | |
upstream p2 { | |
server bar.com; | |
} | |
# Select upstream based on the value of query parameter `product` |
10-Bit H.264 | |
For all those who haven’t heard of it already, here’s a quick rundown about the | |
newest trend in making our encodes unplayable on even more systems: So-called | |
high-bit-depth H.264. So, why another format, and what makes this stuff | |
different from what you know already? | |
First off: What is bit depth? | |
In short, bit depth is the level of precision that’s available for storing color | |
information. The encodes you’re used to have a precision of 8 bits (256 levels) |
#!/bin/sh -e | |
# | |
# NOTE: Since Docker 1.10 (February 4, 2016), it has been possible to configure the | |
# Docker daemon using a JSON config file. On Linux, this file is normally located at | |
# /etc/docker/daemon.json. You should use this JSON config method if you are running | |
# a version of Docker that is at least 1.10! | |
# Here is an example configuration that sets the docker0 bridge IP to 192.168.254.1/24: | |
# { | |
# "bip": "192.168.254.1/24" | |
# } |
Agnes en_US # Isn't it nice to have a computer that will talk to you? | |
Albert en_US # I have a frog in my throat. No, I mean a real frog! | |
Alex en_US # Most people recognize me by my voice. | |
Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana. | |
Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst. | |
Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne. | |
Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme. | |
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train. | |
Bahh en_US # Do not pull the wool over my eyes. | |
Bells en_US # Time flies when you are having fun. |
#!/bin/bash | |
echo "=============================================" | |
echo "== Telegram Script Installer v 0.1 ==" | |
echo "== ==" | |
echo "== by Jalcaldea ==" | |
echo "=============================================" | |
echo "Downloading necesary files..." |
#!/bin/bash | |
# Source files so we can announce stuff | |
. /mnt/apps/scripts/setenv.sh | |
. /mnt/apps/scripts/hipchat_notify.sh | |
if [ $(pidof -x deploy_if_new.sh | wc -w) -gt 2 ]; then | |
echo "$(date +"%Y-%m-%d %H:%M:%S %Z") Cowardly exiting as deploy_if_new is already running" | |
exit -1 | |
fi |