Talking about SimpleModal the jQuery plugin. Most of the time I think it is a handy feature but I am finding that in a certain case I need to remove it. What are my options?
I'm still getting my feet wet in PHP (my 1st language) and I've reached the competency level where I can code one page that handles all sorts of different related requests. They generally have a structure like this:
(psuedo code)
<?php
include 'include/functions.php';
IF authorized
IF submit (add data)
ELSE IF update (update data)
ELSE…
Hello everyone,
What do you consider a better programming practice: passing objects as pointers or references to functions.
What do you do for input validation?
Thanks.
Hi
Wonder if anyone can help, I am experiencing a strange issue with my configuration of cruisecontrol.net and visual svn.
I am setting the current ccnet.config
<sourcecontrol type="svn">
<trunkUrl>https://bladerunner.azullo.local:8443/svn/application/trunk</trunkUrl>
<executable>C:\Program Files…
I have a requirement to trigger a reboot on a windows7 machine programmatically. This is to support a scenario for customers where when they log out of an intenet kiosk machine the machine reboots. On XP this was achieved using WTSSystemShutdown but Im wondering if theres another way. Any pointers greatly appreciated.
I am running a Django instance locally and doing some Facebook development.
So, I set up a port on a remote machine to forward to my local machine, so that Facebook can hit the web server, and have the requests forwarded to my local machine.
Unfortunately, I'm getting the following error in my browser when I try and access the page:…
I can see how a cipher can be developed using substitutions and keys, and how those two things can become more and more complex, thus offering some protection from decryption through brute-force approaches. But specifically I'm wondering:
what other major concepts beyond substitution and key are involved?
is the protection/secrecy…
Hello, guys. I've got annoyed problem. I've got WCF service(basicHttpBinding with Transport security Https). This service implements contract which consists 2 methods. LoadData. GetData. GetData works OK!. My client received pachage ~2Mb size without problems. All work correctly. But when I try load data by
bool LoadData(Stream…
I have a resource
/system/resource
And I wish to ask the system a boolean question about the resource that can't
be answered by processing on the client (i.e I can't just GET the resource
and look through the actual resource data - it requires some processing
on the backend using data not available to the client). eg
…
I have a java2d image defined in user space (mm) to print an identity card. The transformation to pixels is by using an AffineTransform for the required DPI (Screen or print).
I want to wrap text across several lines but the the TextLayout does not respect user space co-ordinates.
private void drawParagraph(Graphics2D…
I have a PHP script with infinite loop. I need this script running forever. So, I run
php /path/to/script.php > /dev/null &
And it works in background in my current user's security context. But when I close terminal window (log off), of course, CentOS Linux kills my program.
I see two guesses: run from a…
We have a continuous integration server with over 40 jobs that are constantly changing. I would like to version control continuous integration build jobs in Hudson so we can roll back changes if we have problems.
Is there a Hudson plugin that will do this or other solution that already exists or should I keep the…
I have a simple program which can have an admin user or just a normal user.
The program also has two classes: for UserAccount and AdminAccount.
The things an admin will need to do (use cases) include Add_Account, Remove_Account, and so on.
My question is, should I try to encapsulate these use-cases into the…
Hi,
I seem to recall that it's possible to return the resulting object count from an NSPredicate in CoreData without actually performing a fetch, but I can't find any reference to this.
Can someone confirm that I wasn't dreaming (sad dream to have!), and would this be safe to do in another thread?
Thanks
…
I have an application that is pretty memory hungry. It holds a large amount of data in some big arrays.
I have recently been noticing the occasional OutOfMemoryException. These OutOfMemoryExceptions are occurring long before my application (ASP.Net) has used up the 800mb available to it.
I have track the…
I am looking for a wordpress plugin which simplifies the registration process by allowing users to sign up on the spot without having to be sent an email?
It would be good if you could also pass a redirect_to parameter in the url like you can for the login.
Note:Some thoughtless person migrated this…
Does anyone know of a wordpress plugin which simplifies the registration process by allowing users to sign up on the spot without having to be sent an email?
It would be good if you could also pass a redirect_to parameter in the url like you can for the login.
Even though I always strive for complete validation these days, I often wonder if it's a waste of time. If the code runs and it looks the same in all browsers (I use browsershots.org to verify) then do I need to take it any further or am I just being overly anal?
What level do you hold your code to…
I have a text box I'm using as a timer display "hh:mm:ss" When I select the box and press a number, it inserts the number at the cursor location, but instead of replacing the value at that position, it shifts all existing values over. For example, the timer text box reads "01:00:35" and I replace…
I run a forum designed to support an international mathematics group. I've recently switched it to unicode for better support of international characters. In debugging this conversion, I've discovered that not all unicode characters are considered as valid XHTML (the relevant website appears to…
I've got a console app and i need to globalize some of the hardcoded message strings.
I've got two assemblies:
MyProgram.Console (Console app)
MyProgram.Core (class lib)
In MyProgram.Core I've made a Language.en-GB.resx and set it as an Embedded Resource.
In the resource I've created a…
Hello!
I found on the web few samples on tracking RTMP (Real Time Messaging Protocol) with Wireshark, but it doesn't work for me. All RTMPT packets rendered as basic TCP packet like this:
149 14.324999 85.115.xxx.xxx 192.168.1.20 TCP macromedia-fcs > 54557 [ACK] Seq=1 Ack=1452…
For things like menubars and headers, a background color is nice.
But a background color that gracefully transitions from say Blue to White is even nicer.
I know this can be done by making a 1-pixel wide, X-pixel tall image file containing the desired fade and repeating it…
How do I make the left and right gutters different colors with 960.gs? When I try something simple like:
<div style="background-color: green">
<div class="container_16">
<div class="grid_16">
test
</div>
</div>
</div>…