Skip to content

Instantly share code, notes, and snippets.

@dacbarbos
dacbarbos / macos.mov2gif.md
Last active March 29, 2017 04:06
macOS mov2gif

macOS mov2gif

Install toolkit and create a short video

brew install ffmpeg gifsicle imagemagick  

screencapture rec.mov // you'd use QuickTime

Convertion steps

ffmpeg -i rec.mov -r 24 rec-%03d.png

@dacbarbos
dacbarbos / i18n.md
Last active September 5, 2017 17:00
Internationalization = Localization * Translation
@dacbarbos
dacbarbos / macos.brew.md
Last active April 18, 2017 02:27
macOS brew notes

macOS brew notes

Quick & Dirty cleanup

brew update && brew upgrade  
brew cleanup && brew cask cleanup && brew prune  

WARNING! Next command will erase files

brew doctor 2>&1 |fgrep local |fgrep -vi warn |sudo xargs rm  

brew doctor

@dacbarbos
dacbarbos / uri-url-urn.w3c.md
Last active March 21, 2017 01:38
URIs, URLs, and URNs
@dacbarbos
dacbarbos / ieee.org.md
Last active March 21, 2017 01:43
IEEE Registration Authority

IEEE Registration Authority

Downloads

  1. MAC Address Block Large (oui) : TXT or CSV

  2. Company ID (cid) : TXT or CSV

  3. Ethertype (eth) : TXT or CSV

  4. ManufacturerID (manid) : TXT or CSV

@dacbarbos
dacbarbos / curl-gh-api.md
Last active March 21, 2017 01:45 — forked from btoone/curl.md
Using curl with GitHub's API
@dacbarbos
dacbarbos / vsftpd.conf
Last active February 13, 2017 14:22
vsftpd.conf
# 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.
#
@dacbarbos
dacbarbos / Backup-Postgres.ps1
Last active March 2, 2017 02:36 — forked from stefanprodan/Backup-Postgres.ps1
PostgreSQL cluster base backup automation PowerShell script
#############################################
##
## PostgreSQL base backup automation
## Author: Stefan Prodan
## Date : 20 Oct 2014
## Company: VeriTech.io
#############################################
# path settings
$BackupRoot = 'C:\Database\Backup';