Questions tagged [profile]

Profiles are part of .NET Framework. Profiles allows you simply manage your users.

1800 questions
58
votes
7 answers

Maven: Customize web.xml of web-app project

I have a web application Maven project, and I want to customize the web.xml file depending on the Profile that is running. I am using the Maven-War-plugin, which allows me to define a "resources" directory, where the files may be filtered. However,…
Markos Fragkakis
  • 7,499
  • 18
  • 65
  • 103
51
votes
28 answers

Android - get facebook profile picture

I don't know why, but I am always getting null when I try to get the profile picture of the user. Do I need to set some specific permissions to get access? Below is my method: public static Bitmap getFacebookProfilePicture(String userID) throws…
Zbarcea Christian
  • 9,367
  • 22
  • 84
  • 137
49
votes
1 answer

android - what is message queue native poll once in android?

I know that threads have a message queue and handlers are able to push runnables or messages to them, but when I profile my android application using Android Studio tools, there is a strange process: android.os.MessageQueue.nativePollOnce It uses…
Sajad Norouzi
  • 1,790
  • 2
  • 17
  • 26
45
votes
4 answers

Including profiles in spring boot 2.4.0 version

As a developer, I use the default dev profile in my local development environment. Here is part of my application-dev.properties file: # Profiles spring.profiles.include=auth Previously I used Spring Boot 2.3.0.RELEASE and the…
misnomer42
  • 579
  • 1
  • 5
  • 10
45
votes
4 answers

Visual Studio 2010 Publish Profiles -- Where are they stored?

We have set up a few Publish Profiles that are used to deploy web apps to various servers, and it all works great with 1-click deployment. However, we find that even though the entire solution is under source control (SVN), the profiles do not seem…
Jeff S
  • 451
  • 1
  • 4
  • 3
42
votes
2 answers

In Maven, how to run a plugin based on a specific profile

I have a Maven project that has 3 modules. These are built by the parent pom.xml I now have a requirement that I need to run one plugin from inside one of the sub modules' pom.xml files based on the profile selected. How can I specify that this…
mandy
  • 451
  • 1
  • 4
  • 4
35
votes
1 answer

Git includeIf for personal and work profiles doesn't work

I've been googling about this, trying different methods from different sources... but it doesn't work. I want to push commits with my personal profile (defined with "git config --global user.email ...") unless I'm on my work folder. The content of…
Icaruk
  • 713
  • 2
  • 8
  • 20
33
votes
4 answers

Profile Entire Java Program Execution in VisualVM

In Java profiling, it seems like all (free) roads nowadays lead to the VisualVM profiler included with JDK6. It looks like a fine program, and everyone touts how you can "attach it to a running process" as a major feature. The problem is, that…
kbolino
  • 1,441
  • 2
  • 18
  • 24
31
votes
3 answers

Django-Registration & Django-Profile, using your own custom form

I am making use of django-registration and django-profile to handle registration and profiles. I would like to create a profile for the user at the time of registration. I have created a custom registration form, and added that to the urls.py using…
ismail
  • 3,882
  • 5
  • 36
  • 47
30
votes
4 answers

Bug with starting Instruments via Profile under Xcode 4.1 Build 4B110

Important Update The strange bug is fixed (at least for me) in Xcode 4.2! I've a serious problem with Xcode 4.1 Build 4B110 under Mac OS X Lion and running Instruments via Xcode. The problem is that Instrument freezes partly if I start it via…
andi1984
  • 676
  • 10
  • 27
30
votes
6 answers

Activation of maven profile based on multiple properties

I am creating a maven 2 build for a project and I came up with profiles since the build has to be created for both different locations (say Berlin, Paris, North Pole) and different environment (Development, Production). Those are specified via…
Jan Zyka
  • 17,460
  • 16
  • 70
  • 118
29
votes
3 answers

Powershell: $profile is pointing to a path that I can't find and setting permanent path

I am looking at my $profile variable and I see that it is pointing to C:\users\username\Documents\windowsPowershell\Microsoft.Powershell_profile.ps1 However, when I attempt to browse to this directory I cannot find the folder/directory named…
Dustin Hammond
  • 291
  • 1
  • 3
  • 3
28
votes
3 answers

Maven - activate child profile based on property

Scenario: Given Parent POM which defines a profile and a child (as module) Child project(s) that will be using the profile by referring to the parent POM. The intent is to skip profile execution in the parent and execute it in the child…
Bostone
  • 36,858
  • 39
  • 167
  • 227
27
votes
5 answers

Profile Memory Allocation in Python (with support for Numpy arrays)

I have a program that contains a large number of objects, many of them Numpy arrays. My program is swapping miserably, and I'm trying to reduce the memory usage, because it actually can't finis on my system with the current memory requirements. I am…
chimeracoder
  • 20,648
  • 21
  • 60
  • 60
27
votes
10 answers

How to scan and auto-configure profiles in AutoMapper?

Is there any way to auto-configue Automapper to scan for all profiles in namespace/assembly? What I would like to do is to add mapping profiles to AutoMapper from given assembly filtered by given interface, something like Scan Conventions in…
Wojciech Markowski
  • 1,074
  • 1
  • 11
  • 15