To enable hidden files/folders in finder windows: 1.Open Finder 2.Open the Utilities folder 3.Open a terminal window 4.Copy and paste the following line in: defaults write com.apple.Finder AppleShowAllFiles YES 5.Press return 6.Now hold ‘alt’ on the keyboard and right click on the Finder icon 7.Click on Relaunch You should find you will now be able… Continue reading How to show hidden files and folders in mac
Month: July 2012
Use hyphen in CodeIgniter URL
I normally like to use hyphens than underscores in URL. It looks more easier to read I think. But in CodeIgniter normally we can’t use hyphens in URL as hyphens isn’t allowed in function name or class name. To solve this in CodeIgniter, so the correct function name is found from the uri segment, only… Continue reading Use hyphen in CodeIgniter URL
Removing index.php in codeigniter
Hey Folks, most of the new CodeIgniter developers face a problem to remove index.php from the URL. It’s pretty simple. Just write the following code in notepad and save as .htaccess. Put this file in the root folder where application, system folders are. .htaccess code: RewriteEngine on #remove access to system folder RewriteCond %{REQUEST_URI} ^system.*… Continue reading Removing index.php in codeigniter