Slider[Style1]

Add your own Facebook page to your workplace

You are owner of a business and own official page of your business on Facebook but unable to attach your own page as your workplace in event post.
Here are the steps you can follow to do it manually.


Step : 1

You must be an owner/admin of your official fan page. If you are not the owner/admin of the page, no worry, you only need to know the page id of the page you want to add to your workplace.

For an admin : to know your page id, follow these steps...
  • Go to your page
  • About
  • Scroll down the page
You will see the Facebook ID. Note it down.

For other users who are not the admin of the page, follow these steps...

  • visit : http://findmyfbid.com/
  • copy and paste the Facebook page URL in the input box
  • You will get the Facebook page ID, note it down

Step : 2

Download "web developer" extension from Chrome web store HERE

Step : 3

Go to your Facebook profile page and add an Life Event >> work & Education >> New Job


In the pop up, enter your page name and select any page from the suggested list.
Now click on the gear icon in the extension on the top right corner of google chrome browser and click on Display Form Detail.


Next you will see some html codes around your form.

Next to Employer, in the input box replace ID with your own page's ID which was copied earlier.

No need to change the page name, just ID is to be replaced.

Step : 4

Now disable the Form Detail from the extension following the same step as earlier.

Step : 5

Fill other details in the form and save it.

You will see your page listed as your workplace in your profile now.


Do Comment, if it works for you.

QR Code Generator in JAVA

Short Description...

QR (abbreviated as Quick Response) is the trademark for a type of matrix barcode (or two-dimensional or 2D barcode) first designed for the automotive industry in Japan. A barcode is a machine-readable optical label that contains information about the item to which it is attached.

A QR code consists of black modules (square dots) arranged in a square grid on a white background, which can be read by an imaging device (such as a camera, scanner, etc.) and processed using Reed-Solomon error correction until the image can be appropriately interpreted. The required data are then extracted from patterns that are present in both horizontal and vertical components of the image.

Output...
Scan this code and Comment the secret written in it.
Lets Code...

Lets do some magic in JAVA to create own program to generate QR Code. If you are familiar with JAVA then it ok otherwise you must first follow some good tutorial of Java. They can be found at www.javatpoint.com, www.tutorialspoint.com etc

In JAVA creating a whole program to create QR Code is a little bit tricky to do but don't worry I am not going to teach you whole programming. Yes, we are going to use some pre-build libraries by ZXing (get on github).

Prerequisite...

  • Netbeans (IDE) with JAVA latest SDK
  • ZXing QR Code generator libraries (Download)

Libraries...

  • qrgen-1.3.jar
  • zxing-core-2.0.jar
  • zxing-1.7.jar
Get them from official ZXing github repository or download them directly from HERE.

Lets Do it...

Step 1 :  

Create a new JAVA project in Netbeans IDE and name it QRCodeGenerator.

Step 2

Expand the project folder on left of Netbeans IDE and right click on Libraries and select Add JAVR/Folder

Step 3

Move to the folder where you have downloaded jar files on the left and select all three file on the right box and click OK

Step 4

Write the following java code in main java file

/*
 * 
 * QRCodeGenerator.java
 * 
 */

package qrcodegenerator;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.Scanner;
import net.glxn.qrgen.QRCode;
import net.glxn.qrgen.image.ImageType;

/**
 * @author anujsharma
 **/
public class QRCodeGenerator {

    /**
     * @param args the command line arguments
     * @throws java.io.FileNotFoundException
     */
    public static void main(String[] args) throws FileNotFoundException, IOException {
        // TODO code application logic here
        
        Scanner sc = new Scanner(System.in);
        
        System.out.println("QR CODE Generator....");
        System.out.println("********************************");
        System.out.println("Enter The String to create QR : ");
        String details = sc.nextLine();
        System.out.println("Enter the path to export QR File : ");
        String path = sc.nextLine();
        
        ByteArrayOutputStream out = QRCode.from(details).to(ImageType.PNG).withSize(300, 300).stream();
        
        File f = new File(path+"qr.png");
        
        FileOutputStream fos = new FileOutputStream(f);
        
        fos.write(out.toByteArray());
        fos.flush();
        
        System.out.println("QR Code Created Successfully.");
    }   
}



Step 5 

Thats it... Now run your file and get your QR Code generated

