May 23








This step-by-step tutorial will show you how to mount a Windows Share on most versions of Linux. We will be using the following information below for the examples in this tutorial:
IP Address of Windows/Samba Server: 10.16.10.10
Windows/Samba Share Name: swap
Linux Directory where Windows/Samba Share will be mounted: /mnt/swap
Local Linux Username: crazyedy
Windows/Samba Domain User: Administrator
Windows/Samba Domain User’s Password: t@rg3t
Windwos/Samba Domain: crazyedy.com

Just follow the steps below:

RHEL 5 & 6/Ubuntu 7.04, 7.10, 8.04, 8.10, 9.04, 9.10, 10.04, 10.10, 11.04/Fedora Core 10, 11, 12, 13, 14:

1.) Type the following commands into “Terminal“:
su -
mkdir /mnt/swap
vi /etc/fstab

2.) Once you have opened the file in a terminal using vi, type the following:
shift + g #NOTE: This vi command takes you to the last line of the /etc/fstab file.
o #NOTE: This vi command adds a new line after the last line in the /etc/fstab file.
//10.10.16.10/swap /mnt/swap cifs uid=crazyedy,username=Administrator,password=t@rg3t,domain=crazyedy.com 0 0
Press [esc] #NOTE: This vi command takes you out of insert mode.
:wq! #NOTE: This vi command saves the file for you with your changes.


 

3.) Reboot your Linux box and log back in.

4.) You should now be able to browse to your windows share from your linux box.

###VERY IMPORTANT### When you are using this method to mount a Windows/Samba Share to a Linux box, you can only mount the Official Windows Share Name. For example, if you have a windows share named //10.10.16.10/swap but you have directories underneath that share name that you would like to mount, you can only mount //10.10.16.10/swap, otherwise it won’t mount up for you and it will give an error in the logs. ex.) In the example used in this tutorial, if I had tried to mount //10.10.16.10/swap/stupid_directory, it would have given me an error because the share name is //10.10.16.10/swap. One more important thing to note is that a share in Windows would be in the following format \\10.10.16.10\swap, but if you are connecting to a Windows share from Linux or Mac, it would be in the following format: //10.10.16.10/swap.###VERY IMPORTANT###

###DISCLAIMER: I have tested this procedure with the OS’s listed above only. I have done this several times and I have never run into any problems. However, if you use this tutorial, you are using it at your own risk. ###DISCLAIMER###

May 23








This step-by-step tutorial will show you how to jailbreak your iPhone 3GS on Mac OS X in less than 10 minutes. Just follow the steps below:

1.) Download the following software to your “~/Downloads” directory:

RedSn0w

iPhone 3GS ipsw

2.) Click your cursor on the Desktop to bring up the “Finder” menu, and go to “Go” -> “Utilities” -> “Terminal“.

3.) Type the following commands into “Terminal“: mkdir ~/Desktop/redsn0w;mv ~/Downloads/redsn0w.zip ~/Desktop/redsn0w/;mv ~/Downloads/iPhone2,1_4.2.1_8C148a_Restore.ipsw ~/Desktop/redsn0w/;cd ~/Desktop/redsn0w;unzip redsn0w.zip

4.) Now using “Finder“, open up the ~/Desktop/redsn0w directory and double-click on the redsn0w.app application.

5.) Once you have opened the redsn0w.app application, you should now see the redsn0w 0.9.6b4! application window. From here you will need to click on Browse and select the file ~/Desktop/redsn0w/iPhone2,1_4.2.1_8C148a_Restore.ipsw and hit next.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

6.) You should now see the following screen:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7.) Now you will need to select “Install Cydia” and hit next and follow the on-screen instructions. Also once this process has finished you will need to perform steps 5 through 6 again and when you get to step 7, select “Just boot tethered right now“. Again, you will need to follow the on-screen instructions and this time your iPhone 3GS will be booted up in tethered mode and you will have access to cydia and your iPhone 3GS will have been successfully jailbroken.

###VERY IMPORTANT### Every time you need to reboot or boot up your iPhone 3GS, you will need to peform step 7 and use redsn0w.app to “Just boot tethered mode“. Your iPhone 3GS will be able to go to sleep or be re-sprung without having to be booted up using redsn0w.app, but every time you need to perform a hard reboot of the device, you will need to use redsn0w.app to boot it up.###VERY IMPORTANT###

###DISCLAIMER: I have tested this procedure with iPhone 3GS running iOS 4.2.1 only. I have done this several times and I have never run into any problems and I have never bricked an iPhone. However, if you use this tutorial, you are using it at your own risk. ###DISCLAIMER###

May 06









This tutorial will show you how to customize your Mac OS X Dock. You will learn how to change your Dock from 3D to 2D. You will also learn how to add empty spaces to your Dock and how to increase the actual size of your Dock past the default size allowed by System Preferences. Just follow the simple steps below and in no time you will be able to customize your Mac Dock as well:

CHANGE YOUR DOCK FROM 3D to 2D

1.) Click on the Desktop to bring Finder to the Mac menu bar, Click on “Go” -> “Utilities” -> “Terminal“.
2.) In Terminal type the following command to change the Dock from 3D to 2D: defaults write com.apple.dock no-glass -boolean YES
NOTE: To change the Dock from 2D back to 3D: defaults write com.apple.dock no-glass -boolean NO
3.) After you have entered the previous command you will need to type the following command into Terminal to make the Dock changes take effect: killall Dock

 

INCREASE THE SIZE OF YOUR DOCK ABOVE THE SYSTEM PREFERENCES MAXIMUM ALLOWED

1.) Click on the Desktop to bring Finder to the Mac menu bar, Click on “Go” -> “Utilities” -> “Terminal“.
2.) In Terminal type the following command to increase the Dock size: defaults write com.apple.dock tilesize -int 256
NOTE: To decrease the Dock size back to the normal range just click on the apple in the mac menu bar and then on “System Preferences” -> “Dock” and use the slider.
3.) After you have entered the previous command you will need to type the following command into Terminal to make the Dock changes take effect: killall Dock

 

INCREASE THE MAGNIFICATION OF YOUR DOCK ICONS ABOVE THE SYSTEM PREFERENCES MAXIMUM ALLOWED

1.) Click on the Desktop to bring Finder to the Mac menu bar, Click on “Go” -> “Utilities” -> “Terminal“.
2.) In Terminal type the following command to increase the Dock size: defaults write com.apple.dock largesize -int 512
NOTE: To decrease the Dock Icon Magnification size back to the normal range just click on the apple in the mac menu bar and then on “System Preferences” -> “Dock” and use the slider.
3.) After you have entered the previous command you will need to type the following command into Terminal to make the Dock changes take effect: killall Dock

ADD EMPTY SPACES TO YOUR DOCK

1.) Click on the Desktop to bring Finder to the Mac menu bar, Click on “Go” -> “Utilities” -> “Terminal“.
2.) In Terminal type the following command to add an empty space to the Dock: defaults write com.apple.dock persistent-apps -array-add ‘{ “tile-type” = “spacer-tile”; }’
NOTE: To delete the empty space holder in the Dock just click on the empty space and pull it up off the Dock and it will be trashed.
3.) After you have entered the previous command you will need to type the following command into Terminal to make the Dock changes take effect: killall Dock

Tagged with:
preload preload preload