Programming :: Make These Code Examples Work On Web Browsers?

Mar 7, 2010

I have tried numerous versions of �Hello World½ examples over the web to display the text on a web page. All the examples work on my local machine in the application viewer, but they donït work when from a web browser. I have tried both Firefox and IE.Some of them include:[URL]

Code:
java.lang.reflect.InvocationTargetException
at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source)

[code]...

View 14 Replies


ADVERTISEMENT

Programming :: Update Software From Internet Code Examples

Jan 13, 2011

I've been thinking to adding the ability to update some code I've been working on from the internet. So basically writing some C/C++ code that on startup of the software looks across the next to a server to update itself. However I have no idea how to do this, can anyone point to to linux tutorials or examples which show how to do this?

View 3 Replies View Related

Server :: Alternative To SSL Certificates / Make Self-signed Certificates Work On Most Popular Browsers Without Being Flagged?

Aug 24, 2010

I run a web server on Fedora 12, principally using Apache, MySQL, and PHP. I host a variety of sites, one of which is a family website that contains semi-sensitive personal data for several hundred extended family members, who all have access to the database-driven site.

Until now, I have been using a self-signed SSL certificate to encrypt the data as it is read and written back and forth from my database. Family members have simply had to put up with clicking past certificate warnings as they enter the site, as most browsers flag self-signed certificates as bad. It hasn't really been that much of a bother, but I'd love to do it more professionally. I have looked into buying SSL certificates, but it's a site I host for free and would rather find a cheap or free alternative if possible.

So I'm just fishing for ideas to work with. What are some alternatives to using SSL certificates for moderately strong website encryption? So far, I run only one host on the domain, but may eventually need encryption that would support multiple hosts. Or does anybody know a way to make self-signed certificates work on most popular browsers without being flagged as suspicious?

View 7 Replies View Related

Programming :: Make Compiles C++ Code?

Aug 8, 2010

I'm developing a new command to be executed on the grub shell. However for some reason the .c file I added doesn't get compiled. How do I notify make of this new file?When you type in the make command, a load of gcc commands come up, where do these come from?

gcc -Ikern -I./kern -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR="/usr/local/lib/`echo grub/i386-pc | sed 's,x,x,'`" -DLOCALEDIR="" -DGRUB_MACHINE_PCBIOS=1 -DGRUB_UTIL=1 -MD -c -o grub_setup-kern_file.o kern/file.c

I know this because I typed in random letters but the compiler continued on. However tried it on an existing file it came up with a compile time error.

View 3 Replies View Related

Programming :: Irda-utils : Coder Willing To Make Code For PSION Machines?

Oct 16, 2010

There could be some needs with to sync the linux box with my psion device :
- emails (iremails sync) <-> mutt or whatever works
- contact psion <-> abook
- data folder ~/home/username/mypsion <-> sync of data

Could someone help a bit in that sence? Is there a willing informaticien for that few lines of code, and make a new package or update/upgrade the irda-utils. Would be so helpful for the community (often, lot of users are moving to linux nowadays..)

View 1 Replies View Related

Programming :: Following Code Compiles, But Does Not Work?

Nov 8, 2010

Put simply, the following code compiles, but does not work, and I have no clue why (despite reading extensively about rand()). In the interest of full disclosure, this is for a school project.

Code:
/*
* Dice.c

[code]....

View 4 Replies View Related

Programming :: Code Committed In Repository Does Not Work (Next Day)

Jan 3, 2011

It has happened with me before too! Few months back while working on Priority queue in C language, I successfully compiled the code and it gave the desired outputs, I showed the running code to my other seniors and committed it to the repository at 21:00 (I was in the office till late night), next day my boss asked to show the running code, and it didn't work!!! I updated from the repository whatever I had committed but still nothing worked? And then on this Saturday, my boss fixed a bug and committed to the repository and asked me to checkout which I did today morning, and when I ran the code it didn't work?

View 7 Replies View Related

Programming :: Sem_wait Sem_post Removed From The Code And Why The Work Is The Same

Jan 10, 2010

/* compile this program by "gcc -o syncLinux syncLinux.c -lpthread" command on Linux*/
/* and then run it using "./syncLinux -i<#of iteration>" */
#include <stdio.h>

