Thursday, August 30, 2012

How to install Objective C on Ubuntu

How to install Objective C packages:

To install them:
sudo apt-get install gobjc gnustep gnustep-make gnustep-common

To compile files:
gcc -o hello hello.m -Wall -lobjc

Saturday, August 25, 2012

How to play .mp4 files on Ubuntu

How to play .mp4 files

Simply install these packages:

sudo apt-get install gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly

Wednesday, August 15, 2012

How to disable AppleMobileDeviceService.exe on Windows

How to disable AppleMobileDeviceService.exe

To disable the service, launch services.msc

Windows + R > Type services.msc


Right click on the service and set the Start Up type to "Disable" and hit "Stop" service

Friday, August 3, 2012

How to disable IPV6 in Ubuntu

How to disabled IPV6

First, check to see if you are running IPV6(there is more than just one way to check):
ip a | grep inet
netstat -tupln

Try blacklisting: /etc/modprobe.d/blacklist.conf add this to the file(have to restart):
blacklist ipv6

/etc/sysctl.conf add this to the file and then run "sudo sysctl -p":
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

/etc/default/grub and then run "sudo update-grub2":
GRUB_CMDLINE_LINUX="ipv6.disable=1"

Always check your work:


Monday, July 23, 2012

How to burn ISOs to CD-RW/DVD-RW in Linux

How to burn ISO files to CD-RW/DVD-RW in Linux

List the devices to write with:
cdrecord -scanbus

After running this command, match the "dev=NUM,NUM,NUM" with the next command to make sure your are writing the ISO with the correct device.
cdrecord -v -pad speed=1 dev=0,0,0 FILE.iso

-v - verbose(shows my information)
-pad speed=1 - change the write speed
dev=0,0,0 - this is your device

How to erase CD-RW/DVD-RW in Linux

How to wipe a CD-RW/DVD-RW on linux

Run this command to make sure that the cd is unmounted:
umount /dev/cdrom

Use the "cdrecord" command to quickly erase the CD-RW/DVD-RW
cdrecord dev=/dev/cdrom blank=fast

How to remove EXIF data from Images in Linux

Ubuntu Linux

Install jhead:
sudo apt-get install jhead

To see all the extra data that is stored in the JPG, run this:
jhead -v FILE.jpg

To remove the extra data such as "geo-tagging(location data)", your name and the type of phone or camera that look the picture, run this command on the image:
jhead -purejpg FILE.jpg


Mac OS X

Install exiftool:
http://www.sno.phy.queensu.ca/~phil/exiftool/install.html

To see all the extra data that is stored in the JPG, run this:
exiftool -v FILE.jpg

To remove the extra data such as "geo-tagging(location data)", your name and the type of phone or camera that look the picture, run this command on the image:
exiftool -all= FILE.jpg




Thursday, July 19, 2012

How to take screenshots on your Android Phone

How to take screenshots with Android 4.0(Ice Cream Sandwich)

Simply hit these buttons at the same time:

Power Button + Volume Down