Tutorials Index Page 10
Learn GO lang with basic examples, we tech you how to check if a file exists using GO os package. Checking if a file exists could be a little tricky since we focus on the error returned instead of a result.
To see you dns servers on linux execute: cat /etc/resolv.conf. For windows ipconfig /all. check this artcile for more details.
Improve as a system administrator or as a software developer and learn how to use the very useful command grep. We cover some basic usage and some advance usage. Learn here how to use regular expression with grep and how to search recursively with grep.
Knowning how to program in C is a good desicion. Learn here how the if else statement works. See some examples to learn with more details how C code works.
In this tutorial we are going to explain how to use pacman and pkgfile to search for packages in Arch Linux. With pacman use "pacman -Ss packageName" and with pkgfile use: "sudo pacman -S pkgfile". Check here for more details on how to use and install the tools.
In this tutorial we are going to show how to split a string separated by spaces. We will use istringstream and copy functions to save the result in a vector with the tokens. Our last example code will split the string with any delimiter using c++ and the standard library.
You can use the parameter -R to apply permission recursively on all directories using chmod. If you only want to apply the execution permission to subdirectories use the option a+rX, check here for more details.
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.
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.