Questions tagged [permanent]

119 questions
9
votes
4 answers

Why is this kernel module marked at permanent on 2.6.39

When I load this module: #include #include #include MODULE_LICENSE("Dual BSD/GPL"); static int hello_init(void) { printk("<1> Hello world!\n"); return 0; } static void hello_exit(void) { …
Douglas Leeder
  • 52,368
  • 9
  • 94
  • 137
8
votes
7 answers

Permanent PowerShell variable

Is there a way to define a variable in PowerShell so when I open up a new PowerShell window, it'll keep the same value? I'll need this variable to keep its value, because I'll be needing to reboot my server every now and then, and I don't want to…
GwFiles
  • 93
  • 2
  • 2
  • 4
6
votes
2 answers

How can I implement a global, implicit filter in Django admin?

A lot of my models have a foreign key to a "Company" model. Every logged in user can be part of one or more companies (User m2m Company, not null). I would like the current admin user to have "Company goggles" on, i.e. a select list, on the admin…
Danny W. Adair
  • 12,498
  • 4
  • 43
  • 49
6
votes
2 answers

Best Way to keep Settings for a WinRT App?

I'm working on a WinRT app that's actually also a game. I need to keep different information such as audio settings or player statistics somewhere in sort of a file or somehow. If it's a file, just write settings in or... ? I have an idea but I…
VasileF
  • 2,856
  • 2
  • 23
  • 36
5
votes
2 answers

How do I completely nuke a file from a git repo?

I've accidentally pushed a file that I don't have rights to to a publicly accessible repo. What can I do to selectively nuke that single file from the repo completely, so that its data is completely gone?
Charles Randall
  • 6,920
  • 12
  • 33
  • 38
4
votes
1 answer

Which Drupal 8.1.x Rest API property in the JSON request controls Drupal's File status (Temporary and Permanent) logic?

Which Drupal Rest API property in the JSON request controls Drupal's File status (Temporary and Permanent) logic? I am trying to upload via Multipart/form-data (i.e. JSON data plus attached [uploaded] file) to Drupal 8.1.x CMS. So far, the upload is…
user2120188
  • 427
  • 1
  • 4
  • 16
4
votes
1 answer

WiX: revert permanent component to not permanent state

I've marked a component which writes a registry key with Permanent="yes" attribute. Later I removed this attribute, but component still thinks it is permanent. Uninstall log says: Disallowing uninstallation of component:…
Roman
  • 4,531
  • 10
  • 40
  • 69
4
votes
2 answers

Calculate permanent of a matrix in R

How can I find a permanent of a square matrix (for a general dimension nxn) in R? In particular, I'm trying to find a pdf of order statistics for independent but not identically distributed populations, which includes calculating a permanent of a…
3
votes
2 answers

MySQL Permanent Lock on Table

From what I read in the following: http://dev.mysql.com/doc/refman/5.0/en/lock-tables.html, the LOCK TABLES statement is only good for the current session. How can I permanently lock specific tables to make them read-only, for all connection…
Michael Sheaver
  • 2,059
  • 5
  • 25
  • 38
2
votes
2 answers

Struts 2 redirects - permanent redirect option? 301 vs 302

By default, Struts 2 "redirect" is a temporary redirect (302). This makes sense. However, for SEO purposes, I need to issue a permanent redirect (301). Is there an easy way to achieve this?
n00b
  • 167
  • 1
  • 2
  • 8
2
votes
0 answers

Follow 308 PERMANENT_REDIRECT with the Springframework RestTemplate class?

I can't get my RestTemplate GET-Call to automatically follow a 308 PERMANENT_REDIRECT response. I have a REST service that previously was reachable under the URL https://subdomain1.domain.com/x/y/z (just an example). It now moved to…
2
votes
3 answers

Permanent java objects

I was wondering (there has to be an easy solution) if there is a way to make a number of objects, and use them in other classes and objects from those classes, without having to update them (in Java). An example: Class A, B and C make objects a b…
Hidde
  • 11,493
  • 8
  • 43
  • 68
2
votes
2 answers

How can i save the data and softwares inside docker container permanently?

I am using docker image opencv from https://hub.docker.com/r/andrewssobral/bgslibrary_opencv3/ of andrewssobral author. First, i initialized container of the image by typing command: docker run -it -p 5901:5901 andrewssobral/bgslibrary_opencv3…
gia huy
  • 329
  • 1
  • 6
  • 12
2
votes
0 answers

Avoid accuracy problems while computing the permanent using the Ryser formula

Task I want to calculate the permanent P of a NxN matrix for N up to 100. I can make use of the fact that the matrix features only M=4 (or slightly more) different rows and cols. The matrix might look like A1 ... A1 B1 ... B1 C1 ... C1 D1 ... D1 …
hbar
  • 43
  • 2
2
votes
1 answer

How to add to Interface builder classes in a static library, permanently?

I know the thread on Interface Builder can't see classes in a static library there add to InterfaceBuilder(IB) classes in static library, temporary. The way is drag & drop the header files(.h). It's working in one time booting the IB I wanna…
TopChul
  • 419
  • 2
  • 14
1
2 3 4 5 6 7 8