Questions tagged [share]

questions about sharing resources in (local, and social) networks

Sharing of resources is a vital task in computer systems allowing for efficient operation and avoidance of negative consequences such as resource starvation. Computer networks may share resources between multiple remote machines via a network share, or resources may be locally shared between processes running on the processer via the CPU scheduler.

4469 questions
346
votes
14 answers

How to mount host volumes into docker containers in Dockerfile during build

Since 2014 when this question has been asked, many situations had happened and many things has changed. I'm revisiting the topic again today, and I'm editing this question for the 12th time to reflect the latest changes. The question may seem long…
xpt
  • 20,363
  • 37
  • 127
  • 216
320
votes
10 answers

Using global variables between files?

I'm bit confused about how the global variables work. I have a large project, with around 50 files, and I need to define global variables for all those files. What I did was define them in my projects main.py file, as following: #…
user1632861
275
votes
16 answers

Sharing link on WhatsApp from mobile website (not application) for Android

I have developed a website which is mainly used in mobile phones. I want to allow users to share information directly from the web page into WhatsApp. Using UserAgent detection I can distinguish between Android and iOS. I was able to discover that…
Yochai
  • 2,783
  • 2
  • 12
  • 8
163
votes
13 answers

Sharing a URL with a query string on Twitter

I'm trying to put a Twitter share link in an email. Because this is in an email I can't rely on JavaScript, and have to use the "Build Your Own" Tweet button. For example, sharing a link to Google:
haydenmuhl
  • 5,998
  • 7
  • 27
  • 32
130
votes
8 answers

Adding a Google Plus (one or share) link to an email newsletter

I am trying to find a way to embed a share/+1 link for Google+ in a Newsletter, much like the Facebook share and tweeter tweet links can be embedded in a newsletter, which can be achieved with the following two…
Dogoku
  • 4,585
  • 3
  • 24
  • 34
128
votes
14 answers

Share application "link" in Android

I want my application user to be able to share/recommend my app to other users. I use the ACTION_SEND intent. I add plain text saying something along the lines of: install this cool application. But I can't find a way to enable users to directly go…
Thomas
  • 1,967
  • 2
  • 15
  • 22
120
votes
4 answers

Hyper-V: Create shared folder between host and guest with internal network

Set up: Host: Windows 10 Enterprise Guest: Windows 10 Professional Hypervisor: Hyper-V Aim: Create a shared folder between Host and Guest via an internal network to exchange files How can I achieve this?
quervernetzt
  • 10,311
  • 6
  • 32
  • 51
116
votes
5 answers

How to activate "Share" button in android app?

i want to add "Share" button to my android app. Like that I added "Share" button, but button is not active. I click, but nothing happens. My code in MainActivity.java: private ShareActionProvider mShareActionProvider; @Override public boolean…
Personal Jesus
  • 1,289
  • 3
  • 11
  • 14
116
votes
7 answers

How to add facebook share button on my website?

I have this code that suppose to work, but doesn't work.