NOTE:::
User Inputs....
PATH : to produce QR Code at the location given.

Ubuntu Touch coming to India :Ubuntu Based BQ Aquaris Phones To Reach India


The new open source-based mobile operating system which was introduced just six months ago, has reached various nations after it joined hands with smartphone manufacturers like BQ and Meizu

Canonical is gradually reaching out to the world. After entering China, Europe, the United States with its Ubuntu phones, it is now venturing into the Indian markets. The new open source based mobile operating system which was introduced just six months ago, has reached various nations after it joined hands with smartphone manufacturers like Bq and Meizu. Now the BQ Aquaris E4.5 and BQ Aquaris E5 phones are all set to make their debut in India.




While the operating system is still under development, it is successful in various regions. Ubuntu Touch would soon become a global phenomenon. While it is focusing on one region at a time, we hear that Ubuntu based phones would reach India by the end of this month.

"BQ will be launching the same two European devices. BQ Aquaris E4.5 and BQ Aquaris E5, with a black variant in India on the Snapdeal website. Two weeks after the launch, there will be an Ubuntu Store on Snapdeal where other Ubuntu products will be available. We haven't got a precise date for the launch, but it will happen probably in the next two weeks. For the Indian launch, Ubuntu Phone will not be released on devices with a specific Indian image but there will be specific apps content available from an Indian specific app store," Carla Sella posted on the blog.

India is definitely one of the biggest smartphone markets in the world. Hence, it will be interesting to see the performance of Ubuntu handsets in our country. While, Android operating system (OS) has already made its market in Indian, tech buffs are eagerly waiting for an open source mobile operating system. Meanwhile, BQ Aquaris E4.5 and BQ Aquaris E5 are priced at ₹ 12, 250 ₹ 14,500 in Europe respectively. 

Its Time to get M.......with Andriod M....!!!


  As expected Google has today announced Android 6.0 which it has codenamed ‘Android M’. Google repeated this trick last year when it unveiled Android (5.0) Lollipop, referring to it as ‘Android L’ right until launch. Far more important, however, is what Android M brings to the table – in short:.......what’s the difference???????




Native fingerprint support


We've seen some smartphone manufacturers already include fingerprint scanners in their devices, but with Android M, Google is looking to make the support standardized across the whole platform. To confirm rumors, native fingerprint support is coming to Android M using a standard API. That will mean that devices with a fingerprint scanner, like the Samsung Galaxy S6, can offer the same range of features.



The new feature will make it easy for Android phones with fingerprint readers to support mobile payments. You can authorize Android Pay transactions, and support can be integrated into other apps, so anyone will be able to use it.
With a partnership with Google on Lollipop, Samsung delivered important bits of code to the Android operating system with its SELinux security reinforcements. The new fingerprint scanner support to stock Android will now benefit the entire Android ecosystem. This would effectively restrict the access of Android phones to their owners, something which is so far only possible on some of the high-end flagships from a select few manufacturers.

Android Pay

Left off on Lollipop, one of the big introductions of Android M is Android Pay. It will be pre-installed on Android 4.4+ devices and will be supported on devices with NFC running Android KitKat and above without opening any app. Android Pay is secure because a virtual card number is created when you register a payment card, rather than an actual card number.


SECRET FEATUES......!!!
Secret # 1 – Full App State Backup
Quite frankly I’m stunned Google left this out of its presentation because it’s huge. With Android M Google will now automatically backup all app preferences and settings within Google Drive.
This brings Android into line with iOS and means restore or upgrading a phone will be virtually painless: apps will not only be reinstalled, but fully setup. Better still apps don’t need to do anything to be compatible with this change, Full App State Backup is built into the core of Android M.
Secret #2 – Redesigned, Searchable App Drawer
Android M brings with it a heavily redesigned app drawer. The new design is likely to be polarising (I think it looks cartoonish and wastes space) but it offers much greater functionality than before.
For starters users can search for apps at the top of the app drawer, handy for those with lots of apps installed. Secondly recently used apps get their own top row for quick access, and thirdly apps are more clearly alphabetised for better visibility.
Interestingly the app drawer also now scrolls vertically instead of horizontally. This hadn’t been seen since the second generation of Android, but since vertical scrolling is generally considered more comfortable and our collection of apps gets ever longer, so switching back makes sense.


