Tutorials Index Page 10

beginner

How to convert integer to string in Python?

Converting an integer to string in python is straighforward to do it. Just use the built in function str(). Here we explain with more details and example hot convertion from integer to string works.

beginner

How to Change a DOM element's class with JavaScript

If you want to change element class using javascript you can try: document.getElementById("ElementId").classList.add('NewClass') to add a new class. Alternative methods are remove and contains. Check here for more examples and alternatives using jQuery or coe for older browsers.

beginner

What is the correct way to return JSON content type?

Here we explain the proper MIME types to return for Json. You must know that returning the wrong MIME type could compromise the security of your application. We also cover which is the proper way to return a JSONP.

beginner

Standard SQL:What is the difference between "INNER JOIN" and "OUTER JOIN"?

For beginners when learning JOIN it's a common error to ignore different types of JOIN. Some junior developers could use a wrong JOIN that looks like correct when it's not the case. Make sure you learn differences between LEFT JOIN and RIGHT JOIN

beginner

How to check if an element is hidden in jQuery?

To check if an element is hidden use: $(element).is(":visible");

beginner

How to check if an element is hidden in jQuery?

To check if an element is hidden use: $(element).is(":visible");

intermediate

How to Create and Restart SSH in AIX?

Learn here the command used to restart SSH in AIX. lssrc -s sshd stopsrc -s sshd;startsrc -s sshd

beginner

How can I concatenate strings in Bash?

Check here some string concatenation examples using bash. Lean how to program bash and manipulate strings, in this case using concatenation. We propose different approaches to solve the problem with bash.

beginner

How to Call an external command with Python?

We show how to use python to call an external program or command. We show examples with python 2 and 3

beginner

Windows batch: How do I shutdown/restart/logoff using a bat file?

See examples of .bat files to restart/shutdown the windows machine. The example also works to restart a windows computer using a remote session