Thursday, November 27, 2014

Redmine Bootstrap Theme

Simple light bootstrap theme.

Screenshots for redmine bootstrap theme.


















To get notified when available please submit your email below.

Tuesday, February 5, 2013

[SOLVED] “Could not reliably determine the server’s fully qualified domain name, using … for ServerName”

You might probably faced the same following error while you were restarting the Apache server on Ubuntu.

$ sudo /etc/init.d/apache2 restart
* Restarting web server apache2                                                apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
… waiting apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName

To fix that problem, you need to edit the httpd.conf file. Open the terminal and type,

$ sudo gedit /etc/apache2/httpd.conf

By default httpd.conf file will be blank. Now, simply add the following line to the file.
ServerName localhost

Save the file and exit from gEdit.

Finally restart the server.
$ sudo /etc/init.d/apache2 restart

References: http://russenreaktor.wordpress.com/2010/04/17/solved-“could-not-reliably-determine-the-server’s-fully-qualified-domain-name-using-for-servername”/

Thursday, July 5, 2012

PHP errors NOT being displayed in the browser (Ubuntu)

Make sure below values are set.

file: /etc/php5/apache2/php.ini, line number 531 

display_errors = On

optional if you dont want to store log 
file: /etc/php5/apache2/php.ini,  line number 552

 log_errors = Off

Wednesday, May 16, 2012

gEdit + TextMate = gMate

Installation

sudo apt-add-repository ppa:ubuntu-on-rails/ppa
sudo apt-get update
sudo apt-get install gedit-gmate

gMate Plugins

  • Advanced Bookmarks. Highlight, remenber and toggle bookmarks in your files.
  • Classbrowser. A Classbrowser (depends of ctags).
  • Fuzzy Open. Quick way to open file in project. http://github.com/eggegg/fuzzyopen
  • Gedit Open File. Regex based file open (like textmate Go to file…).
  • Find in Project. Search in the project with ack/grep. http://github.com/eggegg/find-in-project
  • Gedit Todo. Find Todo Marks in source files (integrated with filebrowser).
  • Gemini. Pair complete for quotes and braces.
  • Quickhighligthmode. Fast change current highlight mode.
  • Rails Extract Partial. Extract selected region of rhtml as a partial.
  • Rails Hotcommands. Execute Rails Commands (such rake tasks).
  • Rails Hotkeys. Navigation in Rails Project Files.
  • Regex Search Replace. Search and replace with regular expressions.
  • Smart Indent. Smart Indentation regex based.
  • Tabulation. Auto set tabs and spaces based on file type.
  • Text Tools. Some text manipulation improvements (adapted from line tools).
  • TextMate Style Autocompletion. Better autocompletion. Tap Esc to cycle through the available completions.
  • Trailsave. Remove trailing spaces before save a document.
  • Word Completion. Word completion plugin.
  • Multi Edit. Check it out at author’s page http://jon-walsh.com/journal/multi-edit
  • Pastie. Paste a selection of code or a source file to pastie.org directly from editor http://github.com/ivyl/gedit-pastie
  • Zen Coding. Tools for faster HTML/CSS coding http://github.com/mikecrittenden/zen-coding-gedit
  • Encoding. Reopen the document in a different encoding
  • File Search. This is a search plugin for Gedit to search for a text inside a directory. https://github.com/oliver/gedit-file-search

Saturday, March 26, 2011

Sunny » Blog Archive How to make reliance netconnect work in Ubuntu 10.10

Sunny » Blog Archive How to make reliance netconnect work in Ubuntu 10.10


well, I recently bought a reliance netconnect broadband internet and it was quite easy to connect to Internet via my Ubuntu :)
I will brief the steps here
1. Plug the device to a USB port
2. Ubuntu 10.04 should detect your device now. Now go to System -> Preferences -> Network connectionsand select the Mobile Broadband tab. Click Add. You’ll see something like this:
Reliance Net Connect
Reliance Net Connect
3. From the above step, just follow whatever the wizard says. Select India in Providers Country page and selectReliance in Provider page respectively.
4. In the last window, give a name to the connection (Reliance for example) and then enter your USB device number which is nothing but the mobile number in the user name and password fields (yes, both are same). In the Number field, type #777 if it is not already there.
5. Enable the Connect automatically if you need it to be connected automatically.
6. Now, click apply and you’re done. The connection should work now. If you didn’t select connect automaticallythen you can click on the network icon on the Ubuntu top bar and select your connection which you created just now.

Tuesday, March 22, 2011

Redirect from BlogSpot to website

<meta HTTP-EQUIV="REFRESH" content="0; url=http://bradsblog.net/">

Friday, March 4, 2011

.htaccess handling at godaddy hosting or any hosting. Tips to remember

never ever include filename which you are including in htaccess url

example:      RewriteRule ^admin/profile /admin.php?file=profile [NC]

in this first name after  “domainname or ^ ”  and filename you are using for reference is same

“ ^admin/”    =      “/admin.php?file=profile”

so give another name for filename reference.

like this RewriteRule ^admin/profile /master.php?file=profile [NC]

it worked.

add this