Garbage Bag

All my Garbage talks and junk codes

Month: March, 2010

twitmdu2010 meet – A good init on twitter awareness

Plot to escape :

I used to worry at every Sundays why I have to waste my precious hours in boredom CAT class in TIME and always used to seek a chance to escape from it . By this time I got a tweet from twitmdu2010 .Its really amazing to hear a IT techtalk being organized even in madurai that too free of cost ( rather not like other money gaining useless workshops or conferences ) .Even I didn’t had a chance to register online I went directly there asking for spot registration.

Welcome to twitmdu2010:

Fortunately their welcome was pleasing and well-organized which I didn’t even expect . Then after a short intro to twitter and how it works they started the session .

Why and how to use twitter :

At the start they frankly mentioned twitter is used by 90 % people for their boredom and to kill time on something. Well then bloggers too used  spam their followers with unwanted posts an blah blah ..But the main aim of every twitter user is to gain as many followers as possible . They may be ranging from  personal thoughts about a user or a brand based canvasing or any tips and new things about technology.Anything it may be the main mantra to get as many followers is Quality Content in your each and every tweets.

The two keys @ and # are explained where @ is to gain attention of particular user and # tag to make other people make their search way easily to you.Then inorder to contact celebrities you like and ask them or to know what they are doing at present is easily possible through twitter since it has  ‘on the go’ support from iPhone or PC even through sms  channels around the world .

Do’s about tweets:

Even they clearly mentioned 140 characters is more than enough for displaying your view try to make it within 100 characters  . Because  retweets may add you name with @ tag . Next thing is choose you name as small as possible . Lecture by Mr. Kalyana sundaram he said why he choose his user name as “$5″ was really good and others too try to have shorter one like that .

Don’ts about twitter:

If you tweet about several things and diverge the followers from what they want then sure you gonna loose them .So streamline your passion towards a single line or at least HashTag your tweet with appropriate words.Bad thing you may have to be mentioned about twitter is following huge number of peoples with a intention that you may get huge knowledge from all parts of the world by doing so. Best case is to have 35 to 50 followers whom you think worthy and you actually know about him.Tweets are not intended for grocery or wholesalers business ( you can try google business as choice for that ) . IT and IT related stuffs gain more trends and importance in twitter.

Tweets as News Agent:

Amazing facts are even NASA tweets the current status of space and many geo-testing plants tweet the earthquake prone area to save people . Many news like tiger woods have been first put on twitter other on any outstanding news channels like CNN or BBC .

Twitter API development :

Going on towards twitter development any one can start developing twitter application using twitter API for any language. I tried it with java and python and found it working :) .Choice of which API to choose depends on the programmers perspective and its speed of refreshing .I heard something like more than 250 times ping from API  per hour will black list particular user and don’t show further tweets. Its a sad news for me :( . But  developers can claim a 20,000 ping per hour by just priory asking permission to twitter developers :) .

Added services on twitter :

For URL shortening and spamming others ( sometimes useful :D ) use bit.ly.

similarly you can share anything as in other social network like .

* picture upload by twit.pic

* feed updater by twit.feed

* upload a video by twit.vid

and so on additional services are emerging for twitter .

Sad Incident about # tag :

Then heard a short session about CCD sucks with tag  #CCDsucks . Really humorous :D .To be in precise whenever yu get a negative remark about you in twitter with a # tag say for e.g) #karthikselvaSucks

just dont reply to it by using same tag but reply to such negative tweets by adding #karthikselvaResponse tags and  mention you reply clearly to particular user who gave you such remark. Never use the same hash tag to reply and loose your reputation yourself.

Im sorry I missed the afternoon session and I found really worthy  to spent my time there @twitmdu2010

Thank you for organizing such a great event twitmdu2010 and expecting more camps like this :)

But I still have a doubt how and why twitmdu has to organize this informative camp for free ??

Setting up a Virtual Network


