www.ibooksharing.com
www.csBook-jack.blogspot.com
* programming in C++ , C , Java , HTML , Objective-C , Unix , Javascript , Xcode , iOS , Development , Computer Science and More *
article by Vessna :
30-Jan-2012,Lab SD-416,by Dr.John Ham
>> Login to http://dekdee.buu.ac.th
>> Download kopy.py.txt and sockit2me-2.5.tar.xz (python code) from
http://127.0.0.1/~mrham by command : linkshttp://127.0.0.1/~mrham
>> use arrow key for move and D bottom for download and Ctrl+C to exit browser
>> Change kopy.py.txt to kopy.py by command : mv kopy.py.txt kopy.py.txt
>> Change permission mode to run kopy.py by :
>> chmod +x kopy.py
or
>> chmod 0755 kopy.py
>> Run program kopy.py by command : ./kopy.py sockit2me-2.5.tar.xz newarchivetar
>> Then look at the new file newarchivetar and sockit2me-2.5.tar.xz are the same
size or not by command : ls -al
>> Check files by command : diff sockit2me-2.5.tar.xz newarchivetar
>> ( should not get output , which means files are the same and the copy work fine )
>> Extract file sockit2me-2.5.tar.zx by command : tar -xvJf sockit2me-2.5.tar.zx >>> After extracted successful then go to directory sockit2me-2.5/ and See more the
video clip below from Video 2 up : Video 1 :
These videos clip are made from students in faculty of Information in Burapha university : Group:
๕๓๑๖๐๐๑๔ นางสาวมาลินี มีโพธิ์ กลุ่ม ๑
๕๓๑๖๐๐๒๘นางสาวผกามาศ โวลา กลุ่ม ๑
๕๓๑๖๐๐๙๙ นายณัฐพงษ์ ศิริหล้า กลุ่ม ๒
๕๓๑๖๐๑๓๓ นายอิทธิพงศ์ ดีประสิทธิพร กลุ่ม ๒
๕๓๖๖๐๐๗๓ นายอภินันท์ อนุภาพอุดม กลุ่ม ๓๔๐๑
๕๓๖๖๐๐๘๔ นายชลธิศ แสงอากาศ กลุ่ม ๓๔๐๑
Video:
by 23-Jan-2012
recorded by Vessna This is where the original code for the C programs in the sockit2me examples comes from. I had to update it a little bit, but the socket information discussed on this web page is still mostly correct. However, modern linux systems do not have the h_addr macro definition any more, so I had to adjust the code for that. Also, atoi() is not safe, so I had to replace that. Video :
Lecture :
1. Download socket2me-2.0.tar.xz from dekdee.buu.ac.th/~mrham >> by links
command >> links http://dekdee.buu.ac.th/~mrham
>> then choose file socket2me-2.0.tar.xz >> ok
2. Extract it by tar >> tar xvJf sockit2me-2.0.tar.xz ( xvJf >> .xz )
go to directory sockit2me-2.0/
comand >> make to complie program
3. There are import file
in C language >>
client with server
in phyton language >>
client.py with server.py
4. How to send a message to server
* open in 2 windows , one for client and other for server
* to set name remcommand :
command >> export PS1="myserver $" on server windows
command >> export PS1="myclient $" on client windows
* sending message from client to sever
in C program :
myserver$
command >> ./server 10008 10008 is port number
[waiting for client]
myclient$
command >> ./client localhost 10008
Type your message : Hello server I am client 10008
I got your message
myserver$
Hello server I am client 10008
mysever$
in Phyton program :
myserver$
command >> ./server.py 10008
[waiting for client]
myclient$
command >> ./client localhost 10008
Type your messgae : Hello server I am client.py 10008
I got your message
myserver$
Hello sever I am client.py 10008
myserver$
5. Look at source code the program
phyton >> client.py & server.py
C >> client.c & server.c
Download : sockit2me-2.0.tar.xz
This archive contains simple client and server examples for TCP/IP stream sockets in C99 and python3. Next >>>
In your post just put this code html : <iframe allowfullscreen="" src="http://youtube.com/embed/ID" frameborder="0/1" height="number in pixel" width="number in pixel"></iframe>
>> framborder set 0 for no border and 1 for border : recommend to set as 1.
>> ID :
http://www.youtube.com/watch?v=lbXWRC2dy-E is ID :) exmple :
<iframe allowfullscreen="" src="http://youtube.com/embed/GR-OCjxKJyc" frameborder="1" height="370" width="560"></iframe> video will show like this :
for more visit Youtube >> share >> embed >> see the code
Simply a movie you are watching online it must be have its source file store in server then you want to download the those file by :
1. go to the http://www.youku.com then find any movies or series then click to find the online showing
2. take cursor to the address of the showing then add more "xia" after "." and before "youku" and enter
3.then you will see links to download directly for your windows !!!!!
With the recent release of the untethered jailbreak for iPhone 4S and iPad 2, the time has come for many of us to install some of our favorite jailbreak apps and tweaks again. Because there was no jailbreak for your iDevice for a few months, you might have been out of touch with the tweaks that recently came out.
But don’t worry, we’ve got you covered! We handpicked 100 jailbreak tweaks we think you should check out. Take your time to peruse this list. We’re confident you’ll find a few tweaks interesting enough to install on your freshly jailbroken iPhone 4S or iPad 2…
If that’s too overwhelming, we did all the legwork for you and have selected the best jailbreak tweaks for iPad and 10 awesome tweaks for iPhone 4S. Note that all these tweaks are not necessarily “must have” tweaks. They are tweaks that were released in the last six months that we think you should know about and take a look at. So don’t be surprised if you don’t see BiteSMS, LockInfo, or SBSettings in there…
App Switcher & Multitasking
Zephyr: Enable Multitasking Gestures on Your iPhone
These are instructions on how to perform an untethered jailbreak of your iPhone 4S using Absinthe for Windows.
Warning***: Before you continue make sure to do a backup of your device in iTunes as you may lose your Camera Roll during this process.
Step One
Download the latest version of Absinthe from here.
Step Two
Double click to extract the downloaded archive and launch the Absinthe application.
Step Three
As prompted, connect your iPhone 4S to the computer via USB. Make sure to remove any passcodes or VPN settings you've previously set.
Step Four
Click the Jailbreak button to begin
Step Five
The application will take you through several steps of the jailbreak: Sending initial data, waiting for reboot, waiting for device to finish booting, Preparing jailbreak data, and Sending payload data.
Step Six
You will be informed that the jailbreak is 'Almost done'.
Step Seven
On your device, locate the Absinthe icon and press it to complete your jailbreak. It could be on any homescreen.
If the server is down and you get an Error establishing a database connection message then tap the Settings icon on your springboard and turn on VPN.
You will get a configuration error; however, after about a minute your device will reboot with Cydia on the Springboard!
Step One
Download the latest version of Absinthe from here.
Step Two
Double click to extract the downloaded archive and launch the Absinthe application.
Step Three
As prompted, connect your iPad 2 to the computer via USB. Make sure to remove any passcodes or VPN settings you've previously set.
Step Four
Click the Jailbreak button to begin
Step Five
The application will take you through several steps of the jailbreak: Sending initial data, waiting for reboot, waiting for device to finish booting, Preparing jailbreak data, and Sending payload data.
Step Six
You will be informed that the jailbreak is 'Almost done'.
Step Seven
On you device, locate the Absinthe icon and press it to complete your jailbreak. It could be on any homescreen.
If the server is down and you get an Error establishing a database connection message then tap the Settings icon on your springboard and turn on VPN.
You will get a configuration error; however, after about a minute your device will reboot.
Once your device restarts you will be jailbroken with Cydia on the Springboard!
Today 21st January 2012, a team of Jailbreaker has released a tool for jailbreak A5 Chip iPhone4S and iPad2 which everyone were waiting for along time. Absinthe new jailbreak tool was uploaded to download and jailbreak your device.
These below are the instructions to jailbreak iPhone 4S and iPad 2:
Before doing these you better backup your data with iTune first (recommand) we are NOT responsibility for you work with jailbreaking but I have done it . Make it with your risk .!!!!!! 1.Devices for Jailbreak
.iPhone 4S iOS 5.01 / 5.0
.iPad 2 iOS 5.0.1 2.Download Absinthe Tool : Download for Mac only
Download for Windows only ( Coming soon )
Download for Linux only ( Coming soon ) 3.Plug your iPhone4S or iPad2 to computer then Launch Absinthe in your machine ( laptop or PC ) that you just downloaded and extracted out.
NOT*** - Make sure your deviceDOES NOT turn onPasscode Lock
- While processing DO NOT unplugyour device Just waiting... 4.When the Absinthe appear in your Home screen then go to Setting >> General >> Network >> VPN >> ( you must show jailbreak custom ) then Turn on VPN then it will show something and click then it will restart itself.
5.Cydia will appear instead of Absinthe in Home screen >> launch Cydia >> wait about a while the it will restart again !!!! >> then you have done your job !!
1. How make a script file with vi :
_Form_
_Out put only
# # is a command >> My new script
echo "Hello worl !!!!"
# echo is output tool
# _from : echo "......"
_Using Variable and out value of variable
# variable_name=value
name=keovessna
echo "My name is $name!!!"
# $variable_name to show value of variable
_Read value to varibale and out put value of variable
# read variable_name
echo "Your name :"
read name
echo "Name is $name"
_More full command
# a program calculate data of function degree 2 (x1,x2)
# using -e for more keyword in echo ex. \n \t \a \c
echo -e "Function degree 2 (x1,x2)\n"
echo -e "Axˆ2 + Bx + C = 0\n"
echo "A = "
read A
echo "B = "
read B
echo "C = "
read C
# data = b*b-4*a*c
data=`expr $B \* $B - 4 \* $A \* $C`
echo -e "data = $data\n"
2.How to run script after you wrote your script, it is not set as execution permission. So you have to make it as execution permission by >>
chmod 755 script_name _or_
chmod +x script_name
Then you can run this script with some shell script tool such as :
bash script_name _or_ sh script_name _or_ ./script_name