Questions tagged [restriction]

A restriction is anything that constrains or limits the code in some fashion.

Restriction is a very broad tag that denotes a requirement to restrict the code in some fashion.

706 questions
-1
votes
2 answers

Is there a shorthand version of this loop in Ruby

I am writing a code that has lines limit of a method so I am trying to write the shortest possible version of this loop : for i in (0..number) #lines of code end I was wondering if there is a way to do it somehow similar to: { #lines of…
user2128702
  • 2,059
  • 2
  • 29
  • 74
-1
votes
1 answer

how can I get R to read a string as a restriction?

Instead of writing for a vector V: V[a>1 & b==2 & c<1] I would like something like: V[restriction] with restriction = "a>1 & b==2 & c<1" Any ideas? Thanks, F.
-1
votes
1 answer

restriction to image dimension asp.net

I want to make restriction to the dimensions of the asp.net C# image. I have image1: ImageButton ib = (ImageButton)sender; Image1.ImageUrl = ib.ImageUrl; Also I have: Image tempImage = new Image(); tempImage.ImageUrl = ib.ImageUrl; next I am…
Nurlan
  • 2,860
  • 19
  • 47
  • 64
-1
votes
1 answer

Internet Explorer 8 Restrictions Registry Locations

I'm attempting to restrict IE8 to no toolbars, no anything. I'm working with Kiosk mode, in Windows XP Home edition. I have some XP pro computers set up properly with this already, using Group Edit and Windows Steady State. However, I have been…
Serge
  • 1,974
  • 6
  • 21
  • 33
-2
votes
2 answers

Allow specific user roles to log into WordPress site

I built up a membership site and i want only user can login if they have any of these user roles: administrator, tutor_instructor and club_members. Could you please advise. Thank you.
Ardeth
  • 91
  • 1
  • 1
  • 13
-2
votes
2 answers

Restrict data of all months based on current day of month in Obiee

How can I restrict the data of all the months based on Current day of month. Supposed day of month is 18 so all previous months will give me data only till 18th and not more than that in Obiee?
-2
votes
2 answers

How to create textAreas in javaFX

I'm working on a text box that will give information about a subject in it, but I want 1 long string to have all of the information stored in it. I would like for this string to be returned to the "next line" in that box, I'm essentially trying to…
-2
votes
2 answers

Is it possible to limit the values of a SQL view?

I have a view with multiple values. This view is called directly into a dropdown list in my ERP. I would like to know if is it possible to limit the values of this view according to another field in the ERP? The page that opens the form with the…
-2
votes
1 answer

How to restrict ios sandbox access from .app file (Migrating an App to a Sandbox)

I am able to see the source code from my .app file that is i am able access image files. How can i restrict that? I dont want my user to access the files from app. Please help me in resolving this issue. Update: Sorry i was supposed to write .h/.m…
Satish
  • 1
  • 3
-3
votes
1 answer

I want my online ordering website to be available at specific hours only

I'm working on an online ordering website for our takeaway restaurant. I have to prevent people from placing orders before 5pm and after 11.30 pm (server time). I'm using OpenCart, php. Could somebody write me a script that I could insert, that…
Zsolt
  • 9
-3
votes
1 answer

How does java.policy file restrict safety from other users/code?

I'm new to java security policy, referring to [Java core programming] volume 2, there's sample of using policy file to specify permissions for file, etc. My question is: (1) When I develop my own application or applet, I can use this policy to…
Hind Forsum
  • 9,717
  • 13
  • 63
  • 119
-3
votes
1 answer

Probability of A Random Sample Meeting Criteria

I need to know how to find the probability that a random sample of 9 SAT‐ takers will get a group average score of 1340 and above. All I am given is the mean = 1060 and the standard deviation is 195. I am new to r and can't seem to find a tutorial…
-4
votes
7 answers

While-loop Restriction

I want to restrict the while Loop. I don't want to use break;, instead I want to say that the loop must end after three times. My while Loop: while(!file.isFile()) { userInput = JOptionPane.showInputDialog("UserInput);
user6717741
-4
votes
1 answer

Validate text area for input numeric, comma, dot and space not allowed

I have placed one text box and I want to put restriction on it . Only number,comma,dot can be allowed to input in text area and space not be allowed.
Fatin Az
  • 509
  • 2
  • 6
  • 8
1 2 3
46
47