profile

iPhone provisioning profile renewal help

Hi, my problem is that my provisiong profile expired a few days ago. I visited the developer's portal and downloaded a new one (made it the same name and everything). I followed the instructions and installed the new one and removed the old. I can now run my app on my iPhone again :) but whenever i try to test my app on my iPhone from...

Make Maven Proxy/Server settings configurable based on location?

So I'm not sure what the best way to accomplish this is, but basically I have a laptop that I use at work for Maven projects. It works fine when I'm at work, but as soon as I walk out of the door of their corporate proxy and maven server, I often have to do alot of hand-fudging of the settings.xml file when I'm at home if I'm not VPN'ed...

How to get a IStereotype reference in a T4 Template?

Is there a way to get a reference to Microsoft.VisualStudio.Uml.Profiles.IStereotype interface in a t4 template? I mean IStereotype that stores the definition of the UML stereotype, and not IStereotypeInstance that holds the actual value. I tried something like this, but the ApplicableStereotypes enumereation is empty. void WriteClassAt...

Can hotshot be used in multiple threads?

I have a long-running multithreaded program, and I'd like to occasionally like to call a function with Profile.runcall and dump the data to a file. The hotshot documentation states: Note: The hotshot profiler does not yet work well with threads. It is useful to use an unthreaded script to run the profiler over the code you’re interested...

How to make a mysite profile property display in a different way?

Hello, We have a string in AD which is actually storing a date in the YYYYMMDD format, which when you map it in sharepoint to a profile property, just looks plain ugly, e.g. 20091130. Our AD people are refusing to change the format of it in AD, so we were wondering if there was a way (javascript perhaps?) of changing it so that it at le...

How do i show either the stop or reload button but not both at all times in firefox

I put this in my userchrome.css in my profile directory. #stop-button[disabled="true"] { display:none; } #stop-button:not([disabled]) + #reload-button { display:none; } but only the 1st line works not the 2nd one. ...

Windows Forms or WPF - Remember User Profile on DataGridViews

Hi, I have some tab controls on a windows form. For each of these tabs I might want to be able to sort by the column header, apply a filter, change the order that the columns are displayed in, and also add additional columns from a predetermined list. The question I have is using Windows Form (Current Implementation) or making the tab...

How would you make a "Favorite Pages" system

So I was asked by my management to incorporate a way for users to mark pages in my website as "favorite" and have them show up in a special list. This site has a static structure (I do not generate pages). I am wondering about the best way to do that. My first thought was to store it in the database (since user information is also sto...

How to apply stereotypes on UML Relationships' MemberEnds?

I'm running this code on a UML Class Diagram, and it works just fine, but when trying to apply stereotypes from PropertiesEditor in Visual Studio for relationship ends (FirstRole and SecondRole), the stereotypes combo doesn't load even if in code there seems to be applicable stereotypes valid for association properties. What should I put...

How can a user view profile info of other users?

I have stored profile info using this code ProfileBase userprofile = HttpContext.Current.Profile; userprofile.SetPropertyValue("FirstName", TextBoxFirstName.Text); userprofile.SetPropertyValue("LastName", TextBoxLastName.Text); userprofile.SetPropertyValue("AboutMe", TextBoxAboutMe.Text); userprof...

Running jmap on javaw started from eclipse ?

Hi, Windows 7, JDK 1.5, Eclipse 3.5. C:\Users\User>java -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing) C:\Users\User>set | find "JAVA" JAVA_HOME=C:\tools\jdk1.6.0_18 Eclipse is running using JDK 1.5 Set Compliance level 1.5 Inst...

Profiling shared library/plugins written in C++ for Python?

I've got a C++ library that lets me write plugins in C++ and then automatically exposes them to python. I'm working on some networking stuff in a plugin and I'd like to profile it with something like gprof, but simply compiling with -pg and running the plugin via python doesn't generated the necessary profiling data. Unfortunately the ...

Not Getting Profile properties in Code Behind.

I am trying to get Profile properties in the code behind. But I am not getting any intellisence like Profile.Homephone or Profile.CellPhone. When I try Dim memberprofile As ProfileBase = HttpContext.Current.Profile Dim homePhone As String = memberprofile.GetPropertyValue("HomePhone").ToString() I get Data is Null. This method or propert...

Why am I getting a TypeLoadException when defining a custom profile?

I'm writing a .NET command-line application that will migrate users from an existing database into aspnetdb. To simplify the user-specific settings, I'm using the profile class that Joel Spolsky wrote about here. It works great in the ASP.NET MVC website, but for some reason it's throwing a TypeLoadException when being used from this n...

Why do I get different results from profiler in Visual Studio 2010 RC

I have setup 1 project in VS2010 RC. A workflow console application that simply counts from 1 to 10000 and writes each number to console. When I execute "F5" this application it takes minutes to finish, but when i execute this application with profiling it finishes in 3-5 seconds. Does anyone know why? ...

clang compiler does not support -pg

I've been porting over a project from g++ to clang. Clang;s compiler claims to not support -pg ... so no gprofile? What's the expected way to profile under clang? Valgrind & oprofile? Or is there some new llvm specific tool? ...

Using ASP .NET Membership and Profile with MVC, how can I create a user and set it to HttpContext.Current.User?

I implemented a custom Profile object in code as described by Joel here: http://stackoverflow.com/questions/426609/asp-net-membership-how-to-assign-profile-values I can't get it to work when I'm creating a new user, however. When I do this: Membership.CreateUser(userName, password); Roles.AddUserToRole(userName, "MyRole"); the user...

Proper way to store user information

The standard Joomla registration forms has a limited set of fields available. What's the "correct" method for adding the user's first name, last name, and phone number to the registration project? I can certainly modify the Joomla core, but that's less than ideal. A nickel for your thoughts. ...

Parsing out information from a LinkedIn profile using VB Script

Does anyone have an example that parses out the information from a LinkedIn profile using VB Script? I have a database which contains client information and I have been including the client Key for LinkedIn in hopes to have it automatically update some or possibly all of the information for that client. Sincerely, Christopher J. Schäre...

Access Profile Provider property values in ASPX files

We have several companies using one web application. Companies may decide to display different values in Labels. e.g. CompanyA -> ZipCodeCaption = "Zip Code" CompanyB -> ZipCodeCaption = "Pin Code" CompanyA -> USDSymbolCaption = "USD" CompanyB -> USDSymbolCaption = "$" We are using profile provider to store each company's settings....