Friday, August 23, 2013

In this article, I want to talk about version control systems. Actually management source code using Git. We use Git on the projects in which multiple participants. Git is not the only way to use version control. There are others which are so popular; SVN, Mercurial and CVS.

In this article, we will continue using code.google.com server. You can also get started to create an account from there. In code.google.com server, there are SVN, Mercurial and Git options. So, before the processing clone your project to local machine, we define username and password to log in. Sure, you have to set Git software up first.

The code given above shows us what we code on your Git console screen. Password value is a unique key word given by code.google. Login value is also your google e-mail address. From on now, the time is adding our code.

The commands given above, we can see touching and text file easily. test.inc file has been removed and created text.txt file, and logged "some files has been changed" message. After all, we push all change

Tuesday, August 20, 2013

Today, I want to share this useful article with you. This article is going to be about redirecting mobile devices with PHP programming language. I am sure that you will need it.
If you have your own web site or something else, It means that you have members, users or followers on your site. Sure, we should remember that most of people uses mobile devices. Internet, social media, game or some applications etc, and we know that they visit your web site from their mobile devices. For that reason if we put this special feature on, we get more quality site of course.

In this entry, a short example for using gWidgets is given. gWidgets is a package
for creating GUI’s in R.

Our example shows a GUI window with width = 400 and height = 400. Window
is created by gwindow function. Components are located by rows. Rows are handled
by ggroup function. ggroup must take a container as a parameter. In this
logic, lbl_username and txt_username are childs of row1 which is child of
gwindow.

Any text field can act as a password field by using visible¡- function.

visible(txt_password) <- FALSE

So, the object txt_password is now hiding characters by * characters. Finally, the
method addHandlerClicked links an object to a function for click event.
In our example, btn_login is linked to do_login function. When btn_login
clicked, a message is written. The source code of the complete example is given
below.