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
#!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 |
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
# 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; |
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
<?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> |
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
# 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. | |
# |
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
############################################# | |
## | |
## PostgreSQL base backup automation | |
## Author: Stefan Prodan | |
## Date : 20 Oct 2014 | |
## Company: VeriTech.io | |
############################################# | |
# path settings | |
$BackupRoot = 'C:\Database\Backup'; |
An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
brew install ffmpeg gifsicle imagemagick
screencapture rec.mov // you'd use QuickTime
ffmpeg -i rec.mov -r 24 rec-%03d.png
OlderNewer