Local Questions
Ad
Keep getting "Proxy error: Could not proxy request" error after adding proxy to react package.json
I am following this basic guide to set up a local dev environment with both react and node running. i am stuck after adding a "proxy":
Unexpected output regarding local variable
I have created a local variable b in the function foo(). this function returns the address of the variable
Getting items from localstorage returns null
I have a react app that loads items from a api call from a database, if there is no data in local storage. i will then set the state with data and
Variables shadowing in C - why compiler got confused?
I have this code to parse json. the structure has a key, val and pointer to next structure. due to nesting, the val pointer points sometimes to
Localization CMS - Admin functionality to edit the localization files for Content Editors?
Are there solutions/tutorials/open source solutions to providing the functionality of having content editors edit asp.net localization files?
Referencing resource files from multiple projects in a solution
I am working on localization for a asp.net application that consists of several projects. for this, there are some strings that are used
Dynamic reference to resource files in C#
I have an application on which i am implementing localization. i now need to dynamically reference a name in the resouce file.
Is returning a pointer to a local variable always undefined behavior
I have read that we should not return a pointer or a reference to a local variable. so in the below given example, i understand that when i
What's the easiest way to localize an app in Flutter?
What's the easiest way to localize an app in flutter into multiple languages?
NodeJS - passport-local-mongoose error on starting the server
The code below give out error on starting the server. the code is from a course on coursera based on ndejs, express and mongodb. i have tried to
Ad
Can't get local file test.txt using http://localhost:8080/test.txt
I've got a server running on localhost:8080, and my files are arranged like this: /test server.js
How to count specific ID's in localStorage?
I'm writing user shopping cart for my portfolio project. i want to save the ids of products as well as count of how many specific ids are in my
Flutter: Passing AppLocalizations.of(context)!.actionaid into initalUrl of a webview
I am currently localizing my app, i have translates all the webpages to be opened and added the url to my arb files. but when i call the
Controller's actions names localization
I am facing a problem. i would like to localize my action names in my project so french people can have clean urls with french names.
Node.js: declare node_modules globally, or locally on a as-needed basis?
Should node_modules dependencies be declared globally at the start of the application code, or declared locally at the point they're required? i'm
Is it possible to point a local instance IIS to a shared windows file server as the home directory?
I'm just beginning work with iis, .net, etc. so i apologize if any of this is unclear. i recently installed a local instance of iis and it's up
Vue localforage no update
I'm using localforage, but i can't figure out why this.emails is not updated outside the localforage. i get no errors in console.
Local storage with api, vanilla js
To make this short and sweet my code is const searchbox = document.queryselector(".search-box");
Why the item is not saved on the localStorage?
Working on a simple project using react js. what i'm trying to do is to save the "item"(which has an input field for the user to put it)
Running jupyter notebook from web server on ipad localhost
I'm using blink on my ipad pro to ssh to my digitalocean ubuntu web server and run jupyter notebook. i can ssh just fine, and can run
How to get specific view controller on click of local Notification?..I tried all possible way to achieve but couldn't
I am having two view controllers on first controller having button , on click of which a local notification triggered, but i want to open second
Ad
Execution order between React's useEffect and DOM event handler
I wrote a custom context provider in the below which holds application settings as a context as well as save it in
Laravel 6 upload_max_filesize , i just want to upload 5mb file size
$validator = validator::make($request->all(), [ 'thumbnail' => 'max:5048', ]); thats my
How to publish to sns topic inside localstack
I wrote lambda function, that publishes message to topic via sns. i'd like to make integration tests with it, so localstack seems to be great
Issue in synchronous working of localstorage
I am trying to get useremail from localstorage, but the email is not being updated instantly. solutions i have tried - 1. using email
How to use db instead of Laravel localization config file
I'm using mcamara/laravel-localization. i need to get languages from db instead of laravellocalization config
application resources not updated when clear app from memory and reopen it again
I am trying to change app localization at runtime it working correctly but when clear app from memory and reopen it again i find that resources
React - LocalStorage & State - button toggle rendering issue
I have been grappling with this issue for a while... i am having difficulties in utilising current state to display a toggle button which
Passport example codes apparently don't run
I am trying to protect a route to be accessed by a user without a role. then i went ahead and found passport-local-roles module and pasted it to
React To Do List, How to add another item to a localStorage key array
I've managed to work out how to give the note key in localstorage a value from the addnote page but i can't seem to work out how to make it so
How to store and retrieve a single integer value via sqlite
I would like to know how to store a single integer value to an sqlite database locally and then retrieve this value in a method in another class.
cordova load image file from device storage
I have an image tag that is src references to an image file in application directory. i used cordova.file.applicationstoragedirectory
Ad
Storage Access Framework doesn't show cloud roots when using ACTION_OPEN_DOCUMENT_TREE
I read that i have to prepare my app in advance for android q release because then the common read/write access to files outside the app-owned
Repeating Local Notifications from Start Date to End Date and also 1-4 times in a day Android
I'm having an app in which i need to set some local notifications with the data i have. i am able to get the local notifications for the hard
Security - Local storage vs Cookies
Hello i have a react app which is using jwt for the authentification. we store this jwt in the local storage but the security in our team is
How to save key in localStorage to be retrieve later when you go back to your page in ReactJS
i have a page, and i want to save the key to be retrieved later. this key is use to determine the last selected active item in the carousel.
myDate.toLocaleString() not properly formatted for any other language than English
I am currently sending dates to email templates and i need to format those dates according to the recipient's language. i am using
"Load" function not setting variable
I have two functions that save variables to localstorage. the first one saves a variable, "money", but the second doesn't. the global
React.js : How to start a react application on a different port
I just have started learning react.js and made two projects using create react app. now if i want to
Show Two Languages at once
Fisrt of all i am following
How do I save the localization in flutter
I am a beginner in flutter and making an app and i implemented localization but when i exit and re enter the app it just goes back to default
react-intl: change div direction based on current locale
So, here is my app component: const app = () => { const [lang, setlang] = usestate("en"); return (
localstorage do note update JWT Reactjs
This is the system flow: i log in a save the user data in localstorage. i got a component that read the localstorage
Ad
Carbon locale not respected?
In my laravel 6 app, i have carbon::now()->locale() returning it as it should be. as confirmation that the
How to Update the parent component when child component updates in React
I have a child component that's basically four checkbox that has values from 1 to 4, so here's my problem, each time the user clicks on one of
Cookie or local storage?
Background: i have two apps frontend and backend. backend it django with django rest framework. for auth i use token. so
'actions' isn't defined in Flutter Local Notifications with Action Buttons
I am trying to implement flutter local notification with action buttons, but i don't know what is wrong, i don't see any actions
Passport faillureRedirect not redirecting, but instead is breaking my React app
I've decided to use passport (local strategy) for authentication on my react app (first time trying it). i got it working to the point where the
Serialize a form to localStorage / restore it after page reload (without jQuery)
I have a <form> with a few radio buttons groups:
Language not changing in app Android Studio
So basically i have a spinner that chooses between three languages, here's the code, my language does change but it appears it is loading the
Flutter: Local Notifications changing name of the app
I have the flutter local notifications package installed and everything works just fine except for one thing: when the screen is locked and a
Using localstorage to store login info
I have been working on a project where we can store login info so that once a user registers, the data gets saved in the localstorage object. i
How to convert "MM/DD/YYYY" to TZDateTime format
I am implementing flutter local notification plugin in my todo app and i want to schedule the notification for a specific day and time, the date
LocalStorage not working properly ReactJS
I have an array set up in a table so that when i click on an icon, a different icon is re-rendered in that specific row. now i have localstorage
Ad
How to add Scheduled notification in flutter
I have been trying to add a scheduled notification feature to my todo app but am unable to do so, when the notification is supposed to appear, it
ECONNREFUSED on running localhost server from NodeJS
I have a nodejs server up and running on my local machine that is listening to port 50000. from another server, that is also running on my local
local storage with redux not working as expected
I am a beginner in javascript and i am working on an e-commerse test application with react and redux where i need to persist data on the cart (i
Localisation of Page Titles with laravel
I have the main page where i yield the title like this: <title>@yield('title')</title> now i want to
Managing flutter app and flutter web data locally
I was working on a project to create a flutter to-do app to store data locally on mobile devices but i am not sure how to save data on local
Anyway to ask for permission for higher localStorage limit in Chrome without making an extension (from Javascript or manually from Chrome UI by user)?
I am making an inhouse solution deployed on a private web
Flutter: flutter_local_notifications not work when running in Foreground
I want to implement fcm with flutter_local_notifications to handling notification from background and
Localized drawable not showing accordingly to its locale
I'm struggling with drawable localization. from the
How do I use stored color values in local storage?
My problem is that i don't know why the background-colors picked for the buttons (red, green or blue) don't get saved in the local storage. what i
Load a local Json file and store it in a variable using Javascript
I created a small app that saves me data in a json file! since it's all local i don't need node.js and backend technologies. after a series of
Flutter(iOS) -"No CupertinoLocalizations found", how fix it?
I using textfield in my flutter app. it worked on on android. but on ios when i try to paste from the clipboard into the field i get the
Ad
Reload page after locale change
After changing locale in context.setlocale() language in inactive widgets change. but i cannot figure out, hoe to reload current
DynamoDB Local throws Method Not Allowed via SDK
I'm trying to use dynamodb local. it works perfectly fine using the aws cli, but when i try to use it with the aws sdk in node, i keep getting a
showDatePicker 'No MaterialLocalizations found.' Just When I Use Locale
I am using showdatepicker and it works correctly, it's inside scaffold outside materialapp widget but just when i give it locale property it shows
NullPointerException flutter_local_notifications does not work after Version-Update
I just updated my flutter local notification plugin
Python datetime.strptime with Korean locale on Windows
I have a korean date string that looks like this: 월요일, 2019년 08월 05일 09:33:39 and i'm
Understanding HTTP chatter between TypeScript BotFramework & Emulator
I'm working with microsoft's virtual assistant bot framework solution in typescript and using the bot framework emulator to test it locally.
Flutter - how to test localized widgets?
I read the answer to this question, but it
Date add GMT to hour
Val starthour = simpledateformat("hh:mm").format(pickup.begin()) the pickup.begin value is "wed apr 10 10:00:00
keep user logged in when browser closes, not when it refreshes
I would like to 'keep user logged in' when user want to. so that user doesn't have to login every time he visits the website. here is how
How to load localized JSON asset in Flutter
I have a localized android flutter app. i configured localization following these
How to get context in a simple class without BuildContext in flutter
I am using this package plugin flutter_locales for app localization. so check the current language code by using this is the
Ad
Connecting to MySQL database from a different network?
I've created a database using microsoft azure portal (mysql database). currently i'm using php to
Why flutter local notifications give exceptions
I'm trying to send a notification with flutter on android using this dependency: "flutter_local_notifications:
how to change username password using passport local mongoose
I'm trying to change the password of username using local mongoose i tried to use setpassword function but it does not seem to work
Insert image in database using faker library
Factory class $factory->define(product::class, function (faker $faker) { return [ 'image' =>
Locale.getLanguage() equalize to String
I'm trying to make an android app with multiple languages. i have a string array. what i am trying to do is make this array for multiple
How to add a test condition on Locale
I am trying to translate my app in english, french, spanish and hungarian. i want to translate the string "1 out of 2" dynamically. so, the
How to call different methods with LocalBroadcastManager
I have 3 menu buttons (add_image,save_meme and share_meme) on my action bar, which are declared in
Can't post "İ" letter to web server in English device language
In my project, that should post turkey country name as "tÜrkİye" with uppercase letter to the web server. but it doesn't work when i change
Preventing from using en_US as the default locale
I am having problem in changing locale at run time in android app . i have created "values-en" and "values-mm"
How to change language at the whole app and remember it?
I would like to change app language and then remember it for usage at all activities. how i can do it without custom library?
Flutter how get local download folder with path_provider
At the moment i build a chat similar in wahtsapp. i would like upload some local files (pdf, txt, image...). like this:
Ad
How do I convert Node based OpenLayers project, to using the local ol file?
I have made a web application based around an openlayers. i installed openlayers through npm, and made everything work. due to changes in
Local Execution Google: https request failed
Goal ensure security in my request message. environment: library: version node-fetch :
using same variable that is created in function into another function
I want to use 'number' variable that was created out of the function and use it in couple functions and also give it an initial value 0, but it
Can't retrieve data from local storage (Angular 8)
Now i want the validation to work when user click on the input field, because it already shows the condition "please fill"
Flutter Multilanguage Application
Hi i have used easy_localization package to add other languages
How to get Temporary Storage Directory in flutter?
I am creating a video app. so it generates thumbnail for every video. i want to store these thumbnail in local storage of device(only temporary).
Pass dynamic value to localization JSON file in Laravel
In my laravel app, i am doing localization with json files instead of php files. i am following this
How to change initial language of flutter app?
I am trying to create arabic flutter app and the default language of flutter app is english , i want the app to start with arabic language , so
How can we delete one value only from the array of localStorage?
For example localstorage with key: watchlist, value: [5632, 5421, 2964] const dataid = 5421; const existingunwatchlist =
Is there any way to remove or rename local URL to hide the address?
I have a html file and use it for my job. when i open this file the url shows the address of file location in my drive (in this case on my
Unhandled Exception: NoSuchMethodError: The method 'showNotificationDaily' was called on null in flutter
I'm trying to implement local notifications but i'm facing the nosuchmethoderror, i have debugged the code and find the issue but
Ad
Understanding Django localization in templates
I am trying to use two languages in my website, my native, and an english one. i followed the django documentation, from where i copied the code.
Flutter Local Notification Sound not working
The notification sound using flutter local notification for android not working at all here is the code const notificationdetails(
Ad
Blog Categories
Ad