Questions tagged [permanent]

119 questions
0
votes
1 answer

How to Permanently Store a Variable So That When You Restart The Program, The Stored Variable Does Not Reset in C++

Most (if not all) games will remember the things (money, village size, manager amount, etc.) that you have so that when you start the game again, you still have everything you had obtained when you last left off. I am programming a game that needs…
0
votes
0 answers

Trigger after insert MySQL for order data by date value

I wanna make tringger, so after inserting data, the datas ordered by date (here name 'tanggal') but got error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to…
0
votes
2 answers

Link other pagina wordpress

I want to put a link in the single.php page of wordpress that can take me to another page for example book.php as I do. I have this book it does not work
Stymark
  • 55
  • 5
0
votes
0 answers

Permanent data frame Python?

I mainly source my data by reading in CSV files at Jupyter Notebook. Everything works fine, except I use Python through company VPN connection to remote clusters. When VPN is disconnected, I have to re-read CSV files even if the computer has been…
opt135
  • 141
  • 1
  • 8
0
votes
0 answers

How to 301 permanent redirect old URLs to new ones?

My website's URL has been changed, and I want to implement 301 permanent redirection. The home page URL is the same, but inner page URLs have been changed. Here are some old and new URLs of my website- Old URL-…
0
votes
1 answer

.htaccess domain forwarding directories issue

I try to redirect a secondary domain towards a main domain, but for a reason URLs containing a directory path aren't redirected (e.g. www.secondaryDomain.com/aDirectory ). This is the section of the .htaccess file where the redirect instructions…
tje
  • 13
  • 3
0
votes
1 answer

Store images permanent in an offline webApp [Android WebView]

I want to store images (taken by the user) permanent, to provide offline funtionality. If the user has an internet connect the pictures will be stored at the server later. The last days I only searched for an answer, but I'm already not sure, which…
DataCent
  • 39
  • 8
0
votes
0 answers

How to purge a single record in MySql

I need to permanently purge single records from a MySql database (Mssql would be interesting too). By purge I mean unrecoverably send it into oblivion. I need this either for compliance with EU-GDPR and also for a client who wants to make sure that…
LordObi
  • 114
  • 5
0
votes
0 answers

JavaFX Adding Dynamic Tabs Permanently

Is there a way where I could add a permanent tab in javafx dynamically? I mean, I have already created a code which can add a tab dynamically on a button click, but when I close the window and open it again, the tab I just added is gone. Here's my…
0
votes
1 answer

How to add value to user default array with swift 4

I'm trying to append and save a series of strings using UserDefaults, but my code is replacing the data instead of adding to the array every time its called, what am I missing? if Plus == true { if typeOfMath != [""] { …
Daniel.wu
  • 31
  • 1
  • 5
0
votes
2 answers

Show predefined value if selection is not made - Javascript

I have this javascript: $(function() { $("#generate").click(function() { $("#id").val(generateID($("#age").val())); var increaseBy = increaseBase(generateSOCS()); $("#numbersoc1").val(increaseBy(0)); …
Hanuman
  • 27
  • 8
0
votes
1 answer

subdomain and subfolder .htaccess

I would honestly appreciate any input, I have beent rying to do this for 2 days! I have 2 servers, one is my webserver w/Plesk running on a Digital Ocean droplet - another running a game server. I was wondering if it's possible to use a sub-domain…
RundleSG
  • 1
  • 2
0
votes
1 answer

How to keep MVC5 from clearing controller output cache

Currently I am working on an application with ~5000 different pages that all from the following method: [OutputCache(Duration = 604800)] public ActionResult Details(string alias){ //database connection and data retrieval - takes about 11…
Leopard81
  • 59
  • 4
0
votes
0 answers

set permanent environment variables using java

I have a java application which runs on a linux machine many times at a single login. At the beginning of it, I need to set some environment variables for further use. I did that by appending my variables and their values at the end of both…
HaMi
  • 539
  • 6
  • 23
0
votes
1 answer

permanent url redirect in umbraco 7

I was having old url like http://mydomain/blog/posts/2015/february/fill-and-follow/ and new url now is like http://mydomain/blog/posts/fill-and-follow/ So, for above scenario I want to write re-write rule. I am using rule as follows in…
ghetal
  • 403
  • 2
  • 11
  • 30