Programmers love Sublime Text editor as it is that awesome. So I will list down few keyboard shortcuts that will make life easier while writing the code. Jump to matching brackets Shortcut for Windows/Linux: CTRL + M Shortcut for MAC: CTRL + M When you’re writing code, you happen to be inside of loops, conditions,
You can easily redirect incoming traffic by inserting rules into PREROUTING chain of the nat table. You can set destination port using the REDIRECT target. Following is the procedure: Use the following for redirecting TCP traffic from one SRC_PORT to DEST_PORT: Use the following for redirecting UDP traffic from one SRC_PORT to DEST_PORT: Use the
Sorting a column containing string with numbers If you have wondered how can you sort a column which contains a combination of string and number, please have a look at the following example. name ==== string12 string124 string1 string342 string9 If you want the display output to be as follows: name ==== string1 string9 string12
If you have wondered how can you get all the table names which contains a specific column, here is a simple SQL query which does the same. select column_name, table_name from information_schema.columns where column_name like "%mycolumname%"; or select column_name, table_name from information_schema.columns where column_name = "mycolumname";
What is JSLint? JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool. JSLint takes a JavaScript source and scans it. If it finds a problem, it returns a message describing the problem and an approximate location within the source. The problem is not necessarily a syntax
Here is A Simple Linked program implemented for stack. Well this is a very basic one to provide an idea to you. I will explain it in detailed when I get some time.
In general minicom will use serial ports in Debian Linux. So the programs using minicom will create a “temporary lock” file in some of the temporary directory in Linux like /tmp or /var/tmp/ or /var/lock/, so that there is no access violation in case if another user is trying to use the same program. Many
In GNU/Linux, there are decent amount of tools with graphical interfaces that make file encrypting a breeze. However, there are also command-line based ones (few!) that let you easily encrypt/decrypt your data as well. Other than not having the ability to use the mouse (plus if you’re not a touch typist), most people don’t like
To assign static ip in Ubuntu from terminal, follow this procedure: # First open the interfaces file by using any editer of your choice, like below $ sudo vi /etc/network/interfaces # Now add the following lines in above file with your desired ip values autho eth0
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok