-
Open the Terminal
-
Use
mysqldumpto backup your databases -
Check for MySQL processes with:
ps -ax | grep mysql -
Stop and kill any MySQL processes
-
Analyze MySQL on HomeBrew:
brew remove mysql
| require 'net/http' | |
| def post_xml url_string, xml_string | |
| uri = URI.parse url_string | |
| request = Net::HTTP::Post.new uri.path | |
| request.body = xml_string | |
| request.content_type = 'text/xml' | |
| response = Net::HTTP.new(uri.host, uri.port).start { |http| http.request request } | |
| response.body | |
| end |
| #!/bin/bash | |
| # Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
| # Inspired from https://gist.github.com/faleev/3435377 | |
| # Remove any existing packages: | |
| sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
| # Get the dependencies (Ubuntu Server or headless users): | |
| sudo apt-get update |