Tag Archives: En

How to get Real IP from Visitor?

What is IP simple definition?

IP stands for “Internet Protocol,” which is the set of rules governing the format of data sent via the internet or local network. In essence, IP addresses are the identifier that allows information to be sent between devices on a network: they contain location information and make devices accessible for communication.

How to get Real IP from Visitor?

function getUserIP()
// Get real visitor IP behind CloudFlare network
$client = @$_SERVER['HTTP_CLIENT_IP'];
$remote = $_SERVER['REMOTE_ADDR'];

if(filter_var($client, FILTER_VALIDATE_IP))
$ip = $client;
elseif(filter_var($forward, FILTER_VALIDATE_IP))
$ip = $forward;
$ip = $remote;

return $ip;
$user_ip = getUserIP();
echo $user_ip;


What is IP and its uses?

IP address stands for internet protocol address; it is an identifying number that is associated with a specific computer or computer network. When connected to the internet, the IP address allows the computers to send and receive information.

What is a person’s IP?

An IP address is a string of numbers assigned to an internet-connected device, much like an address on a house.

How do you check your IP address?

Open the Windows Start menu and right-click “Network.” Click “Properties.” Click “View Status” to the right of “Wireless Network Connection,” or ”Local Area Connection” for wired connections. Click “Details” and look for the IP address in the new window.


hey how is it going bras my name is joe, in today’s video i’m going to show you a secret way to get free robux this trick. actually works i really got free robux as you can see this is going to work basically on how did you complete the steps so all you can do now is subscribe my channel and like this video so let’s start first grab your phone or iPad and enter this website.
You will find the link in the first comment all you need to do is choose the amount of robots you want and enter your username a few seconds in this step the generator is calculating a valid credit card
now this is the last step all you need to do now is complete two of the offers.
Below to get your robux most of those offers are either downloading an application or confirm your email or a quiz i will show you how to do this.
they asked me to download this app now i will go back to the first page to complete another offer they asked me to complete this quiz.
Finally i finished the offers as you can see i have successfully completed the confirmation let me open up the game and see if it worked as you can see guys this is actually work this is really insane you should try this method right now

How to Write JSON Object to File in Node.js

How To Write JSON Object to File Node.js?

In the following Nodejs script, we have JSON data stored as string in variable jsonData. We then used JSON.parse() function to JSONify the string. So now we have a JSON object. Until now we simulated the situation where you have obtained or created a JSON object.

We would like to save this JSON object to a file.

To save the JSON object to a file, we stringify the json object jsonObj and write it to a file using Node FS’s writeFile() function.

// file system module to perform file operations
const fs = require('fs');

// json data
var jsonData = '{"persons":[{"name":"John","city":"New York"},{"name":"Phil","city":"Ohio"}]}';

// parse json
var jsonObj = JSON.parse(jsonData);

// stringify JSON Object
var jsonContent = JSON.stringify(jsonObj);

fs.writeFile("output.json", jsonContent, 'utf8', function (err) {
if (err) {
console.log("An error occured while writing JSON Object to File.");
return console.log(err);

console.log("JSON file has been saved.");


Run the above program in Terminal with node command:

$ node nodejs-write-json-object-to-file.js
{ persons:
[ { name: 'John', city: 'New York' },
{ name: 'Phil', city: 'Ohio' } ] }
{"persons":[{"name":"John","city":"New York"},{"name":"Phil","city":"Ohio"}]}
JSON file has been saved.


In the above program, you might have observed that bothjsonData andjsonContent when logged to console result in same output. This is because when the JSON Object is logged to console, toString method is called implicitly. But if you attempt to write the JSON object to a file directly without prior Stringify, it results in[Object Object] written to file.

Concluding this Node.js Tutorial – Node.js Write JSON Object to File, we have learned to write a JSON Object to a file using JSON.stringify() function and FS.writeFile() function.

How to exit from full-screen mode of Putty?

What is PuTTY and why it is used?

PuTTY is a free implementation of SSH (and telnet) for PCs running Microsoft Windows (it also includes an xterm terminal emulator). You will find PuTTY useful if you want to access an account on a Unix or other multi-user system from a PC (for example your own or one in an internet cafe).

This software is a free and open-source terminal emulator, serial console and network file transfer application. PuTTY Linux version is a graphical terminal program that supports the SSH, telnet, and login protocols and connecting to serial ports. It can also connect to raw sockets, typically for debugging use.

How do I connect to PuTTY?

Open Putty and enter your Host-name or IP Address in the Host-name or IP Address field. The default port will be 22. Click on the Open button to open the command line window. In the command line window type in the SSH username at the login as prompt and press enter on your keyboard.

How do I get out of full screen full screen?

Press the F11 key on your computer’s keyboard to exit full-screen mode. [This not work on Windows]

How do I exit full screen in Unix?

To leave Full Screen mode, right mouse button click the screen at a place where there is no object present, and select Exit Full Screen Mode, or press the shortcut Ctrl+Shift+F.

How do I minimize PuTTY?

To leave Full Screen mode, right mouse button click the screen at a place where there is no object present, and select Exit Full Screen Mode, or press the shortcut Ctrl+Shift+F.

Exiting Putty Full Screen Mode on Windows, you can press: Window Button and then right click on panel, Uncheck Full Screen

How to exit full screen in putty?
How to exit full screen in putty?