I want to add a custom message once someone saves a specific content-type telling them that it is going through an approval process. This will let them know as well as prevent them from re-submitting.
hi . i want build a photography app with effects . e.g. old images with brown or black and white filter , how can i process UIImageView to change color , brightness and ....
thank you .
Hello everybody
I'd like to know if and how I can access api calls inside the kernel. I need them to preform several integrity checks on a program of mine running in user mode. But I don't know how I can access the api's and funcions required to do so.
Does anybody know how to obtain the process id of my user mode proces? and how to access all it's memory to preform the check?
Thanks in advance
ps:
My I'm on a windows xp machine
I have a visual studio integration package that tracks output from the debug window. I can get the IVsTextView of the output window, like so:
IVsTextView view = GetService(typeof(SVsOutputWindow)) as IVsTextView;
// grab text from the view and process it
However, if a different panel other than the "Debug" panel is currently active, then this IVsTextView will have text from that panel, and not the "Debug" panel.
Is it possible to get an IVsTextView for a specific output window panel, without calling OutputWindowPanel.Activate() prior to getting the IVsTextView of the output window?
This may be dumb question. But somehow this engaged me for sometime and after some basic research I couldn't find an answer.
I was learning JavaScript and a code I wrote had an error and has been outputting infinite loops of alerts. I tried the normal shortcuts like Ctrl + C and Ctrl + Z but they didn't work. So I was thinking if there is any solution to this other than ending the browser process (like by doing a Ctrl + Alt + Del).
Hi there, first time posting in StackOverflow. :D
I need my software to add a couple of things in the registry.
My program will use
Process.Start(@"blblabla.smc");
to launch a file, but the problem is that most likely the user will not have a program set as default application for the particular file extension.
How can I add file associations to the WindowsRegistry?
Ive written a cprogram that works when i pipe data into my program using stdin like
gunzip -c IN.gz|./a.out
If I want to run my program on a list of files I can do something like
for i `cat list.txt`
do
gunzip -c $i |./a.out
done
But this will start my program 'number of files' times.
I'm interested in piping all the files into the same process run.
Like doing
for i `cat list.txt`
do
gunzip -c $i >>tmp
done
cat tmp |./a.out
thanks.
Hi,
I am trying to use an alarm to set my widget layout after some minutes. Everything works correctly in normal situation but, if I try to delete the process of my application, simulating a system kill, after the alarm is set, then no alarm is executed. Why? From documentation it seems that alarms are executed by AlarmManager service...so it should work.
Thanks
Tobia Loschiavo
In Linux I would like to run a program but only for a limited time, like 1 second. If the program exceeds this running time I would like to kill the process and show an error message.
I got a .net web service with dataset as one of the intake parameter. e.g.
int HellowWorld(dataset ds) {}
After this web service being invoked, it will start processing and return status (success or fail) after the process finished.
My question is, how iphone application can build a dataset and attach it as a parameter for sending to the web service?
I need to write a rich text editor similar to Google Doc. Does anyone know any samples of similar projects? What technologies will I need? and what process is involved?
Time zones can be hard to select from dozens of options. I would like to make this process simpler. I saw some forms in the wild that can do the best guess. I Goggled for a solution but with out any luck. Do any one have an idea how to do it?
How can I cache an XSD schema (residing on disk) to be reused when parsing XMLs in Xerces (C++)?
I would like to load the XSD schema when starting the process, then, whenever I need to parse an XML, to validate it first using this loaded schema.
I'm following the steps very well described here http://stackoverflow.com/a/18399927/2510225 , but, from my server, I receive the following error:
{"error":{"message":"The access token does not belong to application APP-ID","type":"OAuthException","code":1}}
I can't figure what I'm doing wrong. Anyone knows if the process to get a permanent access token has changed, or is having the same issue?
The access token I'm using in the request is the user access token, which I think is correct.
I want to loop through a Python list and process 2 list items at a time. Something like this in another language:
for(int i = 0; i < list.length(); i+=2)
{
// do something with list[i] and list[i + 1]
}
What's the best way to accomplish this?
Is it possible to restart server from ASP.NET application that is hosted by LocalSystem or LocalService account. This is working when I create custom administrative account and put AppPool to run under that account:
Process.Start("shutdown", "/r /d 4:1 /t 10");
However, I don't want to have custom accounts (because of password expiry and need to update all AppPools when User passwords are changed).
So, is this possible?
I have an array of objects in MATLAB and I've called their constructors in a loop:
antsNumber = 5;
for counter = 1: antsNumber
ant(counter) = TAnt(source, target);
end
MATLAB warns me to use preallocation to speed up the process. I do know the benefits of preallocation but I don't know how to do that for objects.
How do you securely pass credit card information between pages in PHP? I am building an ecommerce application and I would like to have the users to go through the checkout like this:
Enter Information - Review - Finalize Order
Problem is that I am not sure on how to safely pass credit information from when the user inputs them to when I process it (at the Finalize Order step). I heard using sessions is insecure, even with encryption.
Any help would be appreciated!
How can I animate the tray icon while the main application is processing? I already tried the suggestion here, but the icon does not animate during process. I also tried putting the animation in a separate thread but still no luck.
I am painting a widget and I want to optimize the process. Basically i will be sliding the image in the x direction and I only want to fill the newly exposed area. Is there a way to translate the pixels of a widget without calling update or using paintevent? I know of pixmaps and such but I am wondering If I can for example draw a pixmap once and then translate what I have drawn without having to paint anything else or draw pixmaps anymore.
I have an iPhone app that I have started to turn into a universal app, however the process is not complete and I want to release an update to the iPhone version.
I know that you can specify device capabilities in the Info.plist file to restrict your app to certain devices, but how can I do this to prevent the unfinished universal version from appearing in the iPad store?
Is checking the LSRequiresiPhoneOS BOOL entry (in the Info.plist file) enough?
Thanks!
Hi all,
I am looking to execute a password change over Net-ssh and this code seems to hang:
Net::SSH.start(server_ip, "user", :verbose => :debug ) do |session|
session.process.popen3("ls") do |input, output, error|
["old_pass","test", "test"].each do |x|
input.puts x
end
end
end
I know the connection works because using a simple exec I can get the output from ls on the remote server, but this hangs.
Any ideas?
The last message from debug is that the public key succeeded.
Lets say I open some application or process. Did some work with that. Now I closed it.
Need to know whether this application caused any memory leak.
i.e used up some heap memory and not cleared it properly.
Can I get this statistics some how? I'm using Visual Studio (for development) under Windows OS.
Even I would be interested in knowing this information for any 3rd party application.
In a new app, I plan to let users download their own files and stored them inside iPhone. The process is typically:
iPhone present a web page by UIWebView, in which there are several links to .zip files
the user browser the page and click on one of the .zip file link
iPhone downloads the file into the iPhone document folder, closes WebView, acknowledges the user when download is complete
How can that be done? Thanks
Hi,
I was keen on using the Process class [C#] to open "Add Bluetooth Device" wizard, but I was wondering what is the location of the wizard's exe?
I would be glad if someone can help.
Thanks