$ brew install pdnsd
# alt: sudo port install pdnsd
# sudo chown -R nobody /usr/local/var/cache/pdnsd
$ curl -L https://goo.gl/r1dZBf -o pdnsd.conf
$ mv pdnsd.conf /usr/local/etc
#!usr/bin/env bash | |
# For this to work, you need to have ffmpeg | |
# installed with libvorbis, theora and libvpx ENABLED | |
# to do that in Homebrew: | |
# brew reinstall ffmpeg --with-libvpx --with-libvorbis --with-theora | |
# | |
# encoding reference: | |
# https://blog.mediacru.sh/2013/12/23/The-right-way-to-encode-HTML5-video.html |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>dacbarbos.services.pdnsd</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/sbin/pdnsd</string> | |
<string>-mut</string> |
# pdnsd.conf | |
# man pdnsd | |
global { | |
perm_cache=4096; | |
cache_dir="/usr/local/var/cache/pdnsd"; | |
pid_file="/usr/local/var/run/pdnsd.pid"; | |
server_ip=127.0.0.1; | |
server_port=8053; | |
status_ctl=on; |
############################################# | |
## | |
## PostgreSQL base backup automation | |
## Author: Stefan Prodan | |
## Date : 20 Oct 2014 | |
## Company: VeriTech.io | |
############################################# | |
# path settings | |
$BackupRoot = 'C:\Database\Backup'; |
# Example config file /etc/vsftpd.conf | |
# | |
# The default compiled in settings are fairly paranoid. This sample file | |
# loosens things up a bit, to make the ftp daemon more usable. | |
# Please see vsftpd.conf.5 for all compiled in defaults. | |
# | |
# READ THIS: This example file is NOT an exhaustive list of vsftpd options. | |
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's | |
# capabilities. | |
# |
An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI