A Tweet Gallery in JAVA

                         As the title says the above image is the screenshot of a tweet gallery that i have designed using JAVA and JAVAFX., to access the tweets i have used twitter4j library.Below are the codes to design the gallery.Also My-SQL database is used to store the tweets periodically and when clicked on view then it shows the latest 25 tweets from the database. Code to authenticate User: package com.oksbwn.Y2014.twitter;import twitter4j.Twitter;import twitter4j.TwitterFactory;import twitter4j.conf.ConfigurationBuilder;public class getAuthorized { public Twitter auth() { String consumerKey = “”; String consumerSecret =””; String accessToken =…

Read More

MySQL database access using Python in Raspberry Pi

          While working with Python in Raspberry Pi it might be useful to have a database access for your application or somewher it is required.Or may be as a beginner you would like to use MySQL with Python.Here i have compiled a post on how to use MySQL with Python…               First of all you have to install python-MySQLdb which interacts between the My-SQL database and the Python.So to install it in the Raspberry-Pi terminal type..           sudo apt-get install python-mysqldb I have already installed so my…

Read More

Image Gallery using JAVA and JAVAFX

          I quite browsed internet a lot to find something to create a image gallery in JAVA but i got null out of it.So i started making my own gallery in JAVA and JAVAFX and also integrated SQL database with it so that i can keep the information about the images and my gallery can be searchable according to persons in the image or place or date taken etc.Here below i am providing the codes to make the gallery..My gallery looks like this :       So first…

Read More

Setting up apache webserver in Raspberry PI

     You might be interested in running a PI as your web server  for your network  as the tiny device doesn’t consume more power as compared to a full PC.Here are the steps followed.  install Apache by providing command  sudo apt-get install apache2 apache2-utils   You will be asked to download press y.    After the completion of installation of Apache now install  php.The pi  supports php5 so install it by    sudo apt-get install  libapache2-mod-php5 php5 php-pear php5-xcache same preess  Y to download packages when asked nest is to install…

Read More

Remote login to Raspberry Pi Desktop

  Remote log in is the concept where you can log in to other PC by using the IP address of the device and use the resources of it.In case of Pi it comes handy when you want to operate your Pi without monitor or say you don’t have it.I will show how to use putty and Xming to interact with the raspberry pi desktop.First download the required software as shown below.. Install the Xming and run putty.But before this we have to enable SSH in the Raspberry Pi ,To…

Read More

Booting Raspberry Pi from USB Flash Drive

      Loading OS over SD card is ok but it is not that faster and also have limited read/write cycles so one might look for USB Flash drive to load the OS and is also a cheaper option.It makes the PI little faster.So here i am posting how to boot your Pi from USB drive.       First write the image file to the USB Drive as int this post(installing-raspbian-over-raspberry-pi).This will write the os to the Drive.Now remove the SD card from the Pi and insert it to the…

Read More

Installing Raspbian over Raspberry PI (Booting the pi for first time)

   In this post i am going to show how to install a raspbian -wheezy OS over the Raspberry PI and configuring it to have the desktop.This is of course the first time you are going to boot your PI.First of all download the latest version of the OS from the raspberry PI official website.           Now download any image writing software to write the image to the SD card.(I have used the Win32ImageWriter software) and plugin the SD card to the PC.Now select the SD card from the…

Read More