Questions tagged [permanent]
119 questions
1
vote
2 answers
Line Numbers in PHP Storm
How do I permanently turn on line numbers in PHP Storm? I can put them on for my current file using the view menu but they don't seem to stay on for other windows.

Callum
- 21
- 4
1
vote
1 answer
how to resolve module marked permanent in LKM
I have written a simple jiffies code and when I try to do rmmod I get
ERROR: Removing 'jiffi_module': Device or resource busy
so I did bit of research and found by doing lsmod below symptom of "permanent" being the problem which is caused by…

thedreamer
- 319
- 1
- 5
- 13
1
vote
1 answer
Permanent redirect exclude a path
I have the following:
RewriteEngine On
# Check if the host name contains a . (localhost won't)
# Check if the host name starts with www
# Check if the host name ends with .com
# Check if the connection is secure
RewriteCond %{HTTP_HOST} …

rockstardev
- 13,479
- 39
- 164
- 296
1
vote
1 answer
Android: Recommended way to keep a PhoneStateListener running forever?
I wrote an app which monitors my signal strength via a PhoneStateListener. I want this app to start up at boot time and run forever.
The way I managed this is as follows, but I'd like to know if anyone can recommend a better way of doing this.
I…

HippoMan
- 2,119
- 2
- 25
- 48
1
vote
1 answer
Nginx Permanent Redirect (NON-WWW to WWW) not working
Hi Guys I want my all NON-WWW url request to move permanently and also rewrite to WWW and I have tried to follow existing solutions at these as well
Nginx no-www to www and www to no-www
but still it did not work for me.
e.g. I want example.com or…

Nilesh K
- 124
- 8
1
vote
2 answers
Storing a dictionary in swift in permanent storage
this code here throws an error when I run the app
var dic :[NSObject: AnyObject] = ["name":"steph" , "status": "unemployed"]
NSUserDefaults.standardUserDefaults().setObject(array, forKey: "diction")
var retrievedDict =…

JustABeginner
- 321
- 1
- 5
- 14
1
vote
2 answers
How to store the recent items permanently using swing
I want to add recent opened files to recent menu.I did that task.But,it doesn't store permanently.That means when i close the running application,the recent items also removed.I want to store the recent items permanently,after re run the application…

user3792689
- 63
- 8
1
vote
2 answers
1
vote
4 answers
iPhone permanent data store
How to store information in iPhone so that it cannot be removed when application removed. For example to indicate if user already used all trial features. I tried to use [NSUserDefaults standardUserDefaults] - but it refreshed each time app deleted.

Dmitry
- 1,035
- 2
- 14
- 27
1
vote
3 answers
Temporary Object and Permament Object Javascript
So my problem is simply, but i can't fix it. I have 2 objects one is temporary and second one is permanent, the temporary object taking data from permanent, but when i do actions on temporary, the permanent object chaing too example:
var permObject…

Szarik
- 17
- 2
- 8
1
vote
1 answer
How create a permanent notification with battery level?
Is possible create a permanent notification of battery level starting from this code?:
public void onCreate(Bundle savedInstanceState) {
...
this.registerReceiver(this.myBatteryReceiver , new IntentFilter(Intent.ACTION_BATTERY_CHANGED));
…

David_D
- 1,404
- 4
- 31
- 65
1
vote
1 answer
Permanent subdomain https:// redirection for Wildcard ssl certificate
I put inside the public_html/ .htaccess code (at the begining)
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mydomain.com/$1 [R=301,L]
and https:// was forced with success.
But i put on the public_html/subdomain/…

user2419145
- 11
- 2
1
vote
1 answer
Remove 'index.php' from url without removing parameters in .htaccess
I have a condition for url redirect like,
www.domain.com/something/anotherthing/index.php
i need the above url to redirect to
www.domain.com/something/anotherthing/
If i go to
www.domain.com/index.php/something/anotherthing
i want to…

Goysar
- 529
- 7
- 25
1
vote
1 answer
redirect a domain using htaccess permenantly
I am having a site with two domains pointing to the same site.
Lets say domain1.com & domain2.com
I want to do a permanent redirect of the domain1.com to domain2.com, so that anyone who visit the site from domain1 even if Google crawler, it should…

esafwan
- 17,311
- 33
- 107
- 166
1
vote
2 answers
htaccess experts: Redirect all but root to one TLD, redirect root to another TLD - WordPress
Help from the gurus is appreciated.
I have been requested to put a client's WordPress homepage on one TLD (i.e. domain.eu), and have all other pages/directories be 301'd to a different TLD extension (i.e. domain.com/everything-else). Not sure why…

Zach Fitzgerald
- 13
- 3