Questions tagged [profiles]
202 questions
1
vote
1 answer
Using a specific Automapper profile
I'm using AutoMappper 5.2 in my MVC project. I have made use of IMapper creating profiles which I understand profiles are a way to organise mappings. I am injecting IMapper into my controllers using Simple Injector to register an instance.
What I…

Matt007
- 13
- 4
1
vote
1 answer
Puppet Roles/Profiles and init.pp class parametrized only
I would to apply the roles/profiles pattern as explained by Craig Dunn and at URL https://docs.puppet.com/pe/2016.4/r_n_p_full_example.html to my modules built with the rules specified at…

BnG
- 31
- 6
1
vote
1 answer
How to build Spark 1.6.1 with SBT on Windows using Hadoop profiles?
How can one activate Hadoop and YARN profiles while building Spark on Windows (8-10) with SBT?
>sbt package
The above code works, but could not activate profiles with the following:
>sbt -Pyarn package
I'm asking, because mvn is exceptionally slow…

Dyin
- 5,815
- 8
- 44
- 69
1
vote
1 answer
Mahalanobis distance between profiles in R
A sample of 100 subjects responded to two personality tests. These tests have slightly different wordings but are generally the same, i.e. they both measure the same 4 attitudes. Therefore, I have 2 matrices like this, with 4 scores per…

achmed
- 35
- 4
1
vote
2 answers
Maven profiles in pom
I am trying to set some system environment variables through maven, based on profiles.
So my pom code is
dev
com.xxx.profile
dev
…

user2689782
- 747
- 14
- 31
1
vote
1 answer
Puppet Roles and Profiles - Unable to find class
When including a role in the site.pp file, I get the error "Could not find class roles::developmentmachine"
In my site.pp I have:
node 'laraveldev2-VirtualBox.local' {
include roles::developmentmachine
}
In my modules folder…

Chemhistorian
- 11
- 1
1
vote
2 answers
Different profiles for different roles in Asp.net Identity.
Is it possible to have different profiles for different roles? or do I have to:
Create a profile with all the fields that are shared i.e. First Name, Last Name.
Create two separate tables that each include their own unique properties i.e. Table…

Cool Breeze
- 1,289
- 11
- 34
1
vote
1 answer
Codeigniter: Restricting user access to own profile page
I'm relatively new to Codeigniter, and attempting to restrict the user profiles to be viewed,edited, or deleted by the profile owner. I have successfully restricted access to the profiles from non-logged on users on another function. My issue is to…

Jeffrey Teruel
- 364
- 2
- 10
- 29
1
vote
1 answer
how to handle multiple profiles per user?
I'm doing something that doesn't feel very efficient. From my code below, you can probably see that I'm trying to allow for multiple profiles of different types attached to my custom user object (Person). One of those profiles will be considered a…

Scott
- 3,204
- 3
- 31
- 41
1
vote
2 answers
Run xcode project with distribution profile on it
I have created an iOS application, and wanted to submit it to the App Store.
I saw a tutorial on how to do that, and understood that I need to create a Distribution profile and replace it with the Development profile. So I did that but before…

Nir Gofman
- 45
- 1
- 7
1
vote
1 answer
Multiple profiles - spring bean injection
@Service
public interface DatabaseConnector {
public Model getModel();
}
@Configuration
@Profile({"!test"})
public class DatabaseConnectorT implements DatabaseConnector {
private final Model model;
@Autowired
public…

Chris
- 89
- 1
- 10
1
vote
0 answers
Sonar with multi-module maven project and profiles
I have a main project pom.xml which has one module not bound to any profile (module A) and one module bound to profile rest (module module.REST). In jenkins profile, there is a build configuration with a cobertura and sonar plugin.
When Jenkins…

user3459699
- 11
- 3
1
vote
3 answers
What is happening in the below code it small part of my pom.xml?
My Pom.xml file contains below code what does it means?
inmemory
inmemory
cloudbees
…

loknath
- 1,362
- 16
- 25
1
vote
2 answers
Maven Profile in different dependencies
I have a Maven module with two different database profiles.
db-localhost-oracle
ojdbc6
…

Mansoor Sajjad
- 35
- 1
- 8
1
vote
2 answers
SharePoint User Profile Search
Is there a way to search profiles in MOSS from the object model? I need to search for profiles that have a certain value set on their profile and then perform some action for them.
I need to write some c# code that can search the profiles database…

user160231
- 109
- 1
- 3
- 7