Skip to content

Instantly share code, notes, and snippets.

View AlirezaAkbarix's full-sized avatar

Alireza Akbari AlirezaAkbarix

  • SamianSoft
  • Mashhad/Iran
View GitHub Profile
@AlirezaAkbarix
AlirezaAkbarix / PTC iForm Privacy Policy.html
Last active March 14, 2017 07:27
PTC privacy policy under using iForm application
<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 March 14, 2017 07:29
This gist file describes PTC privacy policies under using iOrder application
<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>
@AlirezaAkbarix
AlirezaAkbarix / Server.js
Last active February 26, 2018 20:17
NodeJs Getting Started (Creating an empty Server)
// #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 / Request_old.js
Created March 4, 2018 02:57
old method of using https for sending message via telegram
// Using old school method for sending message
const
https = require('https'),
reqOptions = {
method: 'POST',
hostname: 'api.telegram.org',
path: 'xxx',
// New Request class using request lib
const
request = require('request'),
reqOptions = {
method: 'POST',
url: 'https://api.telegram.org/botxxx/sendMessage',
body: {
chat_id: 73768632,