IT learner
Headlines News :

Latest Post

MenU vs West Hame 05/15/2015 Live Streaming

Written By Unknown on Saturday, December 5, 2015 | 7:16 AM

<iframe width="780" height="590" frameborder="0" allowfullscreen="" src="http://tv.ls-

Cadiz - Real Madrid Dec/3/2015 Live Streaming

Written By Unknown on Wednesday, December 2, 2015 | 1:19 PM

Stack

Written By Unknown on Thursday, December 18, 2014 | 6:17 AM

[code language="HTML"] #Define MaxStack struct stack { int Top; DataType node[MaxStack]; }; Struct Stack st, a[0], *ps [/code]

Controlling Raspberry Pi via text message

Written By Unknown on Saturday, December 13, 2014 | 1:44 PM

This script enables you to control your computer via text message. Think of it almost as a version of SSH over text message.

It is designed to intelligently and quickly check unread Google voice messages. If certain parameters are passed, it runs the command you send and returns the result.
This is the third script in my AUI (Alternative User Interface) Series.
This requires curl and libboost1.50-regex. The setup script can install curl and boost regex. 

NOTE: This will work with any linux OS but I am using it on the Raspberry Pi so if you are using something else, you will have to compile it yourself (make sure to change the Makefile flags).

The stable version is on github here:

And the working copy source can be found here:
http://stevenhickson-code.googlecode.com/svn/trunk/AUI/TextCommand/


Google Voice unfortunately doesn't have an API available so I started writing my own.
I found this page and this page which were good references. Unfortunately, neither of these actually worked, so I wrote my own based off them. The script will install this and you are free to use it however you want as long as you cite me and follow GPLv3.

It works by using cron to run a script once every minute. The script checks your unread inbox messages and uses curl to make sure certain safety parameters are met. It is very important to check the unread inbox as it only pulls a 1-3 KB file rather than a 150+ KB file. This really adds up once a minute over time. If certain parameters are met, ie it has a valid phone number and command, then it runs the command you give it. The results of the command are then texted back to you. 
This will not work with interactive scripts like more or man

Installation Instructions

(this requires git)

sudo apt-get install git-core
git clone git://github.com/StevenHickson/PiAUISuite.git
cd PiAUISuite/Install/
./InstallAUISuite.sh

Update Instructions 

cd PiAUISuite
git pull
cd Install
sudo ./UpdateAUISuite.sh


There are other scripts in here that you can ignore. It will ask you the username details in the script.
This will be your Google voice username, password, key, and valid number.

Your Google voice username will be your e-mail. For example:
John.Doe@gmail.com
Your password is your Google voice password:
ThisIsntMyPassword
The key is the valid command-word that proceeds commands to the machine. For example, mine is Cmd. So I text:
Cmd ls
to have the pi text the results of the current directory back.
Your valid number is the phone number you want your google voice to receive commands from (Not your Google voice number!). You must put the country code but not the + sign. Ex:
15553332222

After that everything should work.
Note, I worked out a few major bugs with the install script and it is reposted now. So make sure to get the newest version.

Network Architecture

Written By Unknown on Thursday, February 27, 2014 | 10:07 AM

  • Network Architecture : ជាការរៀបចំបណ្តាញ Network (Physical) ជាមួយការចែកចាយ​ Resources (Sharing Resources)។
    Network Architecture ចែកចេញជា ២ ផ្នែកគឺ
    • Network topologies
    • Network Strategies
  1. Network topologies គឺជាការរៀបចំបណ្តាញ Network។ Network topologies មាន ២ទៀតគឺ Legacy toplogy & Present topology។
  2. Network Strategies គឺជាការចែកចាយ Resources(Sharing Resources)។
  • Legacy topology    រួមមាន BUS Network, Ring Network, Star Network, Tree Network, Mesh Network,​and Hybrid Network។
    • BUS Network: 
      គឺជាការតផ្ចាប់បណ្តាញ Network​​ ដែលឧបករណ៍ទាំងអស់ផ្ជាប់គ្នាតាមរយះ Cable, ដូច្នេះការ  Transfer information ពីឧបករណ៍មួយទៅឧបករណ៍មួយទៀតតាមរយះ Cable។

    BUS Network

    • Ring Network:
      ឧបករណ៍នីមួយៗ អាចភ្ចាប់ទៅកាន់ឧបករណ៍ពីរផ្សេងទៀត។ កាលណា Message ត្រូវបានបញ្ជូនគឺឆ្លងកាត់ Ring (Circle) រហុតដល់គោលដៅ(Destination)។
    • Star Network:
      ឧបករណ៍នីមួយៗត្រូវបានផ្ជាប់ទៅ Central Network។
    • Tree Network:
      ឧបករណ៍នីមួយៗត្រូវបានផ្ជាប់ទៅ Central Nodes ។ Central Nodes នីមួយៗអាចផ្ជាប់ទៅកាន់ Subordinate Nodes ពីរ ឬ ច្រើនផ្សេងទៀត។
    • Mesh Network:
      is a newest topology that connects to more than one other devices.


    • Hybrid Network:
      ឧបករណ៍នីមួយៗត្រូវបានផ្ជាប់ដោយប្រើ topology ​ខុសគ្នា(2 or 3 topology រួមគ្នា)








Communication Network

Written By Unknown on Friday, January 31, 2014 | 2:10 PM

  • What is the Communication Network?
     Communication Network is a system that can be transfer data from one area to other area.
  • There are 4 important things in Communication Network:
4. Data Transmission
3. Connection Divices or Communication Devices
    1. Sending/Receiving Devices


2.Communiction Channel

  • Communication Channel:
    • Physic connection channel:
      • Fiber Optic Cables
      • Coaxial Cables
      • Twisted Pair Cables
    • Wireless connection channel
      • Infrared
      • Bluetooth
      • Wi-Fi ( Wireless Firelity)
      • Radio Frequency
      • Satellite 
      • Microwave
  • Connection Devices or Communication Devices:
    • Internal Modem
    • External Modem
    • PC card Modem
    • Wireless Modem
The term of Computer Network 
  1. Nodes
  2. Host
  3. Server
  4. Client
  5. Direct Server
  6. Switch
  7. HUB
  8. NIC ( Network Interface Card )
  9. NOS ( Network Operation System)
  10. Network administration 

My favorite song

Written By Unknown on Tuesday, January 21, 2014 | 11:17 AM

u
 
Support : Copyright © 2014. IT learner - All Rights Reserved
Template Created by IT-Learner Published by Khim Leader
Proudly powered by Khim Vicheka