tagged [filter]
Remove sensitive files and their commits from Git history
Remove sensitive files and their commits from Git history I would like to put a Git project on GitHub but it contains certain files with sensitive data (usernames and passwords, like /config/deploy.rb...
- Modified
- 23 Oct at 17:26
Passing/exposing T on a ServiceStack request filter
Passing/exposing T on a ServiceStack request filter I've got a request attribute that I'm decorating some services, but I need to pass a generic type into it because of some logic happening inside of ...
- Modified
- 23 Apr at 19:4
Custom authorization attribute not working in WebAPI
Custom authorization attribute not working in WebAPI Above is my CustomAuthorizeAttribute Class and ``` [CustomAuthorize] // both [CustomAuthorize] and [CustomAuthorizeAttr
- Modified
- 28 Apr at 10:47
MVC Action Filters using parameters passed to the for ActionResult?
MVC Action Filters using parameters passed to the for ActionResult? I created a custom [Action Filter](http://www.asp.net/mvc/tutorials/older-versions/controllers-and-routing/understanding-action-filt...
- Modified
- 30 Aug at 23:15
Enforce Action Filter on all Controller Actions (C# / ASP.NET MVC)
Enforce Action Filter on all Controller Actions (C# / ASP.NET MVC) I made a new action filter (attribute, similar to [Authorize]) which authorizes access to a controller action based on a session valu...
- Modified
- 27 Aug at 21:33
Action Filter ActionParameters
Action Filter ActionParameters I have an `ActionFilterAttribute` which I want to accept parameters through but I can't figure out pass them across. So my action filter looks like this; ``` public clas...
- Modified
- 5 Jan at 00:5
How do I filter date range in DataTables?
How do I filter date range in DataTables? I have a large dataTable which contains ride information. Every row has a start datetime and an end datetime of the following format(yyyy-mm-dd HH:mm:ss). How...
- Modified
- 21 Dec at 23:14
Filtering Pandas Dataframe using OR statement
Filtering Pandas Dataframe using OR statement I have a pandas dataframe and I want to filter the whole df based on the value of two columns in the data frame. I want to get back all rows and columns w...
IE 8: background-size fix
IE 8: background-size fix I've tried to add background size to IE but it's not working at all: HTML CSS: ``` div#content h2#news { background: url('../images/news-background.jpg') no-repeat; backg...
- Modified
- 3 Feb at 12:49
How to convert a bitmap image to black and white in c#?
How to convert a bitmap image to black and white in c#? > [convert image to Black-White or Sepia in c#](https://stackoverflow.com/questions/4624998/convert-image-to-black-white-or-sepia-in-c) I'm wr...
- Modified
- 23 May at 11:47
ASP.NET MVC: Register action filter without modifying controller
ASP.NET MVC: Register action filter without modifying controller I'm working with nopCommerce and I need to add in my only Action Filter, however, I don't want to modify the core controllers to avoid ...
- Modified
- 27 Jul at 11:10
Injecting dependency into CustomAttribute using Castle Windsor
Injecting dependency into CustomAttribute using Castle Windsor In my ASP.Net MVC application I have implemented a Custom ActionFilter to Authorize users. I use CastleWindsor to provide dependency inje...
- Modified
- 31 May at 11:0
filters on ng-model in an input
filters on ng-model in an input I have a text input and I don't want to allow users to use spaces, and everything typed will be turned into lowercase. I know I'm not allowed to use filters on ng-model...
- Modified
- 9 Jul at 23:3
Filter a DataGrid in WPF
Filter a DataGrid in WPF I load a lists of objects in a datagrid with this: The `model` become data from a database. It has a `Id(int)`, `Name(string)` and `Text(string)` In my datagrid I show only th...
Java 8 Stream API to find Unique Object matching a property value
Java 8 Stream API to find Unique Object matching a property value Find the object matching with a Property value from a Collection using Java 8 Stream. Person attributes -> Name, Phone, Email. Iterate...
- Modified
- 30 Oct at 02:1
How do I add a parameter to an action filter in asp.net?
How do I add a parameter to an action filter in asp.net? I have the following filter attribute, and i can pass an array of strings to the attribute like this `[MyAttribute("string1", "string2")]`. ```...
- Modified
- 27 Aug at 13:12
How to use Action Filters with Dependency Injection in ASP.NET CORE?
How to use Action Filters with Dependency Injection in ASP.NET CORE? I use constructor-based dependency injection everywhere in my `ASP.NET CORE` application and I also need to resolve dependencies in...
- Modified
- 31 Aug at 18:11
R: How to filter/subset a sequence of dates
R: How to filter/subset a sequence of dates I have this data: (complete for December) And a need to subset/filter this, for example from "2014-12-05" to "2014-12-25" I know that you can create a seque...
How to specify "does not contain" in dplyr filter
How to specify "does not contain" in dplyr filter I am quite new to R. Using the table called `SE_CSVLinelist_clean`, I want to extract the rows where the Variable called `where_case_travelled_1` DOE...
How can I remove non-ASCII characters but leave periods and spaces?
How can I remove non-ASCII characters but leave periods and spaces? I'm working with a .txt file. I want a string of the text from the file with no non-ASCII characters. However, I want to leave space...
Async OnActionExecuting in ASP.NET Core's ActionFilterAttribute
Async OnActionExecuting in ASP.NET Core's ActionFilterAttribute ASP.NET Core's `ActionFilterAttribute` has these: I need an async version of
- Modified
- 15 May at 12:43
What is the difference between Authorize Action filter and Authorization filter?
What is the difference between Authorize Action filter and Authorization filter? As per the [ASP.NET website](http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/understanding-act...
- Modified
- 25 Jun at 13:35
Jquery .Filter Function Question
Jquery .Filter Function Question This is kind of a simple question, however, I don't seem to figure out how to do it: I´ve got a slider filtering some stuff ``` $("#price").slider( { range: true, s...
Using Action Filters on MVC C# using query String
Using Action Filters on MVC C# using query String Im using class name RightCheckerAttribute to check user permission in MVC3 application... So the RightCheckerAttribute class is like this... ``` publi...
- Modified
- 1 Apr at 16:53