Tuesday, 23 September 2014

How to Resolve "Grub Rescue" Using Windows Repair Disc/LINUX Live CD

Some time when you have dual boot installed and then you remove one of the OS, say Linux setup. Then you will end up in the "grub rescue" prompt. Following steps will help you fix the Windows installation media 'grub rescue' using the windows repair disc you have or with the windows installation CD.


1) Get the Windows repair disc ready.
 Repair disk can be created by following steps. Start menu -> control panel -> backup and restore -> in left panel you will fine create a repair disc. Insert a CD and click. That’s it done :)

  
2) Get start the device (please refer to your device for boot option ex: dell -> F12) and choose Boot from CD/DVD option.

3) Then choose “command prompt” from Option list given.


4) Follow the steps, 

>bootrec /fixmbr 
>bootrec /fixboot 
>bootrec  /rebuildbcd

Command prompt will show successful message.....


Using Ubuntu Live cd:


  1. sudo mount /dev/sdaX /mnt
    Here, sdaX is your boot partition. You can get a list with sudo blkid like this,
    /dev/sda1: LABEL="Windows" UUID="BISBHBIUBYIVBI5968" TYPE="ntfs" 
    /dev/sda3: LABEL="Ubuntu 14.04" UUID="naskfjsdb-sdfsdf" TYPE="ext4" 
    /dev/sda8: LABEL="ENTIES" UUID="23534HDJFDB345" TYPE="ntfs" 
    /dev/sda9: LABEL="DATA" UUID="23432BVFGRDG" TYPE="vfat" 
    
    Note: sdaX must be Linux partition.
  2. sudo grub-install --boot-directory=/mnt/boot /dev/sda
  3. sudo update-grub


:) done ...restart the Machine and check. Good Luck :) 
 

Monday, 1 September 2014

C++ libraries that would help you..........

If you require finding out implementation of a particular functionality of C++ language, you don't need to waste your time searching on Google. Here we provide you a comprehensive list of top ten open source C++ libraries.

Generic 

Boost - It's a large collection of generic libraries

Dlib - This library contains information on networking, threads, graphical interfaces, data structures and more.

JUCE - It's a mature cross-platform C++ tool kit

Reason - It provides knowledge on xml, xpath, regex, threads, sockets, http, sql and so on.

Folly - This Facebook Open-source Library is designed with practicality and efficiency in mind.


Communication 

C++ RESTful framework - This is designed to be embedded into a wide range of applications.

C++ REST SDK - This is a HTTP client and listener.

Cpp-netlib - This is one of the best C++ Network Libraries.

Boost.Asio - It talks about asynchronous and synchronous networking, timers, serial I/O

POCO - It shares knowledge about networking, encryption, HTTP and Zip files

Graphic user interface 

FLTK -
 provides modern GUI functionality

nana - A modern C++ GUI library

WXWidgets  - C++ library that lets developers create applications for Windows, Mac OS X, Linux and other platforms

GTK+ 

gtkmm - C++ Interfaces for GTK+ and GNOME

goocanvasmm - canvas widget for GTK+ that uses the cairo 2D library for drawing.

libglademm 

libgnomecanvasmm 

Qt 
Qt

qwtplot3d 

qwt5 

libdbusmenu-qt

General Multimedia 

SFML (Simple and Fast Multimedia Library) 

SDL (Simple DirectMedia Layer) 

Graphics 

cairomm 

nux 

pangomm 

gegl 
plotutils 

Audio 

soundtouch 

chromaprint 

libofa 

libmusicbrainz 
audiofile 

Video 

crystalhd 

mjpegtools 

libmatroska 

libVLC 

gstreamermm 

3D Graphics 

Ogre3D

OpenGL 

GLEW 

GLFW 

assimp 





Source: efytimes