812 questions
1
vote
2
answers
182
views
Is it possible to add organizations from a JSON realm import in Keycloak 26.3.1?
I'm using Keycloak and trying to define an organization structure during realm import via a JSON file.
I added the following to my realm.json:
`
"organizationsEnabled": true,
"...
0
votes
1
answer
368
views
Role switch option not present for AWS management account
I am trying to role switch to member account of the organization using my AWS management account. But the role switch option not present as shown in screen shot below.
As you can see this is my ...
0
votes
2
answers
43
views
Sum up and Convert a Dataframe
I hope someone can help me with the following problem.
My dataframe is organized with insect species in the columns and locations in the rows like:
Species A
Species B
Species C
Location A
0
1
...
2
votes
2
answers
1k
views
Keycloak and new organization feature with multi membership on a user ( v26 )
I've been testing the organization feature with multiple organizations for a single user. However, when there are two organizations assigned to a user, the claims disappear from the access token. But ...
1
vote
0
answers
105
views
How to properly use c++ header files across projects
Say I have two projects, one that is sort of like an 'application engine' and one that is the actual application. The engine takes care of things like window management, and I should be able to switch ...
1
vote
0
answers
291
views
Save a customized order in Notion
I'm not sure how many people on here know of Notion, but basically it's a customizable app/website that let's you make whatever you want from grocery lists, to-do list, homework schedules, recipe ...
0
votes
1
answer
184
views
How to link excel file to powerpoint without going through exact file path
Hi I'm looking for a way to conduct the same analysis every month but in different folders each year.
I have charts and tables in multiple excel files, and these charts and tables are linked to ...
0
votes
1
answer
90
views
GitHub organization Action failed
Can you help to solve this error.
Run Platane/snk/svg-only@v3
with:
github_user_name: sankacrew
outputs: dist/snake.svg?palette=github-dark
github_token: ***
🎣 fetching github user ...
0
votes
1
answer
102
views
Post processing queue for Slurm
My question is not directly regarding SLURM, but rather on how to organize ones work around it.
I can summarize the types of jobs I submit to SLURM in two categories: jobs which are part of a process ...
0
votes
0
answers
81
views
AWS Organization SCP EnforceMFA SSO
Looking for a working SCP planted on an Organization Root which enforces MFA for all, but it has problems currently as it does not see STS calls ( SSO ) so for these users even have MFA assuming ...
2
votes
1
answer
194
views
Organizing complex libraries in GDScript
I'd like to build a reusable library in GDScript. When building libraries in the other languages I'm familiar with, JavaScript and C#, I typically utilize two features that GDScript doesn't seem to ...
0
votes
0
answers
155
views
CMake define preprocessor macros used by all source files for each executable
I am working on a C++ multi-file project. I decided to use CMake to build the project (I am beginner with it). I have the following (simplified) file structure:
my_project/
├─ src/
│ ├─ foo/
│ │ ├─ ...
0
votes
0
answers
57
views
How to use a separate repo for calculations used by backend?
I have a web app built with Vue.js that needs to obtain the result of an expensive process from the backend server. Specifically, I would like the backend API endpoint to invoke a separate script on ...
1
vote
1
answer
61
views
IntelliJ Idea: How can I replicate these aesthetic comment blocks in the IntelliJ Idea onboarding tutorial process?
I like how these look compared to normal comments
A very minor thing, sorry for the trivial question
Example of aesthetic comment blocks
I looked through the Appearance section of the Settings menu to ...
0
votes
0
answers
51
views
Python classes in multiple files - do all methods need to be imported into class definition?
I've started splitting a class among into several files/folders and have found that there are functions that are only needed to organize code and would never be called by anything higher-up in the ...
-2
votes
1
answer
135
views
Excel function to search for cells that have a certain value, then return value of adjacent cell
In Excel, I'm trying to understand what functions I need to look for a mentioned value in one column. If it finds the value, it goes to another cell in the same row and prints that row's value. I ...
0
votes
0
answers
27
views
Grafana 10.1 API: cannot create an organization [duplicate]
I want to create a Grafana organization through its API.
According to https://grafana.com/docs/grafana/latest/developers/http_api/org/
Create Organization
POST /api/orgs
Only works with Basic ...
3
votes
1
answer
231
views
How to specify resource location in the same way when compiling TO and NOT TO a JAR file
I have a project that I am compiling using javac. I want to be able to fetch resources without having to first build my project into a JAR file, but at the same time, I don't want to hard code the ...
0
votes
1
answer
84
views
Rmd file which sources an R script which sources another R script
To make my code modular, I wrote a R script for plotting data, which invokes an R script to prepare the data (to be plotted):
The document.Rmd file contains a line source('./R/customPlot.R') and this ...
0
votes
4
answers
187
views
How to separate development-only files from the rest with Git?
I'm working on a Lua library that involves code generation and validation among other things - a lot of development code of project is written in another language.
I'd like to have one branch for ...
0
votes
1
answer
793
views
Unable to migrate projects to organization with no organization
I want to manage the security in GCP but it said to add an organization and migrate all my projects to the said organization.
I looked through their documentation and basically I have to either create ...
5
votes
2
answers
162
views
How to deal with functions and arrays which might differ between embedded system instances (per client) without resorting to pre-processor abuse?
Description
I am the sole developer/designer/maintainer of an embedded system product for a controls company. I am a junior and there is no other engineer (of any discipline) in the company. The ...
0
votes
0
answers
501
views
How to move existing swift UI files into new group folder
Im working on my first, somewhat robust swiftUI project. I'm learning as I go so initially, I just kept adding my new views into the precreated PreviewContent folder. I want to better organize my ...
0
votes
1
answer
1k
views
Ansible role and playbook organization for multiple products/teams
We started with ansible using the ansible best practices text, but now it is becoming unmanageable. For this reason, we are trying to re-organize our ansible structure and to divide it in multiple git ...
0
votes
1
answer
111
views
How to properly organize content in Hugo without abusing layouts?
I’m trying to figure out what is the proper way of organizing content in Hugo. I have read the documentation but I still don’t understand what is the right way of going about this.
I understand the ...
0
votes
1
answer
61
views
Split a single drf viewset class into multiple classes?
Right now I have a large viewset class (~1300 lines). The reason for this is, I had to add a lot of @action decorators to acheive my goal. But I can feel that this is taking a lot of my time in ...
-1
votes
1
answer
78
views
Should I store global constants and commonly used static functions inside of the App_Code or elsewhere? [closed]
I am reorganizing the code in an ASP.NET Webforms application. I was wondering if it makes more sense to store globally-accessible, commonly-used constants and static functions inside of the App_Code ...
3
votes
1
answer
3k
views
Is it possible to transfer a Project from an user to an organization?
I've recently moved a repository from my account to an organization that I've created. I can't create any entries from my issues on the repository since. Is there a way to pass ownership of my Project ...
0
votes
1
answer
716
views
Organisational Chart with independent nodes
I would like to visualize my company´s organizational chart in an HTML Widget to replace the currently used drawn PDF.
In principle this seems feasible using the highchart or googleVis package. ...
0
votes
1
answer
320
views
React Folder structure question regarding Features
I know this has been asked to death, but I always like to make my life as easy as possible, and I know this somewhat comes down to a bit of personal preference and also depends upon the size of the ...
0
votes
2
answers
585
views
How to restore a deleted organization(created in GitHub)?
I have wrongly deleted organization (created in GitHub). How to restore the deleted organization? I have access to my GitHub profile.
0
votes
2
answers
52
views
How to tidy VS terminal?
I'm new and I just started coding so I'm allowed to ask dumb questions.
I don't know how to phrase this question but best way I can explain it is my terminal is cluttered and shows where the code is ...
0
votes
1
answer
253
views
Event listeners inside Javascript components / communicating between files
I am trying to organise my code into components/modules and I'm struggling to understand how to deal with event listeners and/or communicate between JS files. I will explain with a simplified example:
...
0
votes
1
answer
133
views
Is there a way to generate a new or populate existing resource group in a customized template
I'm attempting to create a new organization in Azure DevOps via a custom ARM template. The only thing I can't figure out how to do is populating the resource group underneath the subscription section (...
0
votes
0
answers
67
views
Possible to apply ETL and linking processes to a variable collection of files in a Sharepoint folder?
Every month I have to manually export 40+ reports (excel files generally) into a SharePoint folder. I want to create a power query in Excel to link all the reports (based on a common field in all ...
0
votes
2
answers
1k
views
CMake: proper way to handle dependencies which require cmake themself ( crossplatform )
What is the proper way to structure a project with dependencies that don't offer pre-build binaries ( or if you would want to build the dependencies yourself )
Normally I structure my projects as ...
0
votes
1
answer
61
views
How can I better organize messy IF statements? (Avoid nesting)
My code is below (note that this is not about that specific code, it's more of an example I stole from a project).
if (colliding) { // On ground anims
if (playerData["xSpeed"] &...
0
votes
1
answer
50
views
Is there a way to separate a dict into separate data frames with unique names?
I'm new to python, so please forgive me if this is a stupid question.
I'm trying to separate a bigger dataset into smaller data frames based on a unique row value (station ID). I've done the following,...
1
vote
1
answer
1k
views
Pivot_wider returning list values R
I have a huge data set that looks something like this:
ID
color
number
1
Blue
32
1
Yellow
12
1
Red
13
...
...
...
32
Yellow
15
56
Red
112
56
Blue
42
I want to get a data frame that looks like
ID
Red
...
1
vote
1
answer
166
views
Fetch Azure Organization by Subscription Id
Using the Azure Golang ARM SDK, I am able to fetch all resources under a subscription, except for the Azure Organization.
Is there a REST API, or Golang library that allows to programmatically fetch ...
0
votes
1
answer
69
views
How properly organize workspace in Unity?
Example: there are objects A and B. Object A must connect with object B (by Script) and object B must connect with object A (by Script).
How to do it more properly:
Create Scripts for each objects.
...
0
votes
1
answer
126
views
R programming: Trying to expand a column based on unique values
I'm working with R studio.
I'm having issues with how to divide this up
I have:
ID
COLOR
NUMBER
321
RED
3
321
GREEN
10
321
BLUE
4
067
RED
50
067
BLUE
2
067
YELLOW
3
111
PURPLE
10
111
YELLOW
2
I want:
...
1
vote
1
answer
95
views
What are the options in R Shiny for funneling a user through many choices in performing complex data analysis?
I am working on an App where the user needs to walk through many, many choices to get to where he/she wants to go with data analysis. The App needs to easily "funnel" the user through the ...
0
votes
2
answers
46
views
Data file organized in block per year: add column for year to combine all data
I have large quantities of datasets in Excel that I would like to analyze in R. The files have a format that organizes all information per block of the same year, which looks like:
Group <- c(...
0
votes
1
answer
27
views
How to get count of repeated entries in columns within a given row, R
I have the given data (smaller than actual set):
ID
color1
color2
color3
color4
101
red
red
blue
green
2
blue
blue
purple
N/A
400
yellow
yellow
red
red
I want a result of:
ID
red
blue
green
purple
...
0
votes
1
answer
140
views
How to resolve mutual dependencies between a main script and submodules needing access to a global variable from the script?
I'm building a Typer app with lots of commands. I want to categorize the commands into subfiles but am unsure how to resolve the dependencies.
|
├── melvil
│ ├── add.json
│ ├── book
│ │ ├── ...
0
votes
1
answer
636
views
how to transfer users organization all together on grafana
I am the server admin and I get over 2000 users in my original organization on grafana.
Now I create a new org and I wanted to transfer them to the new one but according to the grafana website I can ...
0
votes
1
answer
1k
views
Unable to create MS Team free organization account
I'm aware that there are two types of Teams accounts:
MS Team free personal account. https://teams.live.com/
MS Team free organization account. https://teams.microsoft.com/
Unfortunately, when I try ...
1
vote
1
answer
159
views
I want to create Access Rights by using MSPID for different organisations
My idea to do this was to use the MSPID. So I would get the MSPID of the organisation, if it is the wrong MSPID then it will return an error message and if it is the right MSPID then continue. In my ...
2
votes
1
answer
3k
views
Installing multiple versions of a composer package
I have been thrusted into the "wonderful" world of Composer because PHP libraries are starting to not offer an easy way to download and install the source code manually.
We have a very big ...