Secret #3 – System UI Tuner
Praise be! Google is finally allowing users to customise quick access settings in the pull down Notification bar. The likes of aeroplane mode, auto-rotate, torch, hotspot, Cast screen, mobile signal and more can now be moved around or removed completely.

Secret #4 – Uninstall Apps From The Homescreen
This has been so long awaited that some third party Android skins already allow it: long pressing apps on Android M homescreens now gives the option to either remove the shortcut or uninstall the app completely.
Previously the only option was to remove the shortcut and users had to trawl through the app drawer to find the app before it could be uninstalled. The new change is simple, logical and very welcome.

Secret #5 – Dark Theme
Not a fan of Android Lollipop’s extensively white respray? Google forgot to mention Android M will bring a new dark option to menus and settings which realigns it more closely with the colour scheme of Android KitKat.
There is also an ‘automatic’ option which will use the white theme during the day and switch to dark during the evenings. Hopefully further colour options will also come between now and release.

Secret #6 – Native Support For External Storage
Many (rightly) bemoaned the way Android Kitkat reduced the functionality of expandable storage. Lollipop brought back some lost functionality, but Android M will go a step further and treat microSD cards just like native storage.
This will get a big cheer from many given microSD cards are getting so much faster there is less of a performance penalty for offloading apps and media to them. It will also be a poke in the eye for Samsung which has controversially removed expandable storage from the Galaxy S line.

Secret #7 – Google Voice Search Lockscreen Access
Representative of the changing way we use our phones, Android M will ditch quick access to your phone’s dialler from the lockscreen in favour of quick access to Google Voice Search.
While this move won’t please those who make many calls a day, it will prove handy to others and shows Google’s determination to put itself back at the heart of Android. Something also clearly seen in the potentially revolutionary introduction of Google Now On Tap.
Secret #8 – 5GHz Tethering
A small tweak, but when using your Android phone or tablet as a mobile hotspot you will now be able to broadcast the signal using 5GHz WiFi not just 2.4GHz.
It is debateable whether tethering ever reaches speeds where the superior performance of 5GHz WiFi would be felt, but given the rise of ever faster iterations of 4G this should future proof your tethering for a number of years.
Secret #9 – Native A2DP Bluetooth Streaming
Lastly we have something of a catch up feature. Most Bluetooth speakers and earpieces already employ A2DP’s dual channel stereo technology, but by building it natively into Android M developers have one less step to do and it should take away the excuse to make any subpar A2DP incompatible devices.
That said I would have preferred to see native support for AptX in Android M, this is a much higher quality Bluetooth streaming protocol already widely used by many device makers – including Samsung. It goes on my wishlist for Android 7.0 N.

Boot animation for yureka


This is to change your boring  boot animation of your Android CyanogenMod OS phone........into some thing much more attractive......



Follow the simple steps to change your boot animation....
  1. Go to play store.... Here
    2. Now search for "boot amination of cm12"....

                                                   
                                         
3. Now you can choice any of the boot animation available out here accordingly................

**TO see this boot animation go the link https://www.youtube.com/watch?v=gx-8PGSpHRE on the you tube**



4. This is a watch dogs animation game's phone boot animation that i have used used,
don't worry it works perfectly even with cm12 even it was actually made for cm11


5. After installing the application you just need to open it make changes according to 
your choice, like for ring tone, wallpaper, message alerts..........


6. Now just restart your phone and see the newly installed boot animation of your phone....


                                                                                                                                                      

µTorrent on Ubuntu [Linux]

µTorrent, or uTorrent is a freeware, ad-supported, proprietary BitTorrent client owned and developed by BitTorrent, Inc. With over 100 million users. It is the most widely used BitTorrent client.


µTorrent is used to download .torrent and magnet files (movies, games, songs, etc).
µTorrent is all platforms and is mostly used on windows pc. Setting up µTorrent on Ubuntu is a little bit tricky.
But don't worry, I am here to help you go through it and use µTorrent on your Ubuntu PC.

Steps to be Followed:

1 : Download latest µTorrent Server from here

Note: (You need to download uTorrent Server for 13.04, also works for Ubuntu 14.04)

2 :  Extract uTorrent Files

  • Launch terminal and change directory to Downloads folder
