Tuesday, September 04, 2018

Free VPN Service for Android

Learn more about VPN, VPN types, VPN protocols and free VPN servers: https://com.puter.tips/search/label/VPN

You can set up a PPTP server or an L2TP/IPsec connection on Android as shown in the previous articles or you can use a TOR enabled android app as described in this article.

What is Tor?

Tor is free software for enabling anonymous communication and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security. The name is derived from an acronym for the original software project name "The Onion Router".

Tor on Android

Tor is available for Android by installing our package named Orbot. Orbot is an application that allows mobile phone users to access the web, instant messaging and email without being monitored or blocked by their mobile internet service provider. Orbot brings the features and functionality of Tor to the Android mobile operating system. Orbot contains Tor and libevent. Orbot provides a local HTTP proxy and the standard SOCKS4A/SOCKS5 proxy interfaces into the Tor network. Orbot has the ability to transparently torify all of the TCP traffic on your Android device when it has the correct permissions and system libraries.

Free VPN Service for Device

OSI model layers

The main concept of OSI is that the process of communication between two endpoints in a network can be divided into seven distinct groups of related functions, or layers. Each communicating user or program is on a device that can provide those seven layers of function. In this architecture, each layer serves the layer above it and, in turn, is served by the layer below it. So, in a given message between users, there will be a flow of data down through the layers in the source computer, across the network, and then up through the layers in the receiving computer. The seven layers of function are provided by a combination of applications, operating systems, network card device drivers and networking hardware that enable a system to transmit a signal over a network Ethernet or fiber optic cable or through Wi-Fi or other wireless protocols.

Data Link (Layer 2)

At OSI Model, Layer 2, data packets are encoded and decoded into bits. It furnishes transmission protocol knowledge and management and handles errors in the physical layer, flow control and frame synchronization. The data link layer is divided into two sub layers: The Media Access Control (MAC) layer and the Logical Link Control (LLC) layer. The MAC sub layer controls how a computer on the network gains access to the data and permission to transmit it. The LLC layer controls frame synchronization, flow control and error checking. Layer 2 Data Link examples include PPP, FDDI, ATM, IEEE 802.5/ 802.2, IEEE 802.3/802.2, HDLC, Frame Relay.

Monday, September 03, 2018

Free VPN Service for Router

What is a Virtual Private Network (VPN)?

A virtual private network extends a private network across a public network and enables users to send and receive data across shared or public networks as if their computing devices were directly connected to the private network.


Why have a VPN?

A VPN, or virtual private network, is a secure tunnel between two or more devices. VPNs are used to protect private web traffic from snooping, interference, and censorship. Virtually anyone can benefit from VPN, whether it is to access content outside of your territory, protect your private information, or get access to cheap airfares. There are many attributes that must be considered when choosing a VPN as well; not all VPNs were created equal.

There are two basic VPN types:

1. Remote Access VPN
2. Site – to – Site VPN

Types of VPN protocols:

The above two VPN types are based on different VPN security protocols. Each of these VPN protocols offers different features and levels of security.

Saturday, July 07, 2018

Install TensorFlow 1.8 on Raspberry Pi 3 Model B+ [Complete Instruction Manual 2018]

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install python-pip python-dev

wget https://www.piwheels.org/simple/tensorflow/tensorflow-1.8.0-cp27-none-linux_armv7l.whl
sudo pip install tensorflow-1.8.0-cp27-none-linux_armv7l.whl
sudo pip uninstall mock
sudo pip install mock

/*
Test program HelloTensor.py
*/

sudo pip install pillow
sudo pip install lxml
sudo pip install jupyter
sudo pip install matplotlib
sudo pip install protobuf
git clone https://github.com/tensorflow/models.git
cd models
cd research
protoc object_detection/protos/*.proto --python_out=.
export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim

/*
If Protobuf is throwing errors:

sudo apt-get install autoconf automake libtool curl make g++ unzip
wget https://github.com/google/protobuf/releases/download/v3.6.0/protobuf-cpp-3.6.0.tar.gz
tar -xvf protobuf-cpp-3.2.0.tar.gz
cd protobuf-3.2.0
./autogen.sh
./configure
make
make check
sudo make install
sudo ldconfig
*/

sudo pip install --upgrade pip
sudo apt-get install -y python-seaborn python-pandas
sudo apt-get install -y ttf-bitstream-vera
sudo pip install --upgrade tensorflow

jupyter notebook object_detection_tutorial.ipynb
jupyter nbconvert --to=html --ExecutePreprocessor.enabled=True object_detection_tutorial.ipynb

Sunday, March 25, 2018

C++ Array Declaration Stack Overflow Exception

Error: Stack overflow when declaring a huge array in C++.

Unhandled exception at 0x00007FF60B7040C8 in Tutorial.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x00000081A80D3000). occurred


Problem code:

#include <iostream>
#include <fstream>

int main()
{
    //do something..

    int nar[10000000];

    //do something more..

    return 0;
}


Friday, February 16, 2018

[How To] Download image from Google

Google has recently removed "View Image" button from its search results. But don't get disappointed, you still can download image from Google searches.

Step 1: Search what are you are looking for in Google, and switch to Images tab from All tab.


Step 2: Scroll google image search page until you find what you want.


Step 3: Click on the image you want to download and click on "Visit" button.

Hide password in Command prompt


@echo off

set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^
    $BSTR=[System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
        [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""

for /f "usebackq delims=" %%p in (`%psCommand%`) do set password=%%p

echo %password%