-
Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.
-
Update system packages in Termux:
$ pkg update -y
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require('http'); | |
| var port = 3000; | |
| var server = http.createServer(function (request, response) { | |
| response.writeHead(200,{'content-type':'text/plain'}); | |
| response.write("Hello From Momin ! Server running"); | |
| response.end(); | |
| }); | |
| server.listen(port); | |
| console.log('Server working !' + port); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| ** Google texter - v0.2 | |
| ** This experimental script creates a random text by | |
| ** using google search as source. | |
| ** | |
| ** Warning: Do not execute this script on a webserver! | |
| ** This script was made to execute from a command line. | |
| ** |
