Questions tagged [resources]

Assets (like memory, disk space, CPU power or alike) necessary for effective operation or physical files (like images, configuration files or other) to provide some externalized enrichment to an application.

Typically resources are materials or other assets that are transformed to produce benefit and in the process may be consumed or made unavailable

9303 questions
4
votes
3 answers

OAuth 2 - how to define dynamic resource authorization?

As a resource server, I'd like to give users more control over their resources. For example, consider I have a cloud file system supporting OAuth 2. The user may provide permission to access the files to a client on his behalf. I'd like the resource…
AlikElzin-kilaka
  • 34,335
  • 35
  • 194
  • 277
4
votes
1 answer

System.Resources.MissingManifestResourceException on resources.ApplyResources

Here is the code i'm struggling with: System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditorPane)); this.editorControl = new…
4
votes
4 answers

PHP allocate color without image resource

Can you allocate a color in PHP GD without an image resource? It should be possible because really an allocated color is a number, right? $im = imagecreatetruecolor(100, 100); $col = imagecolorallocate($im, 255, 0, 0); print $col."
"; $col2 =…
Mark Lalor
  • 7,820
  • 18
  • 67
  • 106
4
votes
1 answer

Assembly.GetManifestResourceStream always returns null

It is always confusing for me whenever I get to the tasks of Path-Resolution. I have the following information regarding the issue reported: Using ASP.NET MVC-5 Application Trying to access a font file i.e. MyriadPro-SemiBold.ttf via below…
Asif Mehmood
  • 964
  • 2
  • 14
  • 35
4
votes
1 answer

Accessing resources in a Java[Maven] Project

Once and for all somebody, explain how to correctly access resources like DATABASE, HTML files and so on. Suppose my Maven JavaFX project looks something like this (check the image). It has it's src/main/java and src/main/resources in the…
Denis Rozimovschii
  • 428
  • 1
  • 6
  • 19
4
votes
2 answers

Are There Agile Processes For Agency Type Work? Scheduling Question

I have just moved to a company where the production team is 15 strong, and consists of a mixture of back end and front end developers, testers & creatives. The team are working on multiple projects at the same time. Its agency work, so projects are…
4
votes
2 answers

Android: I'm using AppCompatv7 library, but can't access any of its icons?

So I'm having trouble accessing the appcompat icons in the library and I dunno why. // build.gradle `compile 'com.android.support:appcompat-v7:23.2.0'` I'm trying to use this icon: @drawable/abc_ic_clear_mtrl_alpha // styles.xml
mco
  • 1,809
  • 15
  • 31
4
votes
1 answer

JAR indexing and getResources

It appears to me that JAR file indexing breaks the mechanics of ClassLoader.getResources(). Consider the following program: import java.io.*; import java.net.*; import java.util.*; public class TryIt { public static void main(String[] args)…
MvG
  • 57,380
  • 22
  • 148
  • 276
4
votes
1 answer

How to bundle images resources of React Native in Android?

I use react-native bundle --entry-file "index.android.js" --platform "android" --bundle-output "./assets/index.android.bundle" --verbose to package the JS code bundle and put it into assets, it works but the local Image resources can't be…
herbertD
  • 10,657
  • 13
  • 50
  • 77
4
votes
2 answers

How do I execute Javascript only after a deferred Javascript external file has loaded?

I want to defer loading of an external Javascript file until the page has loaded (and also I don’t want to block rendering if those external resources cannot be loaded). So I have this line