Hey,
I have a directory full of images that I would like to resize to around 60% of their original size.
How would I go about doing this? Can be in either Python or Perl
Cheers
Eef
Hi,
I'm Having some trouble in a vm that seems to occur only once in a hundred during shutdown/reboot.
To help the debug, I'm thinking to write a script that runs on my desktop, which starts the vm and automate operations for a huge number of times (keyboard key pressed) whithin it. (VirtualBox preferred).
It's just exactly how a script using the expect lib would do with a program in command line.
I'm not sure it's possible, but anyway, if anyone has an idea...
Cheers
Hi,
I'm working on a xml schema resolver and I'm using JAXB with XMLSchema.xsd.
I experience problems with JAXB, because I don't get classes for all the top level elements. For example for
<xs:element name="maxLength" id="maxLength" type="xs:numFacet">
I do not get a class MaxLength or anything like that. Only NumFacet exists.
Anyone else experienced that and could please help me?
Cheers,
XLR
Hi,
I've got quite a large Xcode project that since an Xcode upgrade is giving me loads of
"'weak_import' attribute ignored"
warnings, they are coming from WebKit, and a bit of research suggests it's a compiler bug.
Is there anyway to suppress them, I'm getting thousands, making the 'real' warnings impossible to find.
Cheers
MT
I have setup custom 404 page custom404.aspx that returns a 404 Not Found error correctly, however the non-existant page that was initially requested returns a 302 Found status.
So when I test thispagedoesnotexist.aspx, it returns a 302 Found then the custom404.aspx loads and returns a 404 Not Found status.
I want to make sure that search spiders/bots understand that the requested page does not exist and should not show up in any search results. Is this the case?
Cheers
Hi,
I realise that modified versions of the software should be freely available, but what about the content that is held within a mysql database for instance? does that have to be available too?
Cheers
ke
Allowed characters are (at least) A-Z, a-z, 0-9, ö, Ö, ä, ä, å, Å and german, latvian, estonian (if any) special chars? Is there ready-made method or do i have to make blacklist (non-allowed chars) and regular expressions IsMatch? If no ready-made how to use blacklist?
Cheers & BR -Matti
Now that jQueryUI 1.8 is out, I was browsing through the updates and came across the new Button widget, and in particular one of the demos with the SplitButton with a dropdown. This demo seems to suggest that the Button widget could be used to create a dropdown menu here.
As a matter of discussion, I was wondering what ways there are to go about creating a dropdown menu with this new Button widget.
Cheers.
Hi,
Do you know any Javascript Tree Creator that lets you add or remove nodes up to 3 levels deep?
I'm currently using the jQuery treeview but is currently coding the add and remove of node items which is hard.
Cheers,
Mark
Hi All,
I want to create a list view custom like this link : http://sites.google.com/site/androideyecontact/_/rsrc/1238086823282/Home/android-eye-contact-lite/eye_contact-list_view_3.png?height=420&width=279
so far I have made a list view with text, and I am not extending list Activity, but I am extending Activity only.
please if someone can provide me with a code for this.
Thanks alot
Cheers
Kai
I am writing a tomcat app, and have a need to do authentication within the URL like this:
https://user:[email protected]
Except for the life of me i'm not sure how to set it up or able to find the docs to read up on it, clearly my google skills need work.
Can anyone tell me where i should be looking for this kind of info or where to start?
Cheers
Andy
Hello,
How much does a basic website cost in the US on average?
I am talking about the cost for one done by a freelance, with a CMS Tool and nothing too fancy.
Cheers
Hi guys, I found an old Windows XP SP2 in my -trash- cd can and tryed it on a 30 gb FAT32 partition.
Installation went fine till the copying operation was completed and XP asked for reboot. After that either it starts over again or throws invalid disk.
Starting over is an infinite loop the only way I see is to choose the "Repair console" but i'm not used to a dos box.
Can anyone help me through this harmful instalation?
Cheers, Daniel
Hello,
I have few columns in my DataGridView, and there is data in my rows,
I saw few solutions in here, but I can not combine them!
simply a way to right-click on a row it select the whole row and show a menu with an option to delete the row and when the option selected it will delete the row
I made few attempts but none is working and it looks messy
any suggestions?
cheers
If I have a static class with a static field such as:
private static myField = new myObject();
I then have a bunch of static methods that use myField.
Is myField re-instantiated for each method call? My guess is that it's instantiated the first time a method is called that uses it and it remains in memory until the GC clears it up?
Cheers for any pointers :-)
Hey guys
Just wondering if anyone has any idea how you can determine how many bytes of a request have been read/received by the server... In other words how do I stream http request...
In that, users are uploading files and I want to report on a perotic basis how many bytes have been read/received so far.
Just wondering if anyone has any ideas on how I might do this...
Cheers
Anthony
What is the easiest way to check if something is a list?
A method doSomething has the parameters a and b. In the method, it will loop through the list a and do something. I'd like a way to make sure a is a list, before looping through - thus avoiding an error or the unfortunate circumstance of passing in a string then getting back each letter.
This question must have been asked before - however my googles failed me. Cheers.
So I have som data that I have converted to a string. While I have found how to attach something from the SD-card to a mail, I cant figure out how to directly convert my string to a mail-attachment without involving the SD-card. In case it holds significance, I have read some data from a database, converted it to csv-format, and now wants to attach it as a csv-file.
Cheers,
Scenario is very simple
somewhere in the code I have this
dynamic myVariable = GetDataThatLooksVerySimilarButNotTheSame();
//how to do this?
if (myVariable.MyProperty.Exists)
//Do stuff
So basically the question is how to check (avoiding exceptions) that a certain property is available in my dynamic variable.
I could do GetType() but I d rather avoid that, I dont actually want to know the type of the object I want to know if a property (or method if that makes life easier) is available
Any pointers?
Cheers
I've this GIGANTIC view with several hundred columns and I need to select 114th column something like:
SELECT "144" FROM MyView;
PS: Obviously, I don't know the name of the column. I just copied the results row into an Excel file, searched for a particular value that is in EJ column so I want to select all rows showing only nth column in my view to do my further debugging.
Cheers!
Hi,
Is there an authentication plugin for rails which uses the host system's /etc/passwd file to provide user/password information? The goal is to provide user login to a rails app for the same users who already have local login accounts to the linux machine hosting the rails app.
Cheers.
i designed one application which pulls data from DB once its stated,if all the clients pulls data at a time from server, there is a lot of bandwidth, and one more worse case is one client may close & open his application many time a days, so there is a lot of bandwidth consumption on serve...
Is there any database Sync technique to implement in AIR desktop application ?
Please if anybody know please let me know..plz dont suggest LCDS(this is bit cost)
Advance Thanking,
Cheers,
vasu
Hi,
I have a teacher model which has_many students. When I render a student (as json) I want to strip out the teacher_id property and replace it with the name of the teacher in my representation.
What is the best way to achieve this?
Cheers,
Chris
I am trying to write the following without using dot notation ...
[scrollView setMinimumZoomScale: scrollView.bounds.size.width / image.size.width];
Is this right?
[scrollView setMinimumZoomScale: [scrollView bounds].size.width / [image size].width];
cheers Gary.