Howto Add Hex Numbers via Command Line

Recently I needed to calculate the starting and ending memory addresses of an IOS application (in order to dump it). As a result i needed to figure out how to add two hex addresses. Here’s what I discovered. Basic Example In this case we are adding 0x4f000 and 0x2000 $ printf "0x%X\n" $(( 0x4f000+0x2000 ))... » read more

convert .crt .key or .pfx to .pem

Objective Convert your .crt and .key or .pfx file to a .pem file Tools OpenSSL– This tool will do the conversion Note: If you have Visual SVN Server then openssl is located at: "%VISUALSVN_SERVER%\bin\openssl" Converting .crt .key to .pem This section describes how to convert a .crt and .key file to .pem Linux/Unix/MacOS/Windows Convert .crt... » read more

Howto use command line SVN on Mac OSX

Objective Use the command line SVN client on Mac OS X Subversion was built to be used with the command line subversion client (not the bastardized GUI clients that are being sold on the market right now). As such my instructions are for the native command line subversion client “svn” Instructions These instructions detail how... » read more

Mac MySQL GUI Tool

Mac MySQL GUI Tool Sequel Pro Best Looking MySQL Cocoa App. Sequel Pro is a fast, easy-to-use Mac database management application for working with MySQL databases. Flexible Connectivity. Sequel Pro gives you direct access to your MySQL databases on local and remote servers. Perfect Web Development Companion. Whether you are a Mac Web Developer, Programmer... » read more

join mp3 files single file

Goal: join mp3 files single file Download mp3wrap Installation mp3wrap is cross-platform (Windows, Linux, and Mac). Windows Download from sourceforge here Mac You will need to use Mac Ports and run command: sudo port install mp3wrap Linux – Ubuntu sudo apt-get install mp3wrap Linux – CentOS yum install mp3wrap Using mp3wrap In this example we... » read more

iMac can’t eject disc

If you cannot eject the disk from your iMac, Macbook, or any other type of Mac try this fix: Start Terminal, paste this in, and hit enter: drutil tray eject   You may have to run the command a few times for it to eject.

cURL Examples

Great examples of how to use cURL from 1. Download a Single File The following command will get the content of the URL and display it in the STDOUT (i.e on your terminal). $ curl To store the output in a file, you an redirect it as shown below. This will also display some... » read more

detect flashback mac

F-Secure  has created a free tool that automates the detection and removal of the widespread Flashback Mac OS X malware. How to use the tools: 1) Download to the Mac machine you want to scan. 2) Double-click the zip package to unzip it in the current folder. 3) Double-click the FlashBack Removal app to run the tool. 4) Follow the instructions to check your... » read more