Showing posts with label problem. Show all posts
Showing posts with label problem. Show all posts

Thursday, December 8, 2016

Nokia 206 Lcd Light Problem Solution With Jumper

Nokia 206 Lcd Light Problem Solution With Jumper


Nokia asha 206 lcd ligh problem solution with jumper. If your Nokia 206 lcd ligh not working or not coming, and you want to solve this problem then you coming in the right place. This is very easy and simple solution for this problem.  Follow the given screen shots to solve your Nokia asha 206 lcd ligh problem easily.

Screen Shots

Nokia 206 Lcd Light Problem Solution With Jumper

Nokia 206 lcd ligh repairing solution is given at the below screen shot. View the screen shot to solve your Nokia asha 206 lcd light problem easily with jumper. If you are not understand this problem solution correctly then click here for more about this issue.

Go to link download

Read more »

Wednesday, December 7, 2016

Linux Mint 12 GNOME Freeze Hang Up Problem

Linux Mint 12 GNOME Freeze Hang Up Problem


Linux Mint is probably the distro that fixes all the mistakes that Ubuntu makes. Its built on the Ubuntu base while keeping a very light weight taste to it.

Recently the Lisa (12) release of Mint was released with various Desktop Environment including GNOME. Ive installed it and it was pretty good to me until a very annoying error was being caused by GNOME. It hung up at very random time forcing me to reboot the system using a Hard Boot. Later on I found this fix that reportedly solved the problem to some extent but still has some issues with Banshee Media Player. Anyway heres the how.

First download this file: Link 1
Go to the directory where you downloaded this file and run this command

sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js mgse-mediaplayer.diff 

Then download this file: Link 2

sudo patch /usr/share/gnome-shell/extensions/mediaplayer@linuxmint.com/extension.js mgse-mediaplayer.diff 

NOTE: Both the files have the same name so my commands are also same. But if you dont replace the first file with the second when downloading then you might need to change the command as per your files name.

This should fix the problem.

Source: [ Launchpad, Linux Mint Forums ]

Go to link download

Read more »

Saturday, December 3, 2016

How To Pobblem Lenova S650 Flash problem solution Here

How To Pobblem Lenova S650 Flash problem solution Here


Lenova S650 Flash problem


Hang on logo problem,after flash by nck dongle TOOL DL IMAGE FAIL ERROR msg coming


Go to link download

Read more »

Saturday, November 26, 2016

Fixing Netbeans font problem in Linux

Fixing Netbeans font problem in Linux


