In this tutorial we are going to describe Jenkins installation and configuration with Maven and GitHub. We are going to use a Tomcat Application Server 7. If you don’t have Tomcat installed please get one here. You will need a Java 7+ SDK installed as well
Git binaries installation At first we need client tool using which git operations like cloning, fetching, pooling can be done. We have chosen git client implementation available at git-scm.com. Download and install it. Important thing is to select Run Git from the Windows Command Prompt option on Adjusting your PATH environment installation screen so that git client executables are added to your PATH variable.
The easiest way to do that would be to use the Params plugin, introduced in beta5. It has utility methods to make it easy to access different types of parameters. As always, reading the tests can prove valuable to understand how something is supposed to be used.
Get a single value To get the value of a named parameter in a controller, you will need to select the appropriate method for the type of parameter you are looking for and pass in the name.
I’ve been getting into trouble for several hours with redirecting to the 404 page in Zend Framework 2.
The question in StackOverflow: http://stackoverflow.com/questions/21622849/use-the-same-error-handler-in-different-modules-in-zend-framework-2
Before that, I’m using the following code:
$this->getResponse()->setStatusCode(404); return; It works fine.
However, after I create the 404 error page. I found it won’t redirect you to the error page with the code above.
If you want to redirect to the 404 error page, you should use the following code:
What’s TideSDK? TideSDK is the new standard for creating beautiful and unique desktop apps using your web development skills.
You can build muti-platform desktop applications with HTML5, CSS3 and JavaScript in TideSDK.
TideSDK can support Python, Ruby and PHP now.
Download TideSDK and other software TideSDK 1.3.1 Beta
TideSDK Developer 1.4.2
Install TideSDK Extract TideSDK 1.3.1 to Windows 7/8/8.1: C:\ProgramData\TideSDK
Windows XP: C:\Documents and Settings\All Users\Application Data\TideSDK
Ubuntu: ~/.tidesdk
**Mac OS X: **~/Library/Application\ Support/TideSDK
With the introduction of Windows Vista and Office 2007 Microsoft included some new fonts, which became the defaults in Office. Their names all start with ‘C’ and they are quite attractive. In particular there is a monospaced font called Consolas that is nice to use as a text editor font and Terminal font. The problem is they aren’t technically free, although Microsoft does include them in a number of freely available updaters. What follows is how I went about installing the fonts on my Mac.
In some cases, we have to convert the String variable into a Byte array format, for example, JCE encryption. However, how do we convert a Byte[] array to a String afterward?
Simple toString() function like the following code is not a working property. It will not display the original text but the byte value.
String s = bytes.toString(); In order to convert the Byte array into String format correctly, we have to explicitly create a String object and assign the Byte array to it.
Compiling Vim from the source is actually not that difficult. Here’s what you should do:
Install all the prerequisite libraries sudo apt-get install libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev python-dev ruby-dev mercurial Remove vim if you have it already sudo apt-get remove vim vim-runtime gvim vim-tiny vim-common vim-gui-common Compile source code Download source code You can get the source code here: http://www.vim.org/sources.php
Set Configuration cd vim ./configure \ --with-features=huge \ --enable-rubyinterp \ --enable-pythoninterp \ --enable-luainterp \ --enable-perlinterp \ --enable-multibyte \ --enable-sniff \ --enable-fontset \ --enable-cscope \ --enable-gui=gtk2 \ --prefix=/usr make VIMRUNTIMEDIR=/usr/share/vim/vim74 Install Vim sudo make install If you don’t get gvim working (on ubuntu 12.04 LTS), try changing --enable-gui=gtk2 to --enable-gui=gnome2
Download PHP Windows downloads of PHP are available here. If you are not sure of which version to get, check out this Stack Overflow page. I used the VC11 thread-safe PHP 5.5.0 download.
Install PHP Once you’ve downloaded the installer, run it and install PHP in C:php (or wherever you like, but remember that the path should not contain spaces). Choose your webserver (or none if you don’t have a webserver installed) and select any additional components as needed, including PEAR.