Questions tagged [local]

A tag for questions about accessing resources local to a given runtime environment or network.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

Why can I import a script file from a local directory but I can't when the type is a module? [duplicate]

Let's say you create a project folder named 'project' in your desktop and inside of it a simple index.html file. Now, you want to create a script and so to not polute your index.html, you code your ...
Gabriel Andrade's user avatar
0 votes
2 answers
65 views

Why is the nonlocal assignment of this variable not considered a previous binding?

spam is assigned as nonlocal in the do_nonlocal() function, which, according to the Python docs, changes scope_test's binding of spam. But the docs also state that there was no previous binding for ...
maltuin's user avatar
  • 11
0 votes
1 answer
14 views

Is it possible to use jmeter on a local app?

Jmeter seems to be a very promising tool. But it always speaks about 'web apps' and I just want to do test perf on a local machine for a particular running app. Like visualVM can do but with parsable ...
Jypay's user avatar
  • 1
0 votes
0 answers
11 views

WP's white screen of death while opening the WP-Admin AND the website's pages with local

I have a white screen of death while intending to open the WP-Admin and my website's pages in local by flywheel. In the admin > preferences > general of local, I changed the WP's url and the ...
Zwor's user avatar
  • 1
-3 votes
0 answers
11 views

different time zones for the server and the browser [closed]

VPN does not pass the anonymity check due to an incorrect time zone, the server itself is located in America, the time zone is defined by many services as Tokyo/Asia. Also, many social networks and ...
pstf's user avatar
  • 1
-1 votes
0 answers
16 views

Handle a module locally

I am using this open source extension in my project. I have imported it and it works fine. But now I want to make some changes to the code. So instead of import BpmnColorPickerModule from 'bpmn-js-...
Jean-Christophe's user avatar
0 votes
0 answers
28 views

Why can I read a local CSV file and cannot read a JSON file on Spark?

I have setup a standalone spark with 2 workers and 1 master node using this docker-compose.yml file version: "3.3" services: spark-master: image: ${IMAGE_VERSION} ports: - &...
Andre Carneiro's user avatar
0 votes
0 answers
24 views

How to use Node.js to open, edit and save a text file from a webbrowser?

We are trying to manage a highscores file on the server. Every time a user sets a highscore it must be saved in a text file. But we are stuck with Node.js. From the command line using the node command ...
Jaap van der Heijden's user avatar
0 votes
1 answer
57 views

Git without local copy [closed]

[Edit] How can I setup/use Git for a workflow without working on files on the local machine. I would like to avoid a local copy of the whole site and work directly on the remote test server, then ...
Mister Woyng's user avatar
1 vote
0 answers
72 views

Pytorch installation

I am trying to install Pytorch in python 3.12.0 and cuda 12.1 in windows 11 ? But I get the error ERROR: could not find a version that satisfies the requirement torch(from version: None) ERROR: No ...
Hasith's user avatar
  • 11
0 votes
0 answers
33 views

(in js) reading the contents of a local text file into a string [duplicate]

(after 20 hours of failing with the many clever code snippets already posted on Stack Overflow, as a js beginner .. ) my project needs a conceptually simple js function, something like: var sOut = ''; ...
Richard Cramer's user avatar
1 vote
0 answers
47 views

Shopware 6 / Adding Local fonts to Subshop

