This file contains 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
// New Request class using request lib | |
const | |
request = require('request'), | |
reqOptions = { | |
method: 'POST', | |
url: 'https://api.telegram.org/botxxx/sendMessage', | |
body: { | |
chat_id: 73768632, |
This file contains 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
// Using old school method for sending message | |
const | |
https = require('https'), | |
reqOptions = { | |
method: 'POST', | |
hostname: 'api.telegram.org', | |
path: 'xxx', |
This file contains 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
// #First HomeWork :) | |
const | |
http = require('http'), | |
host= '127.0.0.1', | |
port = 2999, // For showing my Creativity! | |
server = http.createServer( (req , res)=>{ | |
res.statusCode = 200; | |
res.setHeader('Content-Type','text/html'); | |
res.write('<p>Dalam :)</p>'); |
This file contains 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
<html> | |
<header> | |
<title>iForm Privacy Policy</title> | |
</header> | |
<body> | |
<h2>Privacy Policy</h2> | |
<p>PTC™ built the iForm app as a commercial app. This SERVICE is provided by PTC™ and is intended for use as is.</p> | |
<p>This page is used to inform users regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.</p> | |
<p>If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. we will not use or share your information with anyone except as described in this Privacy Policy.</p> | |
<p>The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at iForm services, unless otherwise defined in this Privacy Policy.</p> |
This file contains 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
<html> | |
<header> <title>iOrder Privacy Policy</title></header> | |
<body> | |
<h2>Privacy Policy</h2> | |
<p>PTC™ built the iOrder app as a commercial app. This SERVICE is provided by PTC™ and is intended for use as is.</p> | |
<p>This page is used to inform users regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.</p> | |
<p>If you choose to use our Service, then you agree to the collection and use of information in relation with this policy. The Personal Information that we collect are used for providing and improving the Service. we will not use or share your information with anyone except as described in this Privacy Policy.</p> | |
<p>The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at iOrder services, unless otherwise defined in this Privacy Policy.</p> | |
<h3><strong>Permission Usage</strong></h3> | |
<p><strong>Bluetooth</strong>: printing stuff</p> |