[code]....

View 1 Replies View Related

Programming :: HTML::LinkExtor Doesn't Work \ Always Return 0 Links Even If The Status Code Is 200 OK?

Sep 25, 2010

I try to fetch links from a URL using HTML::LinkExtor, but it always return 0 links even if the status code is 200 OK. I am running the following code in Ubuntu 9.04, just curious if the module is too old and its ways of HTTP request is disabled by some platforms.

Code:
#!/usr/bin/perl
use HTML::LinkExtor;

[code]...

View 2 Replies View Related

Programming :: Make Recursive Makefile Work?

Jun 8, 2011

I'm trying to make recursive makefile work but it's giving me two problems. I have a top folder with the main Makefile and one Makefile for each sub folder 'one' and 'two'. Makefile in subfolder 'one' and 'two' are identical. The top Makefile (still a bit messy) looking like this:

Code:
# Directories
CC = gcc
CFLAGS = -Wall -Wextra
TARGET_DIR = bin
MAIN_FILE = one.c

[Code]...

View 4 Replies View Related

Programming :: Selenium Java Code Into Equivalent Php Code?

Mar 30, 2011

I need to rewrite the selenium java code into its equivalent php code.

View 5 Replies View Related

Ubuntu :: Some Webpages Don't Work In Browsers?

Dec 23, 2010

I've run into problems in some websites where Chrome, Chromium, Firefox and Konqueror will not render the pages correctly (yes, I've installed and tried them all). I've tried on three different computers with dual boot Windows and Ubuntu and get the same results...If I boot into windows, I can browse the pages with no problems, however, in Ubuntu these pages just hang at certain points...Is there some setting I can adjust to improve web performance?[URL]Orbrowse by location, a warning sign appears, click 'agree' and wait endlessly...Why would these pages work correctly on Windows, but not in Ubuntu?I HATE having to boot into Windows, so if I can avoid it I will!

View 9 Replies View Related

Software :: Zoneminder Does Not Work Right With All Browsers?

May 25, 2010

I have Zoneminder 2.24.2 installed. It seems to work, however, when a client computer tries to use IE explorer to view the the camera the frame rate refresh is very slow (once every 10 to 15 seconds). If firefox is used to view it, it works at normal frame rate. What causes this?

View 2 Replies View Related

Programming :: Efficient Way To Display JPEG Images In Browsers?

May 12, 2010

What is the efficient way to display jpeg images in browsers using c programming. Any links or any sample code.

View 6 Replies View Related

Fedora :: Nvidia Cuda Sdk Examples Won't Compile

Sep 13, 2009

I'm tyring to compile the CUDA SDK examples on Fedora 11. Only a few of them compile. The rest fail with messages like:

[code]...

View 6 Replies View Related

Ubuntu :: /usr/share/doc/conky/ Has No Examples Folder

Jan 28, 2010

/usr/share/doc/conky/ has no examples folder... so I am wondering if I messed up the install (I used sudo apt-get install conky) or if this was removed recently and where to get it from if that is the case.

View 2 Replies View Related

General :: Sys_open( ) ,sys_read( ) Et Al Examples Of System Level Programs?

Oct 26, 2009

Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right ? Is there any difference of hierarchy between the programs that implement system calls and system level programs like that implement thread library, process management , memory managemnt etc..

View 5 Replies View Related

Debian Configuration :: 200+ Lines Of Code That Make Miraculous Difference

Nov 16, 2010

A tiny Linux kernel patch that makes the desktop incredibly more responsive: [URL]...

View 14 Replies View Related

Ubuntu Servers :: Make A Home Code Double-Checked?

Feb 26, 2010

I found this page online. And I thought it was really nice, and I really like the way torrentflux was added, thats a must for me. I am wondering if there is a better approach now, or if this approach is still good, and I was just wondering if someone could double-check the code, see if its good. I have an old dell laying around, and I thought it was finally time to put it to good use. So here it is.[URL]..

View 4 Replies View Related

Software :: Unable To Compile The Assembly Code With Make Tools

Dec 29, 2010