can anyone help please? I need to help to set local fonts to Subshop. Local fonts working good on main shop, but not on subshop. I did these steps to implement local fonts to Subshop. (Same steps was ...
4m Media's user avatar
0 votes
0 answers
17 views

Flutter Dio.get or http.get local ip error

( Response response = await Dio().get("https://www.google.com.tr/"); statusMesagge = "OK" ) ( Response response2 = await Dio().get("http://10.10.10.1/"); OR var response3 ...
YASİN ÇINAR's user avatar
0 votes
1 answer
46 views

Can I limit a dependency in docker-compose.yml only for profiles local?

For local development I am connecting to an SQL server running in a docker container in a VM. However, for dev I am connecting to an Azure Server. The problem is that in my docker-compose.yml, for ...
AGc's user avatar
  • 31
0 votes
0 answers
19 views

Error: Atropos is not defined error after hosted

I'm working with Atropos js library.It works perfect in local.But when I try to open in remote after hosting in github.Its not working.And I have installed Atropos using npm. here is my code: <html&...
Dinesh kumar's user avatar
-2 votes
1 answer
84 views

local variables outside a function in python [duplicate]

i have a code that goes like this def inputs(): q_number = int(1) number_of_q = int(0) q = {} x = {} y = {} xxxx = 1 for i in range(4): C = float(qq[xxxx].get()) ...
Meat_Mr8h's user avatar
0 votes
0 answers
15 views

How do I schedule local notifications with complex trigger conditions in Swift (UNNotificationTrigger subclass)?

Let me elaborate on the conditions. I'm building a simple reminder app. The user sets the reminders by toggling on individual days (Su-Sa), setting a start time, and end time, and an interval (every ...
user20686086's user avatar
0 votes
0 answers
43 views

Save data from API to local and Fetch that in flutter

I want to login with API JWT on loginpage.dart, save data local from bearer token and fetch data from API from loginpage.dart to homepage.dart How can I fetch (name) from JWT to (Your Name), and (...
Asa Marsal's user avatar
0 votes
0 answers
42 views

Voice calling in local network and without network on flutter app

I want to make a voice chat room application without an internet connection with Flutter. For example, two people will connect to the same network and when they enter the application, they will be ...
Abdulkadir Güllüoğlu's user avatar
-1 votes
2 answers
39 views

Confused about the nature of SQL Server, containers and Azure Studio

I've been learning about the aforementioned things in a university course all about database management, but I'm a bit confused by the details of what all these things actually mean, so I was hoping ...
ThebulletKin's user avatar
0 votes
2 answers
156 views

Referencing local files from HTML in Android

I have a very simple HTML app with uses a couple of js files, a css and several images. I have all of them bundled on a folder that I downloaded to my mobile phone in the Downloads folder. Now, when I ...
Bardo's user avatar
  • 2,482
0 votes
1 answer
54 views

VS Code creates a local copy of a remote branch every time I switch to it

VS Code keeps creating local copy of a remote branch at every time I checkout from the remote branch but I don't want this, because it creates a mess in the panel with same named branches all over the ...
Turan ARICAN's user avatar
0 votes
0 answers
77 views

How to deploy the nextjs 13 application on a Windows PC to run on a local network

I have a Next JS 13 application with a mysql database, and I want to deploy the final product on a Windows machine so that it runs in a small local network of only 10 people. How do I do this?
bmSoft's user avatar
  • 1
0 votes
0 answers
13 views

If a site accepts uploads via drag and drop, can I make a local browse button instead, e.g. with TamperMonkey?

I upload images to a a few sites every day, for work. I've got some of this work automated with autohotkey. But one site only offers drag-and-drop as an upload method, and it's a small hassle. ...
CreeDorofl's user avatar
0 votes
0 answers
11 views

Load local website from the same LAN by accessing the local IP (192.168.X.X)

I have a domain.com that is working just fine on the web, and the Nginx is set to deliver it using SSL (443). What I'm trying to do is to access the same site, from the same LAN, using its LAN IP (...
Johnny Bravo's user avatar
0 votes
2 answers
43 views

Searching records from 2 tables with Local SQL gives double answers

I have a problem which I try to solve with Local SQL, but I can't find any solution. Can anybody give me a hint? I have 2 Paradox tables Art.DB and Bet.DB Art has 4 columns: Datum, Object, Nr, Summa ...
Bosse's user avatar
  • 1
0 votes
0 answers
56 views

How to publish array of images in Next.js 13 component?

I cannot use array of images because only import of an image work, but adding src to Image doesnt work. My next js version "13.4.19". I think it maybe because of my nextConfig: const ...
Макс Самоделкин's user avatar
0 votes
0 answers
70 views

Local DB - "your_postgres_user" does not exist

I've built an application and when I go to run main.py I'm encountering an error psycopg2.OperationalError: connection to server at "localhost" (::1), port 5432 failed: FATAL: role "...
Zohan - Harry's user avatar
0 votes
0 answers
60 views

GitHub Actions: Use local action after checkout into different folder

I want my workflow to use a local action. Normally, one would do that like so: jobs: my_first_job: steps: - name: Check out repository uses: actions/checkout@v3 - name: Use ...
Robin's user avatar
  • 1
0 votes
0 answers
19 views

How do I fix the pnpm run create:shared error?

I can't get to the next step in setting up freeCodeCamp locally. I'm stuck in error: TS18003: No inputs were found in config file '/home/reconfigure/freeCodeCamp/shared/tsconfig.json'. Specified '...
DEV-op Avuyile's user avatar
0 votes
1 answer
129 views

Use axios in dev environment inside docker network AND from docker host

I'm building a web application, that's supposed to run on different docker containers: version: "3.8" services: backend: build: ./backend container_name: app-be ports: - ...
pygospa's user avatar
  • 43
0 votes
1 answer
33 views

Golang, moving over from local to remote import paths question

I just started breaking up my app into different repos. Like many I'm going through the hassle of dealing with Go and changing repos. but there are many Q&A's on those issues so I won't ask about ...
Reg's user avatar
  • 35
0 votes
0 answers
18 views

How to list local non-admin users in vb6 (or C++) on Windows 10 or 11?

I'm trying to get a list of users that are not Administrators in Windows 10 (or 11). I know that net users from a cmd prompt will show all the users, but how do I do this programmatically, even using ...
JeffR's user avatar
  • 795
0 votes
1 answer
32 views

bind9 force to listen only on local addresses

I am not able to get bind9 listen only on localhost and a VPN-IP. It listens also on the public ip. my config is: listen-on port 53 { localhost; 10.8.0.1; }; netstat says (public IP is masked): tcp 0 ...
Kalle's user avatar
  • 21
0 votes
0 answers
39 views

In Roblox Lua, I have a global variable that isn't working, a silent error that stops execution, and some other general bullcrap

Let me explain what I want to do. I have a player level module with all of the player stats that I need. I want this table to be available to module scripts and server scripts to edit and read, and ...
Severon's user avatar
0 votes
1 answer
24 views

How and why could a link (or A tag) HREF with a protocol defined redirect locally?

<a href="https://linkedin.com/company/NAME/" target="_blank">Join Us on LinkedIn</a> Above is my link from dev tools with the company name swapped out. As you can ...
Beeeeee's user avatar
  • 125
1 vote
0 answers
106 views

iOS background task every 15 minutes

How can I create an API call, and when got the response a local push every 15 minutes, when the app is closed or in the background? I tried BGTaskScheduler but it not triggered 15 minutes. I do not ...
Zsolt Pete's user avatar
1 vote
1 answer
54 views

Nginx in a local network "Directory index of /var/www/html/ is forbidden" (moode, pihole)

I'm trying to run Moode and PiHole on a Raspberry Pi (4 & 3B+) in my local network. Moode is running fine and I can access it via moode.local in my home network. Trying to access the pihole site ...
Thomas's user avatar
  • 41
0 votes
1 answer
35 views

Why I cant run local fonts in my tailwind/react js project?

Here is the main CSS file of Tailwind: @tailwind base; @tailwind components; @tailwind utilities; #__next { min-height: 100%; } @font-face { font-family: 'notosans'; src: local('notosans-...
XIz's user avatar
  • 1
-2 votes
1 answer
53 views

Go not finding local modules [closed]

trying to follow the examples in the Go tutorial. Trying to export a function called VerifyConnection from a module called functions2, into my main module called test-db-connection. I've followed the ...
furball's user avatar
0 votes
0 answers
43 views

A local variable( that is not static) declared within a function defined by me stores value 0 by default, without having been initialised to 0. How? [duplicate]

I created the following function named prime() that checks whether or not a number is prime and returns a boolean value accordingly. I declared a variable count (but did not initialise it) within the ...
Rimmy's user avatar
  • 1
1 vote
1 answer
126 views

How to install external Clojure dependencies locally in a project?

In Clojure, how do I install dependencies in a folder (lets call it ./deps) that is in the same folder as deps.edn? I am looking for a way to have the dependencies saved (downloaded) somewhere in the ...
user2517182's user avatar
  • 1,259
1 vote
0 answers
20 views

Automatically and uniquely assign unused controller to dynamic amounts of players in Unity

I'm making a local multiplayer game with three gamepads and one keyboard controller. When I start the game, I want each instance of the same prefab to have a different controller assigned to it, ...
ádám homonnay's user avatar
0 votes
0 answers
26 views

cannot access/not found the file /run/gunicorn.sock while bulding jenkins pipeline

i am trying to uild a jenkins pipeline for deploying my django application in my locacalhost. i have set up my django virtualenv in envsetup.sh. and for gunicorn i have a file gunicorn.sh with the ...
Prashant ranamagar's user avatar
0 votes
0 answers
47 views

Is there anyone encounter error running npm run build locally?

After installing all the dependencies using npm install, no errors encountered, I proceed to run npm run build:prod:webinars locally and this is what I got. npm run build:prod:webinars > webinar-...
ramsamsam's user avatar
1 vote
0 answers
248 views

Local fonts works locally but not on prod in NextJS 13

I have a problem with loading local fonts to my personal NextJS portfolio. The project itself is just a simple, static page. It works fine locally but as soon as I've run yarn run build and upload it ...
oldskool123's user avatar
-3 votes
1 answer
42 views

Is there solution for localhost error 404?

I tried to access my file on localhost, but it shows an error like below: Not Found 404 NotFoundError: Not Found at C:\Users\RMUSER1\Desktop\Rainbowmedia\test1\billing-bakery\app.js:50:8 at ...
muthu's user avatar
  • 1
0 votes
0 answers
27 views

Configure Eclipse Java Build Path or classpath using user library or local jars

I created a user library from Eclipse / Java Build Path / Add Library / User Library. The project is based on Maven, but due to some issues with jar files from the local repo, I need to pull the ...
tarekahf's user avatar
  • 804
0 votes
0 answers
20 views

How do I create a weekly recurring notification in Flutter?(Solved)

How can I create recurring notification in Flutter? How can I create recurring notification using flutter_local_notifications package? You can fix the problem using this code. Change the variables ...
Burak's user avatar
  • 21
0 votes
0 answers
155 views

Cant start supabase locally

I have logged in and initialized supabase by following the guide for running supabase locally. When i try to run npx supabase start i get this error: Error response from daemon: pull access denied ...
Sebastian's user avatar

1
2 3 4 5
75