Netbeans shows really awful fonts when you run it on Linux based systems. The reason behind is not actually Linux itself. Its the default arguments used to invoke the Java stuff that Netbeans uses. It, by default, never invokes Anti Aliasing. Thus for, the ugly fonts. Time to fix this. Source [ https://thomashunter.name/blog/enabling-anti-aliasing-in-the-netbeans-editor/ ]

ATTENTION: The following method will always start Netbeans with Anti aliasing on. If you want otherwise, you should try using the extra arguments with the command you use to invoke Netbeans.

1. First locate netbeans.conf. I did that using the command

locate netbeans.conf
But, it usually is found in the directory

/usr/local/netbeans-[version]/etc/netbeans.conf

2. Open the file and look for the line

netbeans_default_options=

3. Between the quotes, youll see some Java related arguments. What you have to do is, make the line look like this

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m
-J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true
-J-Dsun.java2d.noddraw=true -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on"


Go to link download

Read more »

Monday, November 7, 2016

Fix Codeblocks Contrib install problem libhunspell

Fix Codeblocks Contrib install problem libhunspell


When youre installing Code::Blocks contrib packages using apt, at some point you might face the issue of unsatisfied dependencies for

libhunspell-1.2-0
valgrind
cccc
cscope etc...
Even though you can install all the other packages manually using just the names provided in the error messages you cannot install the libhunspell package. Theres an obvious reason for this. Its not in any Ubuntu repositories. To address this issue, you have to do as follows
1. Go to [ http://packages.debian.org/squeeze/libhunspell-1.2-0 ]
2. Download the .deb package for your respective architecture.
3. Using Terminal, go to the directory where you stored the .deb file and install it using
sudo dpkg -i <package-name>.deb
4. Now go for installing the Contrib package again, it should go smooth.

Go to link download

Read more »

Friday, September 9, 2016

Fix Linux startup problem after installing VMWare 9

Fix Linux startup problem after installing VMWare 9


VM Ware has released a version for Linux. Its a shell script installing the files in your / (root). While installing the application at one point it might output a black screen with all sorts of error messages. This is most likely caused by a conflict with the new kernel (version 3.5). It has been fixed but how do you fix your setup?? Well, following this method and combining a live setup (USB, SD Card, Live CD/DVD) we can address the issue. Follow the instructions below.

1. First make a Live setup of your distribution or one of similar kind. I used Linux Mint 14 with KDE on a SD Card.
2. Boot into the Live setup.
3. Log in as root [ type { sudo su } and type your root password ]
4. Locate your setups root drive (the one with the mount point / in your original setup) and mount it. It will be assigned a mount point most probably using a UUID, note that down. Youll find that in /media of your Live setup. What I did as find a unique part of the mount points name and used it with { grep }. So, my mount point was /media/d4324-32d43-4242 and I used { ls | grep "d4324" }. You can ignore it and use the name provided directly.
5. Now use
/media/$(ls /media/| grep "d4324" )
before every directory mentioned here. Or you can ignore the
/media/$(ls /media/| grep "d4324" )
part and instead use
/media/<your-mount-point>
directly.
6. Do these in the sequence

cd /media/$(ls /media/| grep "d4324" )/lib/modules/<your-kernel-version>/misc
# Note: If you have multiple kernel directories in the /lib/modules/ directory do the following for each one of them. If the files are not found in any kernel directory, ignore and go on with the commands.
mv vm* /tmp
cd /media/$(ls /media/| grep "d4324" )/proc/modules/
rm vmnet.o
rm vmmon.o
rm vmci.o
rm vmblock.o
rm vmppuser.o
rm /media/$(ls /media/| grep "d4324" )/etc/rc2.d/*vmware*
rm /media/$(ls /media/| grep "d4324" )/etc/rc3.d/*vmware*
rm /media/$(ls /media/| grep "d4324" )/etc/rc5.d/*vmware*
rm /media/$(ls /media/| grep "d4324" )/etc/rc6.d/*vmware*
rm -rf /media/$(ls /media/| grep "d4324" )/etc/vmware*
rm /media/$(ls /media/| grep "d4324" )/usr/bin/vmware-usbarbitrator
rm /media/$(ls /media/| grep "d4324" )/usr/bin/vmnet*
rm -r /media/$(ls /media/| grep "d4324" )/usr/lib/vmware*
rm -r /media/$(ls /media/| grep "d4324" )/usr/share/doc/vmware*
After that, try booting into your system. If all has gone well, you should be leaving a breath of relief.


Go to link download

Read more »

Thursday, September 8, 2016

Android ADT Troubleshooting fixing the libz so 1 missing problem

Android ADT Troubleshooting fixing the libz so 1 missing problem


There seems to be a common problem when launching the Android ADT bundle in Linux. It gives out a similar error like the following.

2012-06-06 18:44:40 - contactManager] /home/catia/android-sdks/platform-tools/aapt:
error while loading shared libraries: libz.so.1: cannot open shared object file:
No such file or directory
I too had this same problem in my Ubuntu 14.04 machine and as always after a simple query in Google, I found the solution through AskUbuntu. Heres what you have to do, run the following command. It installs a specific library that was previously fulfilled using the ia32-libs package of Ubuntu.

sudo apt-get install lib32z1


Go to link download

Read more »

UVa 729 The Hamming Distance Problem

UVa 729 The Hamming Distance Problem



Method: Bruteforce, all combinations. Permutation. Backtracking.
Trick: Finding all the results is pretty easy using any Basic Backtracking code but you have to sort them. So? Dont work with 1s work with 0s. Or just use next_permutation( ) from STL, your choice. Optimizations: Pregenerating all combinations might give you a better runtime, didnt try it.

Sample Input:

1

16 7


Sample Output:

Please find it using UVA Toolkit (www.uvatoolkit.com)



/* Faith-M */

//Headers
#include <set>
#include <map>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <cctype>
#include <cstdio>
#include <string>
#include <vector>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <climits>
#include <clocale>
//Defines
#define pow2(i) (1<<i)
#define bit(i) (1<<i)
#define isOdd(i) (i&1)
#define isEven(i) (!(i&1))
#define isPrime(i) ((i==2) || ((i&1) && !pTest[i])) //pTest has to be the bool arrays name
#define sz(i) i.size()
#define vec(type,name) vector< type > name
#define rep(i,a,b) for(int i=a ; i<=b ; i++)
#define swap(type,a,b) {type t=a; a=b; b=t;}
#define sum(a,n) ( (n*(n+1)/2) - (a-1)*a/2 )
#define iscap(i) (i>=A&&i<=Z)
#define issmall(i) (i>=a&&i<=z)
#define isnum(i) (i>=0&&i<=9)
#define issymbol(i) (!(i>=a&&i<=z) && !(i>=A&&i<=Z) && !(i>=0&&i<=9))
#define mk(i,j) make_pair(i,j)
#define ERROR 1e-11
//Type Defs
typedef long long lint;
typedef unsigned long long ulint;
typedef long double ldouble;

using namespace std;

int st[20];

void func(int n, int h, int cnt, int x)
{

if (cnt >= h)
{
for (int j=1 ; j<=n ; j++)
{
printf("%d",st[j]);
}
printf(" ");


return;
}

for (int i=x ; i<=n ; i++)
{
if (st[i] == 1)
{
st[i] = 0;

func(n,h,cnt+1,i+1);

st[i] = 1;
}
}

return;
}

int main()
{
//freopen("input.txt","r+",stdin);
//freopen("output.txt","w+",stdout);/**/

// TEST CASE //
int kase=1, kounter=1;/**/

int n, h;

bool blnk = false;

scanf("%d",&kase);

while ( kase-- )
{
if (blnk) printf(" ");
else blnk = true;

for (int i=1 ; i<=20 ; i++)
{
st[i] = 1;
}

scanf("%d %d",&n,&h);

func(n,n-h,0,1);
}


return 0;
}


Go to link download

Read more »

Saturday, August 20, 2016

How to Problem Samsung USB Flash Interface Done Here

How to Problem Samsung USB Flash Interface Done Here


Problem Samsung USB Flash Interface


I need help with my z3x, I use version 24.7 when I try to wipe g900m got this message Searching Samsung USB Flash Interface... not found, drivers installed

I dont what to do


Go to link download

Read more »

Saturday, August 13, 2016

UVa 10948 The Primary Problem

UVa 10948 The Primary Problem


#include <cstdio>
#include <iostream>
using namespace std;
bool ver[10000500];
int sieve()
{
int i, j, k=0;

//lst[k++]=2;
for (i=3 ; i<=10000000 ; i+=2)
{
if (!ver[i])
{
//lst[k++]=i;
for (j=3 ; i*j<=10000000 ; j+=2)
{
ver[i*j]=true;
}
}
}
//lst[0]=2;

return k;
}

int main()
{
sieve();
int n, i;
bool found;

while (std::cin >> n && n)
{
std::cout << n << ":" << std::endl;

if ((((n-2)&1) && !ver[n-2]) || (n-2 == 2))
{
std::cout << "2+" << n-2 << std::endl;
continue;
}
found = false;
for (i=3 ; i<=((n+1)/2) ; i+=2)
{
if (!ver[i] && !ver[n-i] && (n-i)&1)
{
std::cout << i << "+" << n-i << std::endl;
found = true;
break;
}
}
if (!found) std::cout << "NO WAY!" << std::endl;
}
return 0;
}


Go to link download

Read more »