cd Downloads/
  • Extract uTorrent files to the /opt directory
  • sudo tar xvzf utserver.tar.gz -C /opt/
    
3 : Set Permission
  • Set permission on uTorrent-server folder
  • sudo chmod -R 777 /opt/utorrent-server-alpha-v3_3/
4 : Set Symbolic Link
  • Run the command to link uTorrent server to the /user/bin directory.
  • sudo ln -s /opt/utorrent-server-alpha-v3_3/utserver /usr/bin/utserver
    
5 : Start µTorrent


utserver -settingspath /opt/utorrent-server-alpha-v3_3/
Note: If you get an error about libssl.so package missing, run the command below to install it, then try starting it again.

sudo apt-get install libssl0.9.8:i386

6 : Log on to µTorrent

  • Open Firefox and browse to the URL

  • localhost:8080/gui
The username is admin and leave the password field empty



3 Ways to mount Linux Partition on Windows System

If you’re dual-booting Windows and Linux, you’ll probably want to access files on your Linux system from Windows at some point. Linux has built-in support for Windows NTFS partitions, but Windows can’t read Linux partitions without third-party software.


This list is focused on applications that support the Ext4 file system, which most new Linux distributions use by default. These applications all support Ext2 and Ext3, too – and one of them even supports ReiserFS.

Ext2Fsd

Ext2Fsd is a Windows file system driver for the Ext2, Ext3, and Ext4 file systems. It allows Windows to read Linux file systems natively, providing access to the file system via a drive letter that any program can acess.

You can have Ext2Fsd launch at every boot or only open it when you need it. While you can theoretically enable support for writing to Linux partitions, I haven’t tested this. I’d be worried about this option, myself – a lot can go wrong. Read-only support is fine, though, and doesn’t have a risk of messing anything up.

The Ext2 Volume Manager application allows you to define mount points for your Linux partitions and change Ext2Fsd’s settings.

If you didn’t set Ext2Fsd to autostart at boot, you’ll have to go into Tools –> Service Management and start the Ext2Fsd service before you can access your Linux files. By default, the driver automatically mounts and assigns drive letters to your Linux partitions, so you don’t have to do anything extra.

You’ll find your Linux partitions mounted at their own drive letters in Windows Explorer. You can access the files on them from any application, without the hassle of copying files to your Windows partition before accessing them.

This partition’s file system as actually EXT4, but Ext2Fsd can read it fine, anyway. If you’re looking for your personal files, you’ll find them in your /home/NAME directory.



DiskInternal's Linux Reader

Linux Reader is a freeware application from DiskInternals, developers of data recovery software. In addition to the Ext file systems, Linux Reader also supports ReiserFS and Apple’s HFS and HFS+ file systems. It’s read-only, so it can’t damage your Linux file system.


Linux Reader doesn’t provide access via a drive letter – it’s a separate application you launch to browse your Linux partitions.

Linux Reader shows previews of your files, making it easy to find the right one.

If you want to work with a file in Windows, you’ll have to save the file from your Linux partition to your Windows file system with the Save option. You can also save entire directories of files.


Ext2explore

It’s an open-source application that works similarly to DiskInternals Linux Reader — but only for Ext4, Ext3, and Ext2 partitions. It also lacks file previews, but it has one advantage: it doesn’t have to be installed; you can just download the .exe and run it.


The Ext2explore.exe program must be run as administrator or you’ll get an error – you can do this from the right-click menu.

To save some time in the future, go into the file’s properties window and enable the “Run this program as an administrator” option on the Compatibility tab.

As with Linux Reader, you’ll have to save a file or directory to your Windows system before you can open it in other programs.

graphics.h working in Linux - Ubuntu

Working on Linux distribution is a fun way, tricky and ....... (rest you know, if you r a linux user).

Although Ubuntu come pre-added programming language support for The Coders like you. But, it miss some dependencies which is required to add manualy.

Lets see how to get graphics.h header file working in Ubuntu.



There are several option available to do graphics programming using Ubuntu.

Using SDL

If you want to use graphics.h on Ubuntu platform you need to compile and install libgraph. It is the implementation of turbo c graphics API on Linux using SDL.

It is not very powerful and suitable for production quality application, but it is simple and easy to use for learning purpose.

