Skip to content

Instantly share code, notes, and snippets.

Alireza Akbari AlirezaAkbarix

  • SamianSoft
  • Mashhad/Iran
Block or report user

Report or block AlirezaAkbarix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Request.js
// New Request class using request lib
const
request = require('request'),
reqOptions = {
method: 'POST',
url: 'https://api.telegram.org/botxxx/sendMessage',
body: {
chat_id: 73768632,
@AlirezaAkbarix
AlirezaAkbarix / Request_old.js
Created Mar 4, 2018
old method of using https for sending message via telegram
View Request_old.js
// Using old school method for sending message
const
https = require('https'),
reqOptions = {
method: 'POST',
hostname: 'api.telegram.org',
path: 'xxx',
@AlirezaAkbarix
AlirezaAkbarix / Server.js
Last active Feb 26, 2018
NodeJs Getting Started (Creating an empty Server)
View Server.js
// #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>');
@AlirezaAkbarix
AlirezaAkbarix / PTC iForm Privacy Policy.html
Last active Mar 14, 2017
PTC privacy policy under using iForm application
View PTC iForm Privacy Policy.html
<html>
<header>
<title>iForm Privacy Policy</title>
</header>
<body>
<h2>Privacy Policy</h2>
<p>PTC&trade; built the iForm&nbsp;app as a commercial app. This SERVICE is provided by PTC&trade;&nbsp;and is intended for use as is.</p>
<p>This page is used to inform users&nbsp;regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our&nbsp;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>
@AlirezaAkbarix
AlirezaAkbarix / PTC iOrder Privacy Policy.html
Last active Mar 14, 2017
This gist file describes PTC privacy policies under using iOrder application
View PTC iOrder Privacy Policy.html
<html>
<header> <title>iOrder Privacy Policy</title></header>
<body>
<h2>Privacy Policy</h2>
<p>PTC&trade; built the iOrder&nbsp;app as a commercial app. This SERVICE is provided by PTC&trade;&nbsp;and is intended for use as is.</p>
<p>This page is used to inform users&nbsp;regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our&nbsp;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>
You can’t perform that action at this time.