/tmp/cctiuwxL.s: Assembler messages:
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3534: Error: unknown opcode
/tmp/cctiuwxL.s:3602: Error: unknown opcode

[code]....

This is the make step error./tmp/cctiuwxL.s is the make temporary dirictory which is distroyed after the make process finises . The problem is how can I hold the /tmp/cctiuwxL.s dirictory .Then I can check it and find out the proiblem.

View 1 Replies View Related

Software :: Compiling Evince From Source Code - Make Errors

Mar 20, 2011

When I compile evince from its source code, I am able to run ./configure properly, but when I run make the following output is displayed.

Code:
make all-recursive
make[1]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0'
Making all in cut-n-paste
make[2]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0/cut-n-paste'
Making all in zoom-control
make[3]: Entering directory `/media/New_Volume/untitled folder/evince-2.32.0/cut-n-paste/zoom-control' .....
make[3]: *** [libevview.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I am not able to ascertain the source of this error, even though I seem to have the file in question-libevdocument.la. What do I do now to remove this error?

View 8 Replies View Related

Ubuntu :: Possible To Use CSS Code To Make Gnome Panel Clock Text Blink?

Sep 7, 2010

I was wondering if it is at all possible to use CSS code to make the Gnome panel clock text blink. I Googled a bunch of CSS code which is supposedly used to create a blinking text effect but none work in the Gnome panel clock. Is there any sort of CSS code which can do that? If so, what is it?

View 3 Replies View Related

Programming :: Makefile - Error When Run The Make Run - No Rule To Make Target - Shell.h

Sep 15, 2010

I want to gave much details as possible. working directory (~/a1/shell) in the shell directory i have Makefile. also in the shell directory i have subdirectory's (obj, src, include)

My current Makefile

Quote:

#What needs to be built to make all files and dependencies

clean:

# End of Makefile

I wanted it so: all .o files are created in the obj subdirectory, and my application, sshell, is created in the shell directory.

I am getting this error when i run the make run: No rule to make target 'shell.h', needed by 'shutil.o'. stop

View 1 Replies View Related

Ubuntu Multimedia :: Creative Webcam Doesn't Work - How To Make It Work

Feb 17, 2011

how to make creative web cam working with ubuntu

View 1 Replies View Related

Ubuntu Multimedia :: Flash Controls Don't Work - How To Make Them Work

Apr 8, 2011

I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.

Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400

View 3 Replies View Related

Programming :: Use SSE(2,3) In C/C++ Code?

Jun 6, 2011

I am working on a project with a lot of vector math and I'd like to find a way to speed it up.eading about SSE, but I've found no explanation on how to actually use it in code (was looking for some kind of hello-world example, complete with compilation instructions).Does the gcc compiler automatically make use of SSE, if you add the -sse(2,3) option on the command line? Or are their specific functions/libraries you need to call?

View 12 Replies View Related

Software :: How To View And Work With Source Code

Jun 18, 2011

I have been using Linux for a number of years, and I am reasonably adept at installing, updating, using, and fixing problems in it. I am currently using Fedora 15 as I like the "bleeding-edge" stuff, but I have finally come far enough that I want to learn about writing and manipulating source code. I am trying to teach myself c++ and have all the necessary compilers librarys etc.

View 2 Replies View Related

Ubuntu :: Compiz Doesn't Work - How To Make It Work

Jul 29, 2010

I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?

View 2 Replies View Related

Ubuntu :: Hibernate Doesn't Work - How To Make It Work

Oct 29, 2010

When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.

View 8 Replies View Related

Ubuntu :: Unity Doesn't Work - How To Make It Work

Feb 16, 2011

I just recently (about an hour ago) installed Ubuntu Netbook edition on my old laptop, and I was greeted with the message, that unity could not be run due to some sort of missing driver...fair enough, I was then greeted with the default Ubuntu desktop, I installed all my needed software (wine, google chrome) and installed the missing display drivers. I then rebooted the system, and once again I am stuck with the default desktop, and not the Unity interface. I checked the software center, and it says Unity IS in fact installed.. And yet I cannot make it appear. So now I ask you Ubuntu veterans. How do I make it work?

P.S. I wiped the system of windows, and the computer is an old HP Pavilion DV6000

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved