I'm trying to get the cURL extension for PHP working in IIS.
If in my php.ini file there is no ;extension=php_curl.dll, does that mean that PHP has not been compiled with cURL?
Thanks.
I purchased this Logitech bluetooth keyboard which, according to the specifications on the page, can switch between both Android and Windows 8 devices. I haven't figured out how to do this. Is a specific type of bluetooth USB adapter required? And even assuming I had the necessary USB adapter, what commands must be executed (on the keyboard,…
I am logged in as a root user i want to edit my /etc/sysconfig/network-scripts/ifcfg-eth0 file when i edit this showing
-- INSERT -- W10: Warning: Changing a readonly file
while i have logged in as root user
my mount showing
[root@s1202 ~]# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (ro,data=ordered)
/dev on…
I'm trying to install Windows 8 (CP) on a 2nd SSD that I have (the 1st SSD has Windows 7). I boot into the installation from a usb stick, select the SSD, and launch the installation. When the computer goes to reboot during the install process, it keeps going back into the usb stick or my Windows 7 installation. It never recognizes the…
Good evening,
I just started playing with Microsoft.Contracts (latest version) and plugging it on top of a sample interface and right now it looks like this:
namespace iRMA2.Core.Interfaces
{
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics.Contracts;
…
I've found a pattern in my Views like this:
<% if (someCondition)
{
Response.Write(string.Format("Hello {0}, Visitor {1} on {2}.", userName, someCounter, someDate)); }
else
{
Response.Write(string.Format("Foo is {0}.", bar));
}
%>
The question here is around DRY and Response.Write(string.Format()).…
I am trying to install GPS driver for gmm-u1lp.I think which is just a virtual com port driver.
It just contains following INF file:
[Version]
Signature="$Windows NT$"
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MTK%
;LayoutFile=layout.inf
DriverVer=06/12/2007,1.0.0.1
[Manufacturer]
%MTK%=MTK
…
Python interpreter has a Global Interpreter Lock, and it is my understanding that extensions must acquire it in a multi-threaded environment. But Boost.Python HOWTO page says the extension function must release the GIL and reacquire it on exit.
I want to resist temptation to guess here, so I would like to know what should be GIL…
Hi,
I have a method in my application called "Save as" which Saves the image of my application on computer my into a file.
I used the JFileChooser to let the users choose their desired location for saving the file.
The problem is unless user explicitly types in the file format, it saves the file with no extension.
How can I have…
I have'nt plunged into Android Development as yet though Java Classes C++ all that is not new to me. Here are the questions folks. Appreciated any help on these : -
If I need to develop test and deploy Android Apps do I NEED AN ANDROID Hardware device or is there a software Android Simulator like VMWARE or Virtual PC , where I…
Is it possible to write a Google Wave plugin that turns it into an IDE for programming? With such an extension, Google Wave would be a replacement for Eclipse etc., and it would naturally be a code repository at the same time (replacing SVN, git, etc.).
Users (programmers) would be able to create code files directly in Wave and…
I have a project that generates text (representing an interface and a class) based on metadata. I would like to take this generated code and insert it as a new class and interface directly into the currently opened solution under a specific project and directory. I will create the menu tool that will generate the class but what…
Is it possible to connect the ADB with an HTC Hero? I tried following the instructions for the Win USB driver but when I try to install the driver I just get a generic message saying that there was a problem installing the driver. Looking at the supported devices, the HTC Hero isn't listed. Is this even possible?
As a note,…
I have a phone number I want to match against a regular expression.
The format of the phone number must match this:
(123) 123-4567 x12345
The extension is optional. Also the extension must contain 1-5 numbers.
Below is a regular expression I wrote that works.
^\(\d{3}\) \d{3}-\d{4}( x\d\d?\d?\d?\d?)?$
I was wondering if…
Hello,
i have used URL rewriting using global.asax file. url rewriting is working file on local machine but when i made it online its not working.
void Application_BeginRequest(Object sender, EventArgs e)
{
var extension = Path.GetExtension(Request.PhysicalPath).ToLower();
if (File.Exists(Request.PhysicalPath))…
Is there a way to abort a python write operation in such a way that the OS doesn't feel it's necessary to flush the unwritten data to the disc?
I'm writing data to a USB device, typically many megabytes. I'm using 4096 bytes as my block size on the write, but it appears that Linux caches up a bunch of data early on, and…
I've got a ASP.NET site that's located on a local server (MY_SERVER). And one of the things it does is pull up tiff files which are located on another server (ANOTHER_SERVER). The location of each of these files is stored in SQL. I pull up each of these images and am supposed to display them. The problem is:
the files…
I have IIS 6.0 on Windows Server 2003.
I installed .Net 3.5 and 4 beta 2. "Normal" asp things are working (perfect). But when I try to navigate to my service (/myServer/MyService.svc) I got a 404. Page not found.
To be exact, I got a 404 2 "Web service extension lockdown policy prevents this request."
I used…
Hi all,
So basically here's my problem. I'm looking for a solution to allow us to connect with SQL Express 2008, while still using MDB2 as our database abstraction layer. I need something like this, mainly because we still need to be able to use MySQL and Postgres (and ORMs seem to be not an option at this point…
Subversion sets a binary file's svn:mime-type property to application/octet-stream by default.
I need to change this default to some other mime-type. When I import for the first time this code, I would like Subversion to set mime-type to the one I choose.
The reason is that my code base contains code in binary…
For detecting and responding to mobile user agents, I'm using
Mime::Type.register_alias "text/html", :mobile
and the approach I'm wondering what is the best approach to test with capybara. This article suggests setting up an iphone driver with Capybara.register_driver :iphone do |app|
…
We're using Magento 1.4.0.1 and want to use an extension from a 3rd party developer. The extension does not work, because of a join to the table "sales_flat_shipment_grid":
$collection = $model->getCollection()->join('sales/shipment_grid', 'increment_id=shipment',…
I used to think that folders needed to have an extension so that they are recognized as packages by the Finder. That extension would be declared in the owning application's Info.plist.
Obviously there is another, more elegant way, but I can't figure out how it is done.
E.g.…
I have a list of strings containing filenames such as,
file_names = ['filei.txt','filej.txt','filek.txt','file2i.txt','file2j.txt','file2k.txt','file3i.txt','file3j.txt','file3k.txt']
I then remove the .txt extension using:
extension = os.path.commonprefix([n[::-1] for n…
I have started having problems with my VPS in the way that it would faill to serve the pages on all the websites. It just showed a blank page, or offered to download the php file ( luckily the code was not in the download file :) ).
The server was still running, but this…