After HTML 4.01 and XHTML 1.0, HTML 5 is said to be the next standard of markup language. The editor of HTML 5 is Ian Hickson of Google Inc. By the end of 2010, the said markup language will be live.
Since enabling the fastcgi_cache on my nginx server, my php-enabled custom error page has suddenly stopped working and I'm getting the internal 404 message instead.
In nginx.conf:
fastcgi_cache_path /var/lib/nginx/fastcgicache levels=1:2
keys_zone=MYCACHE:5m inactive=2h max_size=1g loader_files=1000
loader_threshold=2000;
map $http_cookie…
Has anyone got a good list of the costs of running colour laser printers, both for colour and black that take into account different usage volumes.
E.g if the dram needs replacing after 20,000 pages, but I am only do 10,000 in the next 3 years, I don’t care about the cost of a new dram.
So a simple “cost per page” figure is each printer…
I am trying to find out the practicalities of doing a mail merge when each “record” to be merged on includes some images.
I need to:
print letters
And envelopes
Both the letters and the envelopes have:
Fixed text
Fixed images
Text that come from the mail merge record
Images that come from the mail merge record
I don’t know if all…
I would like to only allow one IP to use up to, say 1GB, of traffic per day, and if that limit is exceeded, all requests from that IP are then dropped until the next day. However, a more simple solution where the connection is dropped after a certain amount of requests would suffice.
Is there already some sort of module that can do this?…
Trying out TextWrangler since my TextMate trial is about to expire and I'm not sure it's worth the cash to keep using it. The main thing I'm missing is the ability to cut the entire line that the cursor is on without having to select it (which I could accomplish through a TextMate macro). Yeah, I can hit ?L ?X, but I'd like to map this…
I have a master worksheet which contains data that I wish to link to another 'summary' sheet using a lookup.
However, some of the cells whose data I wish to include in the summary sheet are merged across two or more adjacent rows. To be clear, the 'primary' column A that I am using in my formula in order to identify the target row…
Is there a way to give a domain user full control of their local drives at the Group Policy end?
Specifically, my IT Manager wants the following:
a) Desktop control allowed
b) Full access to local hard drives
c) Software Installation NOT Allowed
d) Existing software Updates Allowed
e) Install additional printers
Allowed At…
I've recently bought a Henge Dock, and like the ability to plug my MacBook in and instantly reconnect to all my peripherals (external monitor, keyboard, mouse, etc.).
The only problem is that when I dock or undock, all of my windows are left at the wrong size (either too big or too small) and I have to manually resize them,…
Chrome seems to insist of downloading everything to some final location on my hard drive.
i would really prefer it to download to my temp folder, then do a "move" operation later.
This is especially required when i just want to "Open" the file (i.e. a .torrent), and then be done with the file.
How do?
Mine is MacBook Air, so I cannot plug to the modem directly. And I do want to turn my firewall off.
How can I specify to open a port, like port 56789 in Mac OS 10.6.8?
I know in old Mac OS, there is a option for me to specify a custom port. But I cannot find it in OS X 10.6.8. In System Preferences / Security / Firewall, I…
In this post I will show you how to use JQuery to scroll through an HTML 5 page.I had to help a friend of mine to implement this functionality and I thought it would be a good idea to write a post.I will not use any JQuery scrollbar plugin,I will just use the very popular JQuery Library. Please download the library…
Anyone use the timer feature of RichCopy? I have a job that works fine when I manually start the job. However, when I schedule the job and click run, the app appears to be waiting for the scheduled time to elapse yet never fires. Interesting enough when I stop the job the copy starts.
Anyone have any experience with using…
Hi
When my users edits the Grid via RowEditor combo entries and checkboxes are annoying
1 Apple
2 Orange
3 Pear
For instance with the combo above the user will select Orange then update - the Grid now instead of saying orange will display the number 2 - I would like it to show orange when a successful edit has been…
Background
The user enters values into multiple inputs on the page. Think of entering a list of widgets for sale. The user would select the type of a widget from a drop down. Then enter the name of the Widget vendor, and then the actual name of the widget. These UI elements would all appear as one row. The user is…
(My apologies if this seems verbose - trying to provide all relevant code)
I've just upgraded to VS2010, and am now having trouble trying to get a new CustomModelBinder working.
In MVC1 I would have written something like
public class AwardModelBinder: DefaultModelBinder
{
:
public override object…
Hi All,
I would like to start a personal project that will give me a lot of new concept to learn and understand.
After some thought, I figured that an Augmented Reality related project will be the most beneficial for me because of the following reasons:
I haven't tried interfacing a program with a live…
Here is my DataList:
<asp:DataList id="DataList" Visible="false" RepeatDirection="Horizontal" Width="100%" HorizontalAlign="Justify" RepeatLayout="Flow" runat="server">
[Contents Removed]
</asp:DataList>
This generates markup that has each item wrapped in a span. From there, I'd like…
i know Win32 has the Nls function GetDateFormat, e.g.:
GetDateFormat(…, …, …, "dddd','MM','y", …, …);
and it has GetTimeFormat, e.g.:
GetTimeFormat(…, …, …, "tt ss':'hh':'mm", …, …);
But there a way to format both at once, e.g.:
GetDateTimeFormat(…, …, …, "tt dddd' - 'ss':'y';'hh':'mm MM", …, …);
…
Where does Internet Explorer store saved passwords?
And since this is a programming site, i'm not literally asking for the location where IE stores passwords, but which API ie uses to save passwords.
At first i assumed that Microsoft was using the standard api:
CredRead
CredWrite
which is used to…
i need to know when my application recieves a WM_SETTINGCHANGE message (formerly known as WM_WININICHANGE).
Problem is that the message pump in TApplication sends it down a black hole (default handler) before i can get a chance to see it:
procedure TApplication.WndProc(var Message: TMessage);
...…
I'm working on a client-server system, where the client makes XMLRPC requests to the server. The client part of the system is handed to a third-party, meaning that he could eventually modify the code or re-route the xmlrpc requests.
Now, hoping the third-party won't modify the code, I need a way…
I have successfully automated the process of creating a new IIS website, however the code I've written doesn't care about application pools, it just gets added to DefaultAppPool. However I'd like to add this newly created site to an existing application pool.
Here is the code I'm using to create…
I've being trying to add a theme from the Silverlight toolkit to a project. In the project there are a number of existing styles used in the layout.
The problem is when any control has an explict style applied to it does not receive any attributes of the style from the theme.
In WPF I would use…