Questions tagged [external]

This tag refers to something that is outside of a particular system. In other words, it is something that is not a part of the main system and therefore can be considered "extra".

A software system has certain components making up the system and all the rest of the world is external to that system. Often systems allow to access manipulate things outside the system with or using the system. Those things are attributed as external.

Typical examples are

  • databases accessing external data, e.g. flat files for importing the data into the database or for exporting data.

  • external storage like hard drives that are not build into a computer but added via some interface technology

  • when accessing some script not part of the current html page, that script is external

3400 questions
227
votes
4 answers

How to set up a git project to use an external repo submodule?

I'd like to create a repo which pulls in a remote repo. For example, let's say jQuery as a submodule: git://github.com/jquery/jquery.git What would be the process of creating a repo with jQuery as a submodule and adding my own external as a remote…
Tom
  • 33,626
  • 31
  • 85
  • 109
218
votes
24 answers

Find location of a removable SD card

Is there a universal way to find the location of an external SD card? Please, do not be confused with External Storage. Environment.getExternalStorageState() returns the path to the internal SD mount point, such as /mnt/sdcard. But the question is…
borisstr
  • 2,336
  • 4
  • 16
  • 15
110
votes
2 answers

Piping buffer to external command in Vim

I would like to send contents of the current buffer to stdin of external command (like mail). How do I send a Vim buffer to an external command?
yasar
  • 13,158
  • 28
  • 95
  • 160
94
votes
14 answers

Log4Net config in external file does not work

We are using log4net and want to specify it's configuration in an external config file (as we have done with other sections). To do this we have changed the log4net section in the App.config to: ...
Robert Wagner
  • 17,515
  • 9
  • 56
  • 72
93
votes
13 answers

Android saving file to external storage

I have a little issue with creating a directory and saving a file to it on my android application. I'm using this piece of code to do this : String filename = "MyApp/MediaTag/MediaTag-"+objectId+".png"; File file = new…
Android-Droid
  • 14,365
  • 41
  • 114
  • 185
90
votes
13 answers

Getting the 'external' IP address in Java

I'm not too sure how to go about getting the external IP address of the machine as a computer outside of a network would see it. My following IPAddress class only gets the local IP address of the machine. public class IPAddress { private…
Julio
  • 6,182
  • 11
  • 53
  • 65
79
votes
4 answers

External JavaScript file is not getting added when running on Flask

I have an HTML file named showMap.html: Map
Tony
  • 1,120
  • 2
  • 11
  • 20
75
votes
5 answers

Load external JS from bookmarklet?

How can I load an external JavaScript file using a bookmarklet? This would overcome the URL length limitations of IE and generally keep things cleaner.
Justin
  • 20,509
  • 6
  • 47
  • 58
66
votes
12 answers

Access PHP var from external javascript file

I can access a PHP var with Javascript like this: But what if I want to use…
FFish
  • 10,964
  • 34
  • 95
  • 136
66
votes
8 answers

How to invoke function from external .c file in C?

My files are // main.c #include int main(void) { int result = add(5,6); printf("%d\n", result); } and // add.c int add(int a, int b) { return a + b; }
ProtoTyPus
  • 1,272
  • 3
  • 19
  • 40
62
votes
12 answers

Docker-compose env file not working

I'm writing as docker-compose file to up MySQL instance and want to use few variable from env file: here are the files actually look like: docker-compose.yml version: '3.3' services: db: image: mysql restart: always env_file: -…
imran ahmedani
  • 729
  • 1
  • 5
  • 7
58
votes
4 answers

Import python module NOT on path

I have a module foo, containing util.py and bar.py. I want to import it in IDLE or python session. How do I go about this? I could find no documentation on how to import modules not in the current directory or the default python PATH. After trying…
Vort3x
  • 1,778
  • 2
  • 20
  • 37
57
votes
1 answer

How do you edit a dependency/external library in android studio?

There is a lot of information about adding libraries and dependencies, but I haven't been able to find any useful information on being able to actually edit a library. I have added https://github.com/jdamcd/android-crop as a dependency in my…
Micah Simmons
  • 2,078
  • 2
  • 20
  • 38
56
votes
4 answers

Open external links in the browser with android webview

I have this code, but not because it works, it keeps opening in webview and what I want is that the links do not belong to my website open in your default browser. Any idea? thanks private class CustomWebViewClient extends WebViewClient { …
Jaumesv
  • 1,065
  • 3
  • 11
  • 19
49
votes
2 answers

Using $compile on external template (templateURL) in Angular directive

I've got a recursive Angular directive that uses a template variable and gets compiled in the link function. Problem is, that my template has gotten really long and out of control and I want to externalize it in an external HTML file (it would also…
CodyBugstein
  • 21,984
  • 61
  • 207
  • 363
1
2 3
99 100