You can download it from here.


  • Open terminal window by pressing Ctrl+Alt+T
  • First install build-essential by typing in terminal
sudo apt-get install build-essential

  •  Install some additional packages by typing

sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-1.8 \
  guile-1.8-dev libsdl1.2debian libart-2.0-dev libaudiofile-dev \
  libesd0-dev libdirectfb-dev libdirectfb-extra libfreetype6-dev \
  libxext-dev x11proto-xext-dev libfreetype6 libaa1 libaa1-dev \
  libslang2-dev libasound2 libasound2-dev

  • Now extract the downloaded libgraph-1.0.2.tar.gz file.
  • Goto extracted folder and run following command
 ./configure
make
sudo make install
sudo cp /usr/local/lib/libgraph.* /usr/lib

  • Now you can use #include<graphics.h> on ubuntu platform
  • Use following line in your program
int gd=DETECT,gm;
initgraph(&gd,&gm,NULL);
Here is a sample program using graphics.h

/*  demo.c*/
#include<graphics.h>
int main()
{
   int gd = DETECT,gm,left=100,top=100,right=200,bottom=200,x= 300,y=150,radius=50;
   initgraph(&gd,&gm,NULL);
   rectangle(left, top, right, bottom);
   circle(x, y, radius);
   bar(left + 300, top, right + 300, bottom);
   line(left - 10, top + 150, left + 410, top + 150);
   ellipse(x, y + 200, 0, 360, 100, 50);
   outtextxy(left + 100, top + 325, "C Graphics Program");
   delay(5000);
   closegraph();
   return 0;
}

  • To compile it use
gcc demo.c -o demo -lgraph

  • To run type
./demo

Using OpenGL (via GLUT)

Although OpenGL is basically made for 3D programming, drawwing 2D shapes gives the basic outline and introduction to OpenGL and gives the idea about how to start drawing objects in OpenGL.

  • To install GLUT, open terminal and type sudo apt-get install freeglut3-dev
  • Here is a simple graphics program using GLUT
/*  demo.c*/
#include <GL/gl.h>
#include <GL/glut.h>
#include <GL/glu.h>
void setup() {   glClearColor(1.0f, 1.0f, 1.0f, 1.0f); }
void display()
   {
      glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
      glColor3f(0.0f, 0.0f, 0.0f);
      glRectf(-0.75f,0.75f, 0.75f, -0.75f);
      glutSwapBuffers();
   }
int main(int argc, char *argv[])
  {
     glutInit(&argc, argv);
     glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE);
     glutInitWindowSize(800,600);
     glutCreateWindow("Hello World");
     setup();
     glutDisplayFunc(display);
     glutMainLoop();
     return 0;
  }

  • Compile it using 
gcc demo.c -o demo -lglut -lGL 

  • Run is using 
 ./demo


AirDroid ... an awesome tool to connect your Android with PC


Hey guys... I am here with an awesome tool for you all android users. We all use Bluetooth to transfer our files between different mobile phones. Many uses WiFi technology to meet the requirement which is lightning fast than Bluetooth.
 
    What if you want to transfer files between your smart device and your PC. Do you remove your SD from phone and insert it back into the PC/laptop ? Are you still using that old Bluetooth technology ?

  Just grow up. Here I am going to share a new tool which is much more handy and advanced. You will feel a hacker in you.
   so, lets the journey begin.......................................


AirDroid

This is an awesome tool which enable you to transfer file(s) between your smart phone and your PC.
This tool is 100% free and can be downloaded from Playstore.


Hacking Begins here

Install the app on your phone. 
Open the app and follow the instruction on the screen. It will ask to Register/Login. Login if are a member of AirDroid or if you want to be a member, you can register there. or simply select 'login later'.

Connect your phone with the same WiFi hotspot being used by your PC/laptop. If you don't have a WiFi router, don't worry just start hotspot on your android device and connect your PC with the WiFi hotspot of your device.

Now start your AirDroid app and click on connect. You will get a link like http://192.168.150.2:8888

Open web browser on your PC/laptop. e.g. Chrome or Firefox, etc.

Enter the address in the address bar of the screen.

You will be asked to confirm connection on your device. Just confirm the connection.

Your are done.......................

Now you will get a screen on your browser containing your phone details.