iPhone Hacking - Custom Ringtone and SMS Notification
Posted by Mr. IT Guy | Filed under Howto, IT in General, Mac OSX, Microsoft
Following up on the earlier iPhone hacks is customizing the most common audio: ringtone and SMS notification. Apple has locked down custom ringtones and profit from them. The biggest problem is, their selection is scarce and sucks. Here’s a simple guide on how to upload the Ringtones:
- Choose an MP3 file and trim it to 30 seconds or less - I use Audacity (download link) to do it
- Import that MP3 into iTunes
- Goto iTunes -> Preferences (for Mac) or Edit -> Preferences (for PC)
- Navigate to Advanced -> Importing tab and set the “Import Using:” to AAC
- Find the trimmed MP3 file inside iTunes, right click and choose “Convert Selection to AAC”
- Right click the AAC version of the file and choose “Get Info”
- Note the path to the file as indicated by the “Where” section under the “Summary” tab
- Navigate to the location of the file and copy it to desktop
- Change the extension of the copied file to “.m4r”
- Open the files in iTunes and it should be automatically inserted under Ringtones category, which then can be transferred to iPhone
NOTE: I have tried to use “SoundConverter” and set the file type to be m4a. This actually doesn’t work. When I did it that way, the file will be uploaded but won’t be able to be played. It might have something to do with the file size generated by “SoundConverter” being too large. Read the rest of this entry »
Tags: hacking, iphone, mac, ringtone, windows
HOWTO: Log Apache to MySQL on Ubuntu 8.04 (Hardy Heron)
Posted by Mr. IT Guy | Filed under Howto, Linux, Operating System
Installing the Software
Run the following commands in terminal:
sudo apt-get update sudo apt-get install libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl
Create DB & User
Run the following commands in MySQL:
CREATE DATABASE apachelogs; GRANT INSERT,CREATE ON apachelogs.* TO apachelogger@localhost IDENTIFIED BY 'insert_passwd_here'; FLUSH PRIVILEGES;
Add Entry to apache2.conf
Add the following entry to apache2.conf before the VirtualHost settings (commonly before
Include /etc/apache2/sites-enabled/):
LogSQLLoginInfo mysql://apachelogger:insert_passwd_here@localhost/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
LogSQLTransferLogFormat AabfHhmRSsTUuvIModify Each Virtual Host
For each virtual host that you want to log to SQL, add the following line:
LogSQLTransferLogTable this_site_com
where access_log is replaced by any table name; to differentiate many different virtual host, you can use the name of each virtual host here by replacing each dot (’.') with underscore (’_')
Tags: 8.04, database, hardy heron, Howto, SQL, ubuntu
Forcing Windows to Change Priority & Processor Affinity on Processes Ran by SYSTEM
Posted by Mr. IT Guy | Filed under Howto, IT in General, Microsoft, Operating System
I encountered a problem when trying to change the process priority & processor affinity for my VMWare. The problem is that this process is ran by SYSTEM instead of my username. In order to run ‘Task Manager’ at elevated level, make sure all ‘Task Managers’ are closed do the following:
- Open a ‘Command Prompt’ window by going to Start -> Run then type ‘cmd’ then press enter
- Type
ntsd -c qd taskmgrin the command prompt
After that, a new ‘Task Manager’ will popup and you should be able to modify the settings.
Tags: affinity, Microsoft, priority, SYSTEM, task manager, taskmgr, tools, vmware, windows




