Create a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.targetCreate a template service file at /etc/systemd/system/[email protected]. The template parameter will correspond to the name
of target host:
[Unit]
Description=Setup a secure tunnel to %I
After=network.target| --- | |
| - name: install PostgreSQL | |
| apt: pkg={{ item }} update_cache=yes state=present | |
| sudo: yes | |
| tags: postgres | |
| with_items: | |
| - postgresql-{{ postgresql_version }} | |
| - postgresql-client-{{ postgresql_version }} | |
| - postgresql-contrib-{{ postgresql_version }} | |
| - libpq-dev |
| <?php | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
| */ | |
| class VideoStream | |
| { | |
| private $path = ""; |
| <?php | |
| /** | |
| * CIDR.php | |
| * | |
| * Utility Functions for IPv4 ip addresses. | |
| * Supports PHP 5.3+ (32 & 64 bit) | |
| * @author Jonavon Wilcox <[email protected]> | |
| * @revision Carlos Guimarães <[email protected]> | |
| * @version Wed Mar 12 13:00:00 EDT 2014 | |
| */ |
| ffprobe -v quiet -print_format json -show_format -show_streams "lolwut.mp4" > "lolwut.mp4.json" |
| <?php | |
| namespace AppBundle\Doctrine; | |
| use Doctrine\DBAL\Connection; | |
| use Doctrine\DBAL\Driver\PDOPgSql\Driver as PDOPgSqlDriver; | |
| use Doctrine\ORM\NativeQuery; | |
| class PgSqlNativeQueryCursor | |
| { |
| <?php | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\OptionsResolver\OptionsResolver; | |
| class FieldsetType extends AbstractType | |
| { | |
| public function configureOptions(OptionsResolver $resolver) | |
| { | |
| $resolver->setDefault('inherit_data', true); |
| CREATE USER 'buhview'@'%' IDENTIFIED BY '123456'; | |
| GRANT USAGE ON *.* TO 'buhview'@'%'; | |
| GRANT SELECT ON TABLE migrants.view_acts TO 'buhview'@'%'; | |
| FLUSH PRIVILEGES; |
| docker run --rm -v /root/stat2018-12-03:/web-logs:ro -v awstats-db:/var/lib/awstats \ | |
| -e LOG_FORMAT="%host %other %logname %time1 %methodurl %code %bytesd" \ | |
| openmicroscopy/awstats /web-logs/access.log | |
| 78.40.217.219 - - [14/Mar/2016:15:10:14 +0300] "POST /index.php?t=1457957411 HTTP/1.1" 200 6894 | |
| https://github.com/openmicroscopy/awstats-docker | |
| http://www.internetofficer.com/awstats/log-format/ |