Android NinePatch files seem to be standard .png files with extra information. Is there a spec for the format anywhere, as I'd like to be able to implement this on other platforms?
Hi,
I would like to know whether it's possible to scroll down the left and right parts of a vertically split window in vim ?
I have 2 files I would like to compare roughly... Each line of these files looks almost the same...
thanks
Hi,
I've been searching for ways to run a GTK+ application on a browser.
WebKit and its associated GTK+ port seem to do the opposite - making applications more Web-friendly, but the opposite would also be nice.
There seems to have been some activity to realize that for XCode, with Cappuccino and Atlas, that can translate NIB files into CIB files.
If anyone can point me in the right direction, I'd really appreciate it!
Thanks!
mike
may i know how to use javascript onChange on <input type="file"... so that when user selected files, onchange will call flash to return files size and decide what to do next
2nd. how to use javascript to exclude this check,if browser doesnt have flash feature
I followed the example at this link, Async I/O). The example works on my local machine. However when I deploy to my test machine - Windows Server 2003, It seems to work on 24 files and then the application stops. Procmon shows that its working on 24 files and then there is no data.
My local machine is Windows XP.
The question is why would this behave this drastically between XP and Windows 2003
I was wondering if there was any kind of portable (Mac&Windows) method of reading and writing to the hard drive which goes beyond iostream.h, in particular features like getting a list of all the files in a folder, moving files around, ect.
I was hoping that there would be something like SDL around, but so far I havn't been able to find much.
Any ideas??
I have an ASP.NET website and I want to find the /bin/[Configuration] folder to use an external tool. When I use reflection to get calling assemblies location it returns something similar to:
C:\Windows\Microsoft.NET\Framework\...\Temporary ASP.NET Files\a1388a5e\...\my.dll
Since each dll has its own directory under the temp ASP.NET Files this fails for me.
How can I get the location of the binary, not asp.net's temporary cache?
Hi
I'm looking for a backend system where your clients can login and upload files to your server, download files from the server and you can delete the users, create users, etc. I do not know the proper name for this kind of software. Maybe its called online file manager? Any recommendations? My server supports PHP, apache and mysq.
Thanks
A system has up to 100 VC++ projects, each spitting out a DLL or EXE. In addition there are many COM components with IDL and generated .h/.c files.
What's 'the right way' or at least a good way to organise this with Doxygen? One overall doxy project or one per project/solution? And what's the right way to handle COM, which has generated code and a lot of 'fluff' that will bloat generated HTML files.
When deploying an extension I follow various steps : copy to a temporary folder all the files, copy/paste back and forth the code to the on-line minifiers / obfuscators and create the zip to be uploaded.
It's obvious that this could be simplified with scripting, but my experience on Windows scripting is very limited (most of my experience is server-side). Do I have to look back to the DOS .bat files like in the 90's or is there some cool tool or method I'm not aware?
I noticed that if you get a Scripting.File object from certain windows files (Example: any wav in C:\Windows\Media) the Scripting.File.ShortPath property shows the long path. Curious I dropped to the command prompt and tried Dir /A /X and sure enough the short paths were missing from all the files in that directory.
Anyone know:
A.) What that's all about?
B.) How to get the short path of a file that doesn't seem to have one?
this is a follow on from this question and the link given it seems that when an app is updated all of the files in the documents directory are copied into the updated apps documents directory and also anything in Library/Preferences. Whats the best way to simulate this for testing purposes?
Just copy the files in ApplicationSupport/iPhone Simulator etc? or has anyone developped any funky techniques for testing this.
I only would like to keep the Access Logs of the last n days created by Tomcat Access Log Valve.
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access%20Log%20Valve
But there seems to be no configuration-Attribute to define how long to keep the log-files? I guess this is because "Access Log Valve" only creates log files and doesn't delete them, is that correct?
ho to verify by VB script syntax if the file conf C:\Program Files\conf
exist under Program Files ?
for example
if it exist then msgBox print file exist
if not the msgBox print file not exist
THX
i have list similar to this
m=[['qw','wew','23','C:/xyz/s.wav'],['qw','wew','23','C:/xyz/s2.wav'],['qw','wew','23','C:/xyz/s1.wav']]
now i want to these files
win=wave.open(m[0][3],'rb')
it is giving error how can i use this in this way...
i want to take the files name from the list
please suggest???
Hello.
I have a programme that has about 100 classes and more than 1000 functions spread over 20 header and source code files. What I want to know is that how I can pass arguments to so many functions in so many files? What is the procedure adopted for this in main()?
Regards,
Supriyo
Hello I have a link on my site with files at the following link: example.com/community/community/ How can I use htaccess to convert the link to example.com/community/ without moving the files from /community/community/
I have a ASP.NET solution in Visual Studio 2008 and I added a file identical to http://plugins.jquery.com/files/jquery.cookie.js.txt named jquery.cookie.js in a subfolder of my project containing other javascript files and Visual Studio is treating it as a C# file, giving me errors like CS1012: Too many characters in character literal and Semicolon after method or accesssor block is not valid.
Why?
Within my site I have controller specific CSS files in addition to my master css file. For example
CSS/
Prodcuts/
product.css
...
Blog/
blog.css
...
masterStyle.css
Where masterStyle.css is the master css file. What I want to do is when the user hits http://www.example.com/Products/ only mySite.css and all css files under Products get included. What is the best way to go about doing this?
Hello,
I need to run StyleCop every time a website project is built in a development machine. I am able to run StyleCop automatically in projects which contains *.csproj files, however Website projects doesn't have such files.
Is there a easy way to do that?
Thanks in advance.
I am writing a Pylons-based download gateway. The gateway's client will address files by ID:
/file_gw/download/1
Internally, the file itself is accessed via HTTP from an internal file server:
http://internal-srv/path/to/file_1.content
The files may be quite large, so I want to stream the content. I store metadata about the file in a StoredFile model object:
class StoredFile(Base):
id = Column(Integer, primary_key=True)
name = Column(String)
size = Column(Integer)
content_type = Column(String)
url = Column(String)
Given this, what's the best (ie: most architecturally-sound, performant, et al) way to write my file_gw controller?
Hello,
a relative of mine has a problem. She's working at a company, using Windows 7 and can't set a password because if she's not there her boss might want to use some of her data, but she has suspicions that there is a colleague who spies on her files, because there is no password set for her computer. Does anybody know how can somebody view some kind of history of when was the computer turned on before and what files were opened/runned?
Thanksin advance for your answers.
So I want to make a program that allows you to store and search for user names/passwords for online sites there signed up to.
I know C# has some database options but I don't know much about it. I also heard that it can read/write excel files.
Whats do you think is best for storing the data?
ALSO do databases need to be stored online on a sever, or can they reside in the program
files?
All of the NHibernate examples I've see that use hbm files have the hbm.xml file set as an embedded resource with "do not copy" chosen in the file properties. This means that if a database column name were to change in production, the app would have to be recompiled with the changes in the hbm.xml file during build time.
Is there any way to make NHibernate load the hbm.xml files from the file system at application startup instead of using an embedded version?