I'd like to change the font size of the "Groups & Files" panel of the Xcode IDE. I know how to change the "Fonts & Colors" in the preferences, but those (seem to) only affect the code window, not the rest of the IDE. Any ideas? Thanks!
Hi guys,
I am trying to create a shell script/command that find error_log files created by PHP, check their file sizes and remove them if over a certain size.
I have only gotten as far as printing the files and file sizes with the code below
for i in `locate -r 'error_log$'`;do echo "$i|" `stat -c %s $i`;done
Can anyone help?
Thanks in advance!
After uploading a file for SFTP, if i want to obtain the file size of the file. Is that possible? This is being done using the SharpSSH library in C#.
Thanks!
Is there any way in Java to enforce a minimum window size?
The last article I can find is from 1999, and has some complicated code to mimic the behaviour...
http://www.javaworld.com/javaworld/javaqa/1999-10/03-qa-window.html
Surely there is a simple method that can be used?
Hello everybody,
I was wondering how does delete[] operator know the size of an array, in this case (for instance) :
int* foo = new int[42];
delete[] foo;
Thanks in advance
I just deployed my servlet on the app engine but when i print the max heap size i only get 104857600 which is less than is available by default on my local machine (512 megs).
Is there a way to get google to change this?
I looked at billing but there is no mention of memory usage.
I want to know the physical video ram size in my application. I can get the same information of Nvidia card by using "nvidia-settings -q -t VideoRam".
I can use amdcccle to find this information, but it's an GUI app, so can't be used in my application. I wonder if there is a way to get this by command, function, or config file?
I'm using RHEL 5.4.
I'm writing a form in XAML that has multiple buttons with content of different sizes (ie "OK" and "Save As...") Ideally, I'd like them all to be the smallest size possible to hold the largest content. In the example above, both buttons would be the width necessary to hold "Save As..." plus the margins and padding.
If they were Grid cells, I could use a SizeGroup. Is there a similar declaration for Buttons?
I believe conversion exactly to BigInteger[] would be optimal in my case. Anyone had done or found this written in Java and willing to share?
So imagine I have arbitrary size byte[] = {0xff,0x3e,0x12,0x45,0x1d,0x11,0x2a,0x80,0x81,0x45,0x1d,0x11,0x2a,0x80,0x81}
How do I convert it to array of BigInteger's and then be able to recover it back the original byte array safely?
ty in advance.
Is this list-initialization of an array of unknown size valid in C++0x?
int main() { int x[]{0, 1,2,3,4}; return x[0]; }
I believe it is valid, but would appreciate some confirmation.
If anyone could quote from the C++0x-FCD to support their case, it would be greatly appreciated.
Thanks!
hi,
I'm using jQuery Media module in Drupal to use my own flv player. It works great, however I would like to assign different width and height size according to the videos sizes.
How can I do it ? Should i pass back values from Flash app with an External Call ?
thanks
What is the default maximum heap size for Sun's JVM from J2SE 6 (i.e. equivalent to setting -Xmx)?
Looks like for J2SE 5 with a server-class machine, it's
Smaller of 1/4th of the physical memory or 1GB.
Bonus question: Looks like for IBM's JVM you can ask it
java -verbose:sizes -version
Can you similarly ask Sun's JVM?
Simple Question:
[1] How do you change the font and font size in the themed button widget (ttk::button)?
ttk::button .x.buttonTEST -text "TEST" -font??(option not valid with ttk::button)
please advise.
The MFC program I am debugging is printing this message in the "Output" window in Visual Studio 9.0:
HEAP[AppName.exe]: Invalid allocation size - 99999998 (exceeded 7ffdefff)
I'm pretty sure this is due to a bad "new", uninitialized variable or similar error.
The question is: how do I get the debugger to stop on this message so that I can view the stack trace and solve the problem?
What column type should I use for storing html content from a website with an unknown size?
(I'm scanning certain html pages, and create an database entry if there are changes between the last stored entry and the current html code.)
Hi,
In my app, I have a ScrollView that shows a map(just a jpeg).
On top of the ScrollView, I added some pins(UIImageView)
So far so good.
But when I zoom in, the pins also get larger.
I would like the pins to stay at a fixed size, just like the pins on the google map application on the iPhone.
How do I solve this?
Thanks!
Hi there,
I'm looking to calculate the total size of all shared folders (except admin shares) on a number of different servers (consolidating all accessed files to a NAS box for easier backup / restore) but am having a bit of trouble finding a solution.
I'm certain this could be done in powershell but I just can't find the right information to get me going, I can currently spit out a list of all shares on the servers but am not sure where to go from here:
$servers =@(
"server1",
"server2")
foreach($server in $servers)
{
get-WmiObject Win32_Share -computerName $server -filter "Type = 0"
}
Hi,
In order to overcome a Java heap space problem, I need to extend the Java heap size up to
256 MB. I did it using Eclipse by passing -Xmx256m as a parameter during the execution.
My problem is that I want to export my application as a JAR file. How to keep this configuration during the export?
Thank you
Does anyone know how to change these length parameters in the middle of a latex document?
\paperwidth
\paperheight
I would like to define a page size for a single page (possibly two or three). I tried v5.3 of the geometry package, which just added some new features; like \newgeometry. Unfortunately \newgeometry cannot be used to redefine \paperheight and \paperwidth.
Any help would be very appreciated.
I made an totally custom navigation bar and would like to use the exact same font and size like apple does for the title of their navigation bar. It looks like some kind of fat printed arial, but not sure if that's right. Does anyone know?
I want to cut Postgres to its minimal size for purpose of including just database function with my application. I'm using Portable Postgres found on internet.
Any suggestions what I can delete from Postgres installation which is not needed for normal database use?