Hi,
I use an uiwebview into my iphone app.
When i display a javascript alert box, his title is my iphone app name.
How can i change it ?
Thank you,
Mo'
Sorry for the rather lengthy post here. I get asked this all the time so I decided to post it…Visual Studio 2010 editions will be available on April 12, 2010. Product Features Professional with MSDN Essentials Professional with MSDN …
I cant seem to be able to adjust the brightness on my think-pad laptop running Ubuntu 10.04. In the power management applet it shows that the power is set to 100%, but even if i try to lower it the actual screen brightness dosent change.
Any ideas of how I can get around this?
I tried changing the brightness from the terminal but its already set…
I'm using XFCE on a dual monitor setup, with Xorg configured to separate X screens (neither twinview nor cinerama is working on GF470 with latest nvidia drivers). I'm not using xrandr.
Suppose I have firefox running on one screen (:0.0) and thunderbird on the other (:0.1). When I want to switch focus from thunderbird to firefox, I need to move my…
I cant seem to be able to adjust the brightness on my think-pad laptop running Ubuntu 10.04. In the power management applet it shows that the power is set to 100%, but even if i try to lower it the actual screen brightness dosent change.
Any ideas of how I can get around this?
I tried changing the brightness from the terminal but its already set…
I have a method that I call multiple times, but each time a different method with a different signature is called from inside.
public void MethodOne()
{
//some stuff
*MethodCall();
//some stuff
}
So MethodOne is called multiple times, each time with a different *MethodCall(). What I'm trying to do is something like this :
public void…
Hey guys,
I'm new to serverfault so please excuse me if I sound a tad nub. I work in an environment that is kinda peace mealed together, and I honestly don't know how it works. I'm new to the IT field and am still in school.
When I replace a PC I rename the old one to mo-o-pcname and give the new one the proper name of mo-pcname (mo is a…
Author: Craig Mikus, Sr. Director, Enterprise Mobile Solutions
Seems like every customer is either building or planning to build mobile apps, especially customer facing apps. Why? Inevitably, all companies want to improve the customer experience through more quality interactions that drive customer satisfaction, customer loyalty,…
hi there!
what's the best practise to break a loop?
my ideas were:
Child Find(Parent parent, object criteria)
{
Child child = null;
foreach(Child wannabe in parent.Childs)
{
if (wannabe.Match(criteria))
{
child = wannabe;
break;
}
else
{
child =…
I was reading http://stackoverflow.com/questions/1511798/threading-from-within-a-class-with-static-and-non-static-methods and I am in a similar situation.
I have a static method that pulls data from a resource and creates some runtime objects based on the data.
static class Worker{
public static MyObject DoWork(string filename){…
I have a mysql server running debian with 2GO of RAM.
I would like to know the amount of memory used by each process.
I thought ps -aux was the command and options for it. But I only see 90 MO used by several processes and free -m tells me that 1400 MO are used.
Is there a way to have a better view with the processes and the memory…
Hello, i Have a problem with i18n, using webpy.
I have followed this : http://webpy.org/cookbook/i18n_support_in_template_file
So, in my .wsgi there is :
#i18n
gettext.install('messages',I18N_PATH,unicode=True)
gettext.translation('messages',I18N_PATH,languages=['fr_FR','en_US']).install(True)
So i ran :
pygettext.py -a -v -d…
I don't have access to a multi-socketed computer, so I am unsure if the following will get the grand total of processors and logical processors. I assume ManagementObjectSearcher will return an instance for each socketed CPU and I just keep a running total?
int totalCPUs = 0;
int totalLogicalCPUs = 0;
ManagementObjectSearcher…
shouldn't win 2003 R2 64bit see more than 4gb by default or am I missing a setting somewhere? hardware is SuperMicro X6DVA-EG.
http://msdn.mzicrosoft.com/en-us/library/aa366778%28VS.85%29.aspx#physical_memory_limits_windows_server_2003
The DLL in question is a VB6 web class. When deploying, the old one needs to be unregistered and the new one registered. This has worked for many years but has failed now with the following error in a message box:
LoadLibrary("c:...\my.dll") failed - The filename, directory name, or volume label syntax is incorrect.
I don't…
I have finished setting up nginx for virtual hosting, this is how my config files look like
server {
listen 80;
server_name domain.com;
access_log /home/domain.com/prod_webapp/logs/access.domain.com.log;
error_log /home/domain.com/prod_webapp/logs/error.domain.com.log;
location /static {
root…
I have been convinced (over at stackoverflow) to use my beloved bash in vi mode. So far I got used to it quite well and I like it.
However I really do miss one feature: In emacs-mode, you can enter the last parameter of the previous command by pressing "ESC ." (That is, press escape followed by the .)
Is there a…
Windows 7: I have the Browse folders option set to "Open each folder in the same window" in the Folder Options dialog. Double-clicking folders opens a new window. Please, make it stop.
I am deploying an EAR in a WebLogic node with many jars defined in the bootstrap (startWeblogicServer.bat) class-path. The problem is that my ear and the bootstrap contain different versions of the same jars, not only that but certain jars contain extracted third party libraries which also differ in version from…
Digi-Kay annonce la BeagleBoard-xM, une nouvelle mouture plus complète de sa carte mère phare
La BeagleBoard, cette carte mère compacte (7,87 x 7,62 cm) populaire auprès des férus d'informatique, sortira bientôt dans une nouvelle version plus performante.
Le modèle actuel, vendu par Digi-Kay, s'organise autour…
I am having some problems with collision detection, I have 2 types of objects excluding the player. Tiles and what I call MapObjects. The tiles are all 16x16, where the MapObjects can be any size, but in my case they are all 16x16. When my player runs along the mapobjects or tiles, it get verry jaggy. The player…
I have my nginx conf file so that when ever a mobile device visits my site the url gets rewritten to m.mysite.com I did it by adding the following
set $mobile_rewrite do_not_perform;
if ($http_user_agent ~*…
I've seen that Heroku charges $15/mo to run Delayed Job, and $3/mo to run cron tasks daily. Is it possible to skip that entirely and run my own cron tasks manually? Or are they somehow figuring out that I'm…
Hello,
Is there a good, open-source, document CMake module for gettext support?
I mean:
Extracting messages from sources
Merging messages to existing translations
Compilation of mo-files
Installation of…
Using javascript, how can we auto insert the current DATE and TIME into a form input field.
I'm building a "Problems" form to keep track of user submitted complaints about a certain service. I'm collecting…