Questions tagged [permanent]

119 questions
1
vote
1 answer

What is the syntax for creating a permanent table within the dataset in a BigQuery SQL query?

Summarize the problem: I have a temporary table as a result of my query in order to combine 12 months' data by the use of WITH statement. I can save the temp. table manually by saving the view as a permanent table which I then export to use in my…
Yesim
  • 21
  • 5
1
vote
1 answer

How to implement 301 permanent redirection using htaccess with custom parameter in URL?

Here I have a URL like www.abc.com/product/women/casual/page:5/ and I need to implement 301 permanent redirection using htaccess in order to change the URL to www.abc.com/product/women/casual/page/5/. In this case, parameter women and casual is…
Tech Team
  • 13
  • 3
1
vote
1 answer

Redirect all pages to a new domain htaccess

I want to redirect my entire website to a new unique address/domain without respecting the relation between filenames. I don't want olddomain.com/foo.html to be redirected to newdomain.com/foo.html. I want this result with a htaccess…
1
vote
1 answer

Can't add directory to Python Path

In my .bashrc I added the following: export PYTHONPATH=$PYTHONPATH:/home/tbao/src/Cython-0.14.1 When I relogin, I get the error: -bash: /home/tbao/src/Cython-0.14.1: is a directory I want to add the the directory to my pythonpath, but I can't. What…
user804649
  • 315
  • 2
  • 12
1
vote
1 answer

How to store tree structure in python permanently

I created a tree structure using python. Assume the tree has root node, left and right child. I need to acceess the tree whenever required. But on opening the file and running makes recreation of tree. As i have huge number of nodes in tree, so the…
Rohit
  • 11
  • 1
1
vote
1 answer

How does one implement a background notification service in android when all services except for foreground ones get shut down after some time?

I would love to offer a background notification service(real-time) but can't find a way how to make it work since background services get stopped by system and when I restart them from a receiver I get an error. I see that other apps have it, but I…
Sagan
  • 112
  • 1
  • 7
1
vote
0 answers

can i store the value user input inside queue and then store the queue itself in a file?

the input of the function below is being stored in a list and it is volatile.can i store tht list or vector in a file so tht it will be permanent n delete or modify the things in it by opening the file itself. i have tried to add a file bt it didnt…
gago
  • 11
  • 1
1
vote
0 answers

How to write files to SDCard that will not be deleted if App is uninstalled

I need to be able to read and write data on a removable SDCard such that it will not be deleted if the app is uninstalled. A lot of data! I have an app that works with more than 50,000 files, 10 GBytes (mostly images and videos). This data is…
1
vote
1 answer

How to register permanent spark udf?

I'd like to use my udf in other sessions or in a view so is there any way to register permanent Spark UDF written in Python or scala?
1
vote
1 answer

htaccess redirect only subdirectory requests (not requests for TLD)

I moved my blog from example.com to example.com/blog. I now have a splash page at example.com. I would like old blog post requests like example.com/2011/example-post to redirect to example.com/blog/2011/example-post; but requests to example.com to…
drew
  • 13
  • 2
1
vote
1 answer

Why my Google Cloud SQL (MySQL) base receives several request(write) per second, when my app does nothing?

My app is inactive, waiting for a http request. Nevertheless, the MySQL database received a permanent 15 requests(writes) per second, day and night. Then, I have stopped replication, and binary logging. Now, the graph shows about 6 requests(writes)…
1
vote
1 answer

Permanent Redirect from old ASP.net pages/site to PHP pages/site

I picked up a new-to-me client who had a site built in ASP.net (which I do not host). I converted the site to PHP, which worked fine. I want to set up redirects for all the pages he had in the old site (it was a small site, so there was only 8…
Mike Ray
  • 13
  • 2
1
vote
1 answer

htaccess dynamically rewrite

example: https://www.mydomain.de/myproduct/?___store=french&___from_store=german to https://www.mydomain.de/myproduct/ I have a store and want to dynamically permanent rewrite storeviews of hundrets of urls to one part of the same url. And this for…
Susan
  • 21
  • 1
1
vote
0 answers

Define Permanent User Defined Function in BigQuery for aggregating results

I have used this sample code to write functions on the aggregated data from Big Query. CREATE TEMP FUNCTION aggregate_fruits(fruits ARRAY) RETURNS STRING LANGUAGE js AS """ return "my fruit bag contains these items: " +…
1
vote
2 answers

permanently save modified dataset

I know this is a very basic question but my code keeps failing when trying to run what I found through the help documentation. Up to now I have been running an analysis project off of the .WORK directory which I understand gets wiped out every time…
nojohnny101
  • 514
  • 7
  • 26