Zyxware is organizing a two-day team get-together, Lakshya-2015, on February 27 and 28, 2015 at the Poovar Island Resort, Poovar, Trivandrum. The event acts as a platform to engage, share, learn, and have fun!
Technical Solution
There are various types of individual high level directories in linux such as /etc, /dev, /proc, /bin, /tmp, /var, /sbin etc. Read on to know more about the directory structure.
rsync is a file and folder synchronisation tool in linux. To know more about rsync please go through this link:
http://www.zyxware.com/articles/2717/how-to-backupcopysynchronise-a-full-folder-lying-on-a-remote-server-onto-another-localremote-machine-easily-using-
rsync is a file and folder synchronisation tool in linux. To know more about rsync please go through this link:
http://www.zyxware.com/articles/2717/how-to-backupcopysynchronise-a-full-folder-lying-on-a-remote-server-onto-another-localremote-machine-easily-using-
This is a small article on how we can detect an Operating System (WIndows, Linux, Mac etc) using jQuery. For this first we need to download a plugin from here. Download this file (the name will be jquery.client.js) and copy and paste it in your custom module.
We needed to get the description of a site automatically from its url after parsing the HTML markup, for one of the Drupal sites we were working on. This is a task that can be easily accomplished by using the PHP curl library. Read on to know how to use a php script and curl to download the contents of a website.
If you add Facebook like/share buttons to your page, people can share your page to their Facebook wall. Facebook will pick the image and description based on the open graph meta tags specified on the page. In some cases, you may find that even if you have specified the open graph description and image tags, the image shared on Facebook is different.
Suppose you are working in a software enterprise and you have to combine different csv files to create a report. It is a tedious job if you try to combine it manually by copying and pasting. We can do it if there exists only 2 0r 3 files. But if we have to merge too many files, it is not time worthy. Here I am going to explain a simple step procedure to combine multiple csv files in linux operating system through command prompt.
In Drupal, some modules add tabs to pages and these tabs(Primary tabs) are shown in the top of each page for authenticated users. Some of these tabs are not needed for some roles. There are cases where we want to hide such tabs like, Bookmarks, File browser, Orders etc., from primary tabs for roles other than administrator. We can remove these undesired tabs from primary tabs programmatically.
CSV (Comma Seperated Value) a type of file format generally used in some popular websites like google to save the contacts in a comma seperated values. CSV is also called as a character seperated values. Its a normal file type as like doc, pdf etc. In this file format the values are stored by seperating every sentences with some characters. The most used character to seperate the values is comma so it is used to called as comma seperated values rather than the character seperated values. So lets have a quick look on how to read the csv format files.
The Stupeflix is an webservice to create and process videos using photos, audio and Upload videose. To upload videos to youtube using Stupeflix API we need to do the following steps
The sshd_config file refers to the main configuration file that allows the user to make the changes in the features of SSH protocol. There are many features for this protocol and these can be made or changed according to the users needs. And by making configuration changes it also allows the user to provide more security to server/system that we are using. Some of the main features are listed below.
The iptables is nothing but a program that controls the linux based firewall that handles filtering for IPV4 and ip6tables for handling IPV6.
In wordpress site one of the most commonly used plugin is Contact Form 7. In this plugin one of the main feature is that when a user submits a form we could get IP address of the user, but unfortunately we can't get the location. Here I will be explaining how we can create a custom plugin to get the location by using corresponding IP address and a third party service. You can also refer the article How to get the IP address and Country code using the API key of a third party service?
While working on a wordpress site I came across a problem to customize the file upload button in Contact Form 7 plugin. I tried a few tweaks using CSS to customize the button but no luck. Later I found a trick using CSS and jQuery which is explained below. In my previous article "How to display location of an user in a mail send using Contact Form 7 plugin by passing the IP address in a Wordpress Site?", I have explained about Contact Form 7 plugin.
Suppose you are working in spreadsheet and you want to display two different pivot table in the same spread sheet. Usually if you create pivot table without choosing the result sheet, it will create a new sheet. So let us check how we can display the result in our desired sheet so that we can show different pivot tables in the same sheet.
Suppose you are working in OpenOffice Calc and you are writing some functions. And you want to apply this function to large number of column cells. You can do it by dragging the formula upto the last cell. But dragging is some times a very boring or tedious job. So let us check two simple ways to accomplish this task.
In websites response time play a very important roles. Capturing this time is a difficult task. We can perform this by selenium Framework and by using the below script we can calculate the response time. The main aim of the script is to find time taken for JavaScript code execution, elements loading, page load etc.
In this code we can calculate the time span between two events in different case.
Suppose if a Drupal login page has a Captcha to find whether the user is human or a bot. Using Selenium IDE we can automate all type of web elements such as link, check box, radio button etc. In case of Captcha, human interaction is a must.
Ignoring files:From time to time there are files you don't want git to track. There are a few methods of telling git what files to ignore. In which .gitignore file method is one of the popular method