Questions tagged [user-data]
513 questions
0
votes
1 answer
accessing box2d userdata
I know that this might sound pretty simple. I am having a problem with accessing the userdata of a b2Body in one method through the update method. I need to access the userdata property in the update method to set multiple gravities. I am just not…

cocoder
- 1
- 2
0
votes
3 answers
user data database structure
I'm running a basic website with some user accounts (no cookies, php session system.).
I'd like to store some data generated by the user only visible for themselves.
For the moment I store the data from all users in one table, with an extra column…

Mikey.
- 37
- 6
-1
votes
0 answers
Instagram API for insta user's data retrieving
I want to get public data from instagram like no. of followers, posts, comments etc of any user.
through internet surfing i found that meta provides two APIs, Instagram Graph API and Instagram Basic Display API but still could not found a way to get…

Rajesh Jat
- 1
- 4
-1
votes
1 answer
added user-data script is not working after editing , but found working user-data while lauching a fresh EC2 instance
My user-data script for installing Nginx was found to be working on a new launch of the EC2 instance. After launching the ec2 instance, I further added a PHP installation script by editing the user-data, which doesn't work for me.I am using ubuntu…

ashique
- 935
- 2
- 8
- 26
-1
votes
1 answer
AWS EC2 User Data create SH script
I'm creating a new instance in AWS and adding some user data, but part of the job is to create an sh file and then executed.
I'm trying:
#!/bin/bash -x
cd /tmp
INSTANCE_ID=$(curl http://169.254.169.254/latest/meta-data/instance-id)
sudo wget -O…

alexmorgan.cr
- 270
- 6
- 18
-1
votes
2 answers
Keep Form Data filled out without a submit (PHP/JS)
this is my very first post here so any criticism regarding this question is very welcome.
To the question:
I have a form input on my web page which hold basic user data (Please enter your name etc)
But since the web page has more than one page, a…

Linus
- 3
- 3
-1
votes
1 answer
How to make android app data, app-wide available?
How can I make data available through my whole android app?
For instance, I want to display a user picture in the toolbar in every screen. Also, the name of the user is displayed in the navigation drawer in every screen.
Is a singleton the right…

Peter van Leeuwen
- 938
- 1
- 9
- 17
-1
votes
1 answer
How to show data from first activity to another activity or fragment?
I created an application for a user login using a Google account. I included a log in button in an activity that is MainActivity. Everything went smoothly if I display data that has been obtained from the user to display in…

laura
- 13
- 3
-1
votes
1 answer
Secure data per user using contentful
I want to be able to manage users in contenful, every user has some data (files, text, etc) that should only be able te be accessed by this specific authenticated user.
In firebase for example this would be possible by using database rules, but…
-1
votes
1 answer
EC2 Bootstrap script not executed on Ubuntu
I am trying to set bootstrap script for EC2 Ubuntu machine with below CLI commands:
#cloud-boothook
#!/bin/bash
sudo chmod 750 -R /home/
Above text is set via AWS console in user data.
Once machine has started running, change mode still not…

Pradeep Prasad
- 11
- 4
-1
votes
2 answers
Is is possible to create a string in ruby that keeps escaping characters?
I need to form a user-data script from Ruby so I need all escaping characters to remain. When I do this:
def user_data
"#!/bin/bash
sed -i -e '/loadbalanceServerIP<\/Name>/,//s/[^<]*/1.1.1.1/'…

Leticia Esperon
- 2,499
- 1
- 18
- 40
-1
votes
1 answer
Is Windows start-job session based?
when I configured the start job as part windows ec2 user data
start-job -ScriptBlock {consul agent -data-dir C:\\consul\\logs -config-dir C:\\consul\\conf.d\\}
Start-Sleep -s 30
soon after the instance state becomes available, I logged into the…

krishna g
- 461
- 1
- 5
- 15
-1
votes
1 answer
if condition using codeigniter
I am new in codeigniter. I have problem with if statement when I fetch the data from database it does not show the wanted results and I have table name 'users' and in users table one column is rights. I want that when user in login which rights has…

Abdul Munem khetran
- 11
- 3
-2
votes
1 answer
Get IPs as string/list in Terraform
I'm beginning by creating a few machines:
resource "aws_instance" "servers" {
count = 20
instance_type = "t2.micro"
...........................
}
and then, I want to create a "master machine", like this:
resource "aws_instance" "master" {
…

Ioana Popescu
- 11
- 2
-2
votes
2 answers
How to use Data in multiple Activities in Kotlin?
im working on my first project in Android Studio & I wonder how to use data from a User Input in another Activity (that is not the following Activity)
ItemAdapter.OnClickListener {
override fun onClick(position: Int, item: EmpUserClass)…

Rudy Rüssel
- 1
- 1