* Make sure all your network harware works properly (e.g. Ethernet Cards, Network cables etc.)
* Click the NetworkManager Applet in your top panel of GNOME environment.
* Select VPN Connections | Configure VPN
* Choose Wired tab
* Click Add button
* Provide your new connection a name
* Trace the MAC address of your Ethernet Card from the existing connection (e.g. Auto eth0)
* Choose IPv4 Settings tab
* Set the Method as “Manual”
* Under Addresses section, Click add button.
* A new tuple (or record or row) appears.
* Fill the column with appropriate data. (e.g. 192.0.0.1 | 255.255.255.0 | 0.0.0.0)
* The subnet mask address must be given as per your IP address
* Click Apply
* Now back to the Network Connection window
* A new network connection will be displayed
* Close it
* Click NetworkManager Applet in the top panel of the GNOME
* Select your network setup
* Wait for a while
* A new network has been set up

Nota Bene:

Do the same with different IP address for different computers.
Ensure all the IP address fall in the same network.
e.g.
—-
192.0.0.1 and 192.0.0.2 falls in same network,
but 192.0.0.1 and 192.0.1.1 is not the same.

Now transferring files between two systems and remote shell login

* Ensure your computer has  OpenSSH installed in it.
* Else, please spend some time installing it.
* It can be installed by “sudo apt-get install openssh*”
* After installing SSH, type the command to restart it
* sudo /etc/init.d/ssh restart ( in all computers )
* Now check the ssh by the command “ssh localhost”
* If it works properly, now are ready to transfer and share fun

Transferring files:

* Have the file to be transferred in a place (let we take sample.txt)
* We want to transfer the sample.txt to strawberry user at 192.0.0.2
* The command is: scp sample.txt strawberry@192.0.0.2:. ( . represents home folder)
* Cool, work is done



Courtesy : P U Karthik 

Building your fax machine with nothing :)

Now you can build your own fax machine with your linux box

Requitements :

i) Linux OS

ii) GSM mobile

iii) A basic printer device

Softwares:

i) Gnokii-smsd

ii) Mysql

if you have any problem in configuring your mobile and your linux you can refer to this article

Now assume your sms daemon is up and running and you have all your messages in INBOX table of SMSGW database

with simple steps you can make your own fax machine

step 1)

configure your printer and check wheteher a test page is being printed . Else install appropriate driver first from hplip

step 2)

then as in dicitionary server connect to mysql database  and  just add an if  condition

the core part is

if(word.startswith(“fax:”)):
up=” echo \”"+str(word.replace(“fax:”,”"))+”\” > print.txt”;
low=” cat print.txt | lpr -P HP_LaserJet_1020″

then just execute the both as

import os

os.system(up)

os.system(low)


step 3)

Here , after lpr -P < your printer name > for me it is HP_LaserJet_1020

then  mention the mobile number as the fax number of your company  and you will start receiving faxes in papers instead of text messages :)

step 4)

Then let the mobile you attached to PC be +xxxxxx

now people who fax you will send a message like

fax:< Their message here >

step 5)

you can add an authentication  module in between receiving and printing the message

Enjoy :)

முத்துகுமரன்க்கு ஒரு கவிதை :)

கை நீட்டி மேடையில் பேசியவன் – உன்னால்
கை கட்டி பின் வரும் மாயம் என்ன

கைபேசி கையாள தடவியவன் அன்று – அது
கையுக்குள் புகையும் வரை  வருப்பவனாய்    இன்று

படம் பார்க்க திரை சென்றோம்
நான் பார்த்தது திரைப்படம்  ஆனால்
நீ பார்த்ததோ அவள் புகைப்படம்  தானே

சர்பத்தினை பெயராய் கொண்டு
சிற்பமாய் இருந்தவள் அவள்

சிந்தனை பல செய்து வைத்தாய் – எல்லாம்
சிதறிப்போனதே I.V.   இலே

திவ்யம் ஒரு கணம் மறைய
தேவி மறு கணம் புனைந்தால்
‘உன்னை  அறியா என்று’ – அன்றோ

சோதனையிலும் சுந்தரனாய் சிரித்தாய் – ஆனால்
உன் மனம் பட்ட வேதனை தான் எத்தனை எத்தனை !!!

Follow

Get every new post delivered to your Inbox.