hi folks,
Just wandering if its a good idea to put username and password in the application settings?
If not where is the best place to store these?
--Jonesy
I have searched my entire Mac for ibplugin to find the QTKit IBPlugin, but I also came accros a plugin which adds AFAssistantPane to IB. I did a Google-search but Google has no results for it. So, does anyone know how I can use this AFAssistantPane?
Thanks
Update: I noted that this is in a private framework (that's why it is not documented).
I have a Java Secured Webservice With Soap Header Protection Must Provide Username and Password. My Application is C# Client Application Can i call Java Secured Webservice using C# code what is the code for that ? When i connect this webservice its showing SoapHeader Element Required ..Please Give the Solution
I am using and getting a file from ftp server. But when I use to read the downloaded file, its not allowing me to read the file. Its because of the permissions on the files.
How can i set permission to 777 or full access for that file from code. I don't want to do that manually. I am using Mac OS.
Thanks..
On Fedora Core 7, I'm writing some code that relies on ARG_MAX. However, even if I #include <limits.h>, the constant is still not defined. My investigations show that it's present in <sys/linux/limits.h>, but this is supposed to be portable across Win32/Mac/Linux, so directly including it isn't an option. What's going on here?
Is possible to format/color the output in the Xcode console? I know that you can do that while debugging CoreData on Mac by setting:
com.apple.CoreData.SQLDebug 3 and
com.apple.CoreData.SyntaxColoredLogging YES
What with our own logs, can we color/format them too somehow?
I'm building a test web application ASP.NET VB from a tutorial see it at http://www.latinosnetwork.net/aspnetsystem/Login.aspx after successful log-in using user name jose and password abad the formsauthentication.redirectfromloginpage method redirect the application to a default.aspx at the root directory where it do not exist also the application is not at the root directory.
Any help on that.
Which font types i will need in @face-font and how to to make font smoother in all browser like sIFR?
IE 6, IE 7, IE 8, Firefox 3+, Google Chrome and Safari (MAC)
Which font type i needed
Basically, I'd like to know how I can logout of my facebook session if I am in an iphone app and have connected to facebook (such that I do not have to repeatedly enter my login/password). Normally you'd disconnect in the app somewhere like in the options, but if this is not available (i.e. anything that triggers the FBSession logout method) is there some other way to do it?
I'm guessing one could restore their phone to factory settings or something.
My programming experience is limited to xhtml, css, php, sql and some javascript. The books I have are:
Programming in Objective-C 2nd Edition
Beginning iPhone Development
Cocoa(R) Programming for Mac(R) OS X (Paperback)
Is there anything else I will need to get started on my journey into iPhone/OS X development?
I am using Lightbox 2 and I have followed the short tutorial on how to insert it in a webpage and it works perfectly but the close and refresh images don't show. They are replaced with the classic Mac OS X '?' box. I have checked the paths of these images in the lightbox.js file and they are correct.
Thanks in advance!
So, after little thinking I have wrote the following:
# In repository we don't need to have:
# Compiled object files
*.o
# Generated MOC, resource and UI files
moc_*.cpp
qrc_*.cpp
ui_*.h
# Built windows .exe and linux binaries
# NOTE: PROJECT is a your project's name, analog of PROJECT.exe in Linux
*.exe
*.dll
PROJECT
# Windows-specific files
Thumbs.db
desktop.ini
# Editors temporary files
*~
# Debug and Release directories (created under Windows, not Linux)
Debug/
Release/
Please ask, what needs to be added or fixed (especially for Windows - I haven't one under hand now. And Mac too [haven't work in it at all]).
I want to keep my repository clear :-)
How can I use the MembershipCreateStatus in my controller below to identify errors?
My controller below creates a new user but I would like to catch any errors from CreateStatus and add the error to my modelstate.
[HttpPost]
public ActionResult CreateUser(user UserToCreate)
{
if (ModelState.IsValid)
{
// TODO: If the UserToCreate object is Valid we'll
//Eventually want to save it in a database
Membership.CreateUser(UserToCreate.Username, UserToCreate.Password, UserToCreate.Email);
return Redirect("/");
}
//Invalid - redisplay form with errors
return View(UserToCreate);
}
Here is my situation. I have written a WCF service which calls into one of our vendor's code bases to perform operations, such as Login, Logout, etc. A requirement of this operation is that we have a background thread to receive events as a result of that action. For example, the Login action is sent on the main thread. Then, several events are received back from the vendor service as a result of the login. There can be 1, 2, or several events received. The background thread, which runs on a timer, receives these events and fires an event in the wcf service to notify that a new event has arrived.
I have implemented the WCF service in Duplex mode, and planned to use callbacks to notify the UI that events have arrived. Here is my question: How do I send new events from the background thread to the thread which is executing the service?
Right now, when I call OperationContext.Current.GetCallbackChannel<IMyCallback>(), the OperationContext is null. Is there a standard pattern to get around this?
I am using PerSession as my SessionMode on the ServiceContract.
UPDATE:
I thought I'd make my exact scenario clearer by demonstrating how I'm receiving events from the vendor code. My library receives each event, determines what the event is, and fires off an event for that particular occurrence.
I have another project which is a class library specifically for connecting to the vendor service. I'll post the entire implementation of the service to give a clearer picture:
[ServiceBehavior(
InstanceContextMode = InstanceContextMode.PerSession
)]
public class VendorServer:IVendorServer
{
private IVendorService _vendorService; // This is the reference to my class library
public VendorServer()
{
_vendorServer = new VendorServer();
_vendorServer.AgentManager.AgentLoggedIn += AgentManager_AgentLoggedIn; // This is the eventhandler for the event which arrives from a background thread
}
public void Login(string userName, string password, string stationId)
{
_vendorService.Login(userName, password, stationId); // This is a direct call from the main thread to the vendor service to log in
}
private void AgentManager_AgentLoggedIn(object sender, EventArgs e)
{
var agentEvent = new AgentEvent
{
AgentEventType = AgentEventType.Login,
EventArgs = e
};
}
}
The AgentEvent object contains the callback as one of its properties, and I was thinking I'd perform the callback like this:
agentEvent.Callback = OperationContext.Current.GetCallbackChannel<ICallback>();
How would I pass the OperationContext.Current instance from the main thread into the background thread?
Hi Everyone,
Are there any ways to retrieve the database connection string where my ruby is connected? what i would like to get is the:
1) Database name where the ruby is connected
2) The username of the SQL Server
3) Password of the SQL Server
4) Server name
I want to store it in session variables.
(I'am using MS SQL Server.)
Please help! thanks!
Hello everyone,
Please help me with this insanity:
http://imageoneads.com/zenliver/
My menu bar worked fine & I accidently deleted or moved one of class or ID. Now it disappeared. All browsers Wont display the menu, except Firefox for Mac. This drives me nut....Cant believe I have to start over if I can't figure it out....Please help....Thanks ahead
tran006
Hi.
We are a team working on a bunch of SSIS packages, which we share using version control (SVN). We have three ways of saving sensitive data in these packages :
not storing them at all
storing them with a user key
storing them with a password
However, each of these options is inconvenient while testing packages saved and committed by an other developer. For each such package, one has to update the credentials, no matter how the sensitive data was persisted.
Is there a better way to collaborate on SSIS packages?
Hi.
I got this function
function verify_at_bd(){
var u = "foo";
var p = "bar";
return $.post('auth.php', { name: u, password: p, mobile: '' },
function(result){
return result;
},'json');
}
If I do a console.log(verify_at_bd()) I'm getting an xmlhttprequest but cannot access to responseText property. I'm using header("Content-Type: application/json") into my PHP.
I'm using firefox 3.6 on OS X.
I have written the name of my database, username and password in my web.config file as connection string.
I want to encrypt this data. How can I do it?
Please help me out...
Regards,
Jigar <3
Hi,
i have this page.
login: [email protected]
password: m
As you can see in IE7 the selects for the age, and radio buttons are not well organized. In FF and IE8 no problem.
Any idea?
Regards
Javi
Jruby is hanging on connection to sqlserver and I cannot figure out why. Here is my code ...
puts "make connection"
ActiveRecord::Base.establish_connection(
:adapter => 'jdbc',
:driver => 'com.microsoft.jdbc.sqlserver.SQLServerDriver',
:url => 'jdbc:sqlserver://test:1433;databaseName=test;integratedSecurity=true',
:username=>'test',
:password=>'test'
)
puts "connected"
fish = ActiveRecord::Base.connection.execute("SELECT * FROM users")
puts "query ok"
the code spits out "make connection" and then "connected" but never reaches "query ok" any ideas?