View INSTALL
Install the `mod_fcgid` and `php-cgi` packages.
# mkdir /srv/http/fcgid-bin
# ln -s /usr/bin/php-cgi /srv/http/fcgid-bin/php-fcgid-wrapper
# mkdir /srv/http/fcgid55-bin
# ln -s /usr/bin/php55-cgi /srv/http/fcgid55-bin/php-fcgid-wrapper
Restart `httpd.service`
View generator.php
<?php
/*
* Your settings here
*/
define('DB_DSN', 'mysql:host=localhost;dbname=mydb;charset=UTF8');
define('DB_USER', 'myuser');
define('DB_PASS', 'mypass');
define('DB_TABLE', 'mytable');
define('DB_OPTIONS', [
View php53-memcached
# Maintainer: Thore Bödecker <me [at] foxxx0 [dot] de>
# Contributor: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=php53-memcached
_pkgbase="${pkgname#php53-}"
pkgver=2.2.0
pkgrel=3
pkgdesc="php53 extension for interfacing with memcached via libmemcached library"
arch=('i686' 'x86_64')
url="https://pecl.php.net/package/memcached"
View mnt-device-export.mount
[Unit]
Description=Mount Export at boot
Requires=network-online.target
After=network-online.target
[Mount]
What=device.home.lan:/srv/nfs4/export
Where=/mnt/device/export
Options=noauto,x-systemd.automount,noatime,vers=4,rsize=8192,wsize=8192
Type=nfs
View dvb_core.conf
options dvb_core dvb_powerdown_on_sleep=0 dvb_shutdown_timeout=0 dvb_demux_tscheck=0 dvb_demux_speedcheck=0
View locale.conf
LANG=en_US.UTF-8
LC_ADDRESS=nl_NL.UTF-8
LC_COLLATE=nl_NL.UTF-8
LC_CTYPE=nl_NL.UTF-8
LC_IDENTIFICATION=nl_NL.UTF-8
LC_MEASUREMENT=nl_NL.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=nl_NL.UTF-8
LC_NAME=nl_NL.UTF-8
LC_NUMERIC=nl_NL.UTF-8
View .bashrc
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
View smb.conf
[global]
workgroup = WORKGROUP
server string = %h Samba Server
wins support = no
dns proxy = no
map to guest = bad user
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
View 98-smargo.rules
SUBSYSTEM=="tty", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="video", MODE="0660", SYMLINK+="smargo"
View hts.php
<?php
$url = 'http://username:password@tvheadend-address/ip:9981/stream/channelnumber/%d.m4v';
// Personal ZiggoNL channels
$array = [
1 => 'NPO1 HD',
2 => 'NPO2 HD',
3 => 'NPO3 HD',
6 => 'SBS6 HD',
7 => 'RTL7 HD',
8 => 'Veronica HD',