Our print team saves raster images as .eps files. We need to convert about 11000 .eps to .jpg. We are using ImageMagick (with Ghostprint) on Linux. The conversion occurs but the resulting .jpg is not the same size as the source .eps - It's about 1/2 the size. Probably a problem converting a vector to a raster. Any way to solve this?
Hi,
How I can send all request in zend project to my default module controller (without use .access files).
Now it going to application-IndexController, Instead I need that every request will go to application-module-store-IndexController.
Thanks,
Yosef
I have a bunch of zip files I want to unzip in Linux into their own directory. For example:
a1.zip
a2.zip
b1.zip
b2.zip
would be unzipped into:
a1
a2
b1
b2
respectively. Is there any easy way to do this?
Is there a way to generate a c++ header file for an .obj file? Or perhaps is there an utility that can view .obj files. I've already found objconv that converts between formats, but I can't find any .h generator/viewer.
How can i get the content names of a zipped folder in C# i.e. name of files and folders inside the compressed folder?
I want to decompress the zip by using GZipStream only.
thanks,
kapil
Hi,
I having a hard time to consume this webservice https://www.arello.com/webservice/verify.cfc?wsdl in my rails application.
I successfully generated the ruby files with the wsdl2ruby.rb but when un run the generated script I get the following error:
at depth 0 - 20: unable to get local issuer certificate
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
I also tried to connect via this script but same issue
require 'http-access2'
client = HTTPAccess2::Client.new()
client.ssl_config.set_trust_ca('/arello.cert')
puts client.get('https://www.arello.com/webservice/verify.cfc?wsdl').content
Any ideas?
Thanks
Im working in a perl one liner to invert the contents of my file contents or perform operations, I was able to generate the script and one liner, but this one liner only works by entering file by file.
perl -i -ne '$a=reverse $_;print "$a\n"' <filename>
I want to change my one liner to get input from a range of files but when i do:
perl -i -ne '$a=reverse $_;print "$a\n"' | ls -al
I just get screen output of ls -al
Not sure how to proceed.
Thanks
Recently I've been trying to get some files uploaded on to my server in my HTML::Mason application. All good no problems there apparently Mason a filehandle directly in the argument. The problem is that I cannot retrieve the filename from that filehandle in a elegant way. One method of resolving this issue is parsing the filename on the client before sending it to the server and placing the extracted value in a hidden field so that it gets sent upon submit. BUT that is very unsafe!
I am trying to access an XML file from JSP on my Tomcat server. The error is from Catalina's protocol handler and the exception is java.io.FileNotFoundException trying to access my .keystore in the 'documents and settings' folder for my signed-on user (with admin, but not the user that installed the server).
I can provide the stacktrace if that would help ... but my question is more fundamental about secure access to files and where is the keystore configured / used on a Window's install?
Hello ,
my java test worked well from Eclipse ,I do not know I relaunch test from run menu and then have the following message:
No tests found with test runner 'JUnit 4'
In the .classpath file I have all jar files, and at the end have :
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin"/>
</classpath>
please help!
I am trying to send the output from the find command to OpenSSL in order to find out when certificates expire.
This finds the files
find . -name \*.pem -type f
This generates the cert info I want
openssl x509 -in certname.pem -noout -enddate
Can I merge these two?
Thanks for your help.
I was just curious if Yii is supposed to be compiled into PHP or not. Is it possible to use Yii just by copying the Framework to a folder on the server and then including something (something as in one of the yii files- I am not sure how it works) in the scripts I wish to use the framework for?
(Noob when it comes to frameworks and usage)
Thanks,
Josh
I've downloaded and extracted the Havok demos, but the project has dependency on a folder:
$(HAVOK_SDKS_DIR)/win32/dx/Include
But it didn't set up a HAVOK_SDKS_DIR (there is no installer), and I can't find a win32/dx directory anywhere in the extracted Havok package.
How can I get the demo files to build? What am I missing?
I'm downloading via FTP some files with chinese names (BIG5 encoded), and Filezilla displays those filenames as garbage (as FTP cannot handle any encoding other than ASCII and UTF-8, as least the standard compliant ones). Given a filename with garbled characters, is it possible for me to repair the encoding and get a proper filename String given that I already know the source encoding? Will the FTP client misinterpreting BIG5 as UTF-8 insert bytes that make conversion back to BIG5 difficult?
I'm trying to create a new Site Workflow, but not through SP Designer or Visual Studio.
Instead, I would need to create it entirely through code (The logic is customizable and dynamic - Initiation Forms or Conditionals won't help much).
Do I have to build the .xoml and .rules files by hand? Or is there an API for designing workflows?
I've tried using gSOAP for accessing a web service (e.g. using supplied WSDL to generate C stubs and then using them in an app). However, I've found that the generated .c and object files is quite big (several megabytes), which is a problem in embedded environment where I work.
Do you know of any simpler SOAP libraries, or do I have to fall back to generic XML generators and parsers like ezXML?
Does anyone have any clue as to what this might mean?
(ClCompile target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB6006: "CL.exe" exited with code -1073741515.
It builds fine on my dev box but fails due to this error on our CI box. It's running on .NET 3.5.
Any help would be MUCH appreciated.
Hi
is there any tool or code to convert html files to .aspx ?
Elaboration to earlier question: I am looking for tool or code that automatically converts html controls to .aspx server control without having to manually change each control. i.e something that will take html page as input, parses it and outputs the controls for .aspx page.
thanks
Hi
I am currently working on a sample application which uses QNetworkAccessManager to send the HTTP command. In the sample we are uploading files to server. Here I want upload the file in chunk by chunk(not whole file).
Is there any way to send large file in chunk by chunk.
Thanks in advance
I have a developer license and I've generated .mobileprovision and .cer files. I've put the provision file on my device, double-clicked the .cer file and added it to the login keychain. But when I'm trying to build the app in XCode, I get the error:
CodeSign error: code signing is required for product type 'Application' in SDK 'Device - iPhone OS 3.1.3'
What am I doing wrong? Thanks in advance!
Hi,
I am currently writing a program with Qt to organize movies.
I create a QTableView and a QSTandardItemModel, I want the user to be able to drag and drop a movie from the explorer in the view to add it to the movie list.
I currently am able to drag and drop any file in the program, but i only want the user to be able to drop avi or mpeg files, how do you do it?
Hi all
I have an mp3 player that sends MCI commands to play pause/ff/rw/stop the audio files etc and the only thing i can't figure out how to do is send an MCI command to tell it to play the next song when the current one's finished playing.
The songs are in a ListBox. I have no problems actually selecting the next song, I just need to find out when to play the next song on the playlist. I'd appreciate any help at all
Thank you :)
Hi,
I am writing a CMD file which runs a bunch of sql files, like this:
:: Running every sql file in the temp directory
For %%G IN (.\install\*.sql) DO (
:: run sql script
echo exit | sqlplus interacct/interacct @%%G
)
My question is how do I capture an error when one of the scripts didn't succeed?
Thankyou.
Sarah