Developers notebook

Xcode Code signing fails, detritus not allowed

When running a build in Xcode results in the error ‘Code signing fails with error ‘resource fork, Finder information, or similar detritus not allowed’

Use xattr -cr /app_directory to fix


Join Ubuntu Mate 16.04 to an MS Active Directory Domain

Bash script to prepare an Ubuntu Mate 16.04 host for joining to a MS Active Directory Domain.

Stop WordPress asking for an FTP server on upgrade

Add define(‘FS_METHOD’, ‘direct’); to wp-config.php

Fix OS X slow populating file picker

rm ~/Library/Caches/CloudKit/CloudKitMetadata*;killall cloudd

Orignal source:

tail -f /var/log/mail.log journalctl equivalent

journalctl -f -l SYSLOG_FACILITY=2

Send a program to run in the background and close shell

disown -h


Pull files from a remote server over ssh with sudo privilege escalation

rsync -a -e “ssh” –bwlimit=10000 –rsync-path=”sudo rsync” remoteuser@remoteserver:/remotepath .

Original source:

Scan a network for MS SQL servers

nmap -p T:1433 -sV -oG tcp_scan_results.txt


Start MySQL on Yosemite

sudo /usr/local/mysql/support-files/mysql.server start

Orignal source:

Monitor MySQL restore progress with pv

pv {source_database.sql} | mysql -u{user} -p {destination_database}


« Older posts

© 2017

Theme by Anders NorenUp ↑