Newest filter Questions

Q&A for professional and enthusiast programmers

In Matlab, how to apply gaussian low pass filter and gaussian high pass filter? [on hold]

In Matlab, I have a grayscale image donated by img1. I need to write code for the following: 1. create a Gaussian High pass filter and apply it to fourier coefficients of img1. 2. Create a Gaussian ...

Spring XD - Logical operators in SpEL expression and filters

I would to create a filter like this file --outputType=text/plain --dir=someDir --mode=lines | filter --expression='payload.contains(\"request url\") AND payload.contains(\"request method\")' | log ...

Filter items with certain text in a Pivot Table using VBA

I've been trying to build a code to filter all items within a Pivot Table which contain a specific text fragment. I initially imagined I could use asterisks (*) to indicate any string before or after ...

Export filtered/queried GoogleSpreadsheet to pdf via AppsScript

I have a spreadsheet with data of the day of some students (name, date, lesson, presence, teacher). I want to export a filtered list via pdf with 2 criterias: name time frame In the spreadsheet ...

Using awk in bash to filter input

I'd like to check my minecraft server for online players using /list in server console. This gives me the following input. The goal is to compare if the player is in an specific list. If he isn't, we ...

Exim restrict “from address” per user

I run a shared server for my clients' websites (ubuntu 16.04). I run exim to allow the websites to send out email. It also acts as a mail forwarder and smtp server for my cleints' email software (or ...

Magento Price Range Filters

I would like to ask a question: I have a problem with the price ranges filters in the search page, and it shows many un-real ranges that I don’t know why. check this page for example: https://znbaq....

Megento Two filters are not working when applied in a product

I am using Magento 1.9. I have added some products and there is some attributes like size and fitting. At front end when I am searching just by size it is showing perfectly but when I am adding one ...

Creating an Updateable time filter

I would like to create an updateable time filter. Here is my website www.livehazards.com ....You can see the time filter on the right hand side Here is the code for it document.getElementById('...

How to add block filters with exceptions in Windows, using FWPM_CONDITION_ALE_APP_ID and FWP_BYTE_BLOB in the FWPM_FILTER_CONDITION0?

Good morning everyone, I was trying to add filters in Windows blocking the port 53 (DNS), but allowing one application exception. I took example from here Everything goes fine, but the application ...

Filtering a dataframe based on a value from column in R

I have a dataframe df as shown below sample variant 1 HLA1 1,3,4,5 2 HLA2 1,5 3 HLA3 2,3 4 HLA4 5 HLA5 1 6 HLA6 1,4,3 7 HLA7 1 8 HLA8 4,3 I would ...

jqGrid - difficulty reloading grid when returning with querystring filter and sort parameters

I start with a page with jqGrid on it. When the user clicks on a specific sectorID link in the sectorID column, it takes it to the next page, but also passes filter and sort data (from getGridParam) ...

How to load properties files inside a filter

I have an application that requires SAML implementation so I included a filter to do the verification or required redirect. The redirect works and everything is fine, however, the redirect URL changes ...

elasticsearch range filter incorrect

Everyone. This is a simple test code with the elasitcsearch document url curl -XPOST 'localhost:9200/customer/external/_search?pretty' { "took" : 3, "timed_out" : false, "...

pandas: filter out column values containing empty list

I have the following data frame my_df: col_A col_B --------------- John [] Mary ['A','B','C'] Ann ['B','C'] I want to delete the rows where col_B has an empty list. i.e. I want the ...

Excel graph based on data subset

I am struggling with Excel to make a graph based on a condition that is not part of the graph. The data set it is based on can't be filtered. It has to be shown in full, but the graph should only ...

Filter Working days from weekend php

I want to show an error if it's not a weekday (you can enter a date in the html section) setlocale(LC_TIME, "de_DE.utf8"); $dateString = strftime('%A' , $dateTimestamp1); substr($dateString, 0, 2); ...

Shiny: Create reactive filter using different variables.

I have a data frame that combines sociodemographic data with Awareness Measues for multiple Websites. Each website has a separate column stating if the person knows the website ("Yes"/"No"). ...

Get Subgraph from Boost with a specific pattern

I am looking to extract a chaining pattern from boost graph library. Something like, if i have a graph with the following edges and vertices Vertices : 0,1,2,3 Edges : add_edge (0, 1, g); ...

Filter or Jump to Value in Combo Box

I am trying to make my combo box more user friendly, since it contains about 300+ companies. I am trying to find a way where a user can press a letter like "z" and it will jump down the the first z. I ...

FFMPEG Amix filter volume is not constant

I'm having an issue with FFMPEG and amix filter. Turns out that the volume ins't constant, the generated audio starts with a lower volume and after each mixed sound ends the volume is higher and ...

Algolia Facet Filters with Array Value

For some reason, facet filters broke recently in algolia. I have products that have array attributes such as "pa_size:["XS", "S", "M", "L", "XL"]". I added "_product_attributes.pa_size.value" to the ...

Dynamic selection of visible rows after advanced filtering

I have a code that first trough advanced filtering, filters a table. After this i want to select all rows in the table except the headers and delete this. In my table i have 20 columns of data and it ...

Getting “Undefined” Error While Using Array.filter in Angular 2 App

In my Angular app I am pulling in some data via an observable. I am then taking those records that are returned, and I am filtering them to return results that match a certain property value. I have ...

Change or-filter into and-filter for joined table's `column = ANY()` comparison

So I have a table of users and another table of their hobbies. I've created a query like this: SELECT DISTINCT usr.id, usr.name, usr.gender FROM usr LEFT JOIN hobby ON hobby.usr_id = usr....

filter rows of dataframe based on an ordered vector of characters

Not sure if my question is a duplicate, but searching in stackoverflow did not yield any possible solutions. I have the following data frame num char 1 A 2 K 3 I 4 B 5 ...

Django filters and serializers. Filter model one-to-many nested values

I know how to apply filter to viewset for current model by nested values and return all data concerning to this foreign key. And that's okay if I have one-to-one relation. But I have one-to-many ...

Filtering a SearchAdapter based on a selection from a DropDownList

I'm trying to add a filter to a GridView, and I need to work with pre-existing stored procedures (i.e. I can't change anything on the back end or reference tables directly). How I'm currently filling ...

excel macro to cycle through filtering options

In excel File A, Col A i have family type for a parts list. 0.5V, 2V, 5V,10V,12V, etc in Col B thru K I have some part data dimensions and things like that. I was looking for a way to have a macro run ...

Filter list based on condition that it contains two contradicting strings

my_list = list() my_list[[1]] = c("Fast","Slow","Heavy","Light") my_list[[2]] = c("Fast","Small","Intelligent","Light") my_list[[3]] = c("Dumb","Slow","Heavy","Light") my_list[[4]] = c("Slow","...

Bootstrap-Table Filter Greater/Smaller than

for my web project I'm going to use the "Bootstrap-Table" extension. I've some integer values in my table, for example the age of a person and I want to filter the age with greater/smaller than a ...

In excel sheet how to filter specific rows which have specific values

In this table, I want to filter the rows which have at least one zero but not the rows which have all zero values. This means the resulting table should remove R3, R4 and R6 rows and the rest should ...

Is there a way in the advanced filter within Google Analytics to filter urls that are lowercase only?

Screenshot of Advanced Filter I recently applied the lowercase filter to my View, but the historical pageviews for URLs with mixed case are still showing in Google Analytics. Within GA, I want to ...

Link or a Javascript snippet Open external app from a link on the android captive portal browser

I need to open android application from captive portal browser but I am not able to achieve it with intent://scan/#Intent(intent scan), it results in net:ERR_UNKNOWN_URL_SCHEME. is there anyother ...

Create a plot on a filtered pivoted pandas dataframe (python)

I created the following python pandas pivot table and want to plot it but only filtered for years 2015 and 2016. import numpy as np import pandas as pd %matplotlib inline import matplotlib.pylab as ...

hbase shell filter on hierarchical rowkey (or filter by rowkey length)

I have a hierarchical row-key design, where each character is an ID of a field (we use 4 byte segments but I will stick to double digits for readability) For example 00 0000 = child of 00 000000 = ...

Loop through Table Column Filter Criteria By index

I have searched and searched for an answer to this, and have found many variations, but can't figure out how to loop through all filters on a table column. Example: Loop through each filterable value ...

How to set and query multicast address for NDIS Virtual miniport driver?

I want to add multicast support on virtual Miniport driver . I have a filter driver binds over each physical NIC . As per Microsoft document https://msdn.microsoft.com/en-us/library/windows/hardware/...

Linear Scale Space vs Non Linear Scale space

I am trying to understand the problem that a Gaussian(Linear) scale space faces. Why is it called a linear scale space? As mentioned in this presentation Slide #30 - Gaussian blurring does not ...

How to functionally aggregate individual timestamps into time ranges

Apologies for the title, please edit if you can think of a better one! I have recently started to try and use more map/filter/reduce operations in JavaScript, and I have a problem I am trying to ...

remove different elements of a list in python

I have a list like this: ["Dog owner writes for dying cat", **datetime.datetime(2014,4,3,16,21,57), ''**, "Get him a ball", **datetime.datetime(2015,11,20,19,18,23), ''**] There are many elements ...

Add dropdown as filter in kendo-UI grid using c#

In my kendo-UI grid want to add dropdownlist as filter instead of textbox. i want to do this using c# not in clientside code

Filtering multiple times on one dictionary

I currently run this code: searchterm = "test" results = resultsArray.filter { $0.description.contains (searchterm!) } My question is how do I search in company_name or place or any other field in ...

How to retrieve specific Data from json file ANGULAR2

This is an Ionic 2 project I want to retrieve specifiq data from the locally json file. I googled for 8 houres, still can't find the solution ! Here is My json file [{ "favoris": true, "...

Display filter criteria applied in kendo UI grid using c#

I want to show filter criteria user used to load data in kendo-UI grid

Python logging add filter for handler in ini file?

I have a log.ini like this: [handler_info] class=StreamHandler level=INFO formatter=fmt filter=infofilter args=(sys.stdout,) [handler_error] class=StreamHandler level=ERROR filter=errorfilter ...

How can I implement this filter on a table using Angular JS?

The table is loaded on page load itself by making REST call. The filter for the column contains all the distinct values present in the column which comes on the page load itself. Multiple values can ...

Grails: Use regex with filter

I have two URL's addresses which I have filter for everyone of them: all(uri: '/api/first/**') { before = } all(uri: '/api/second/**') { before = } I want to write just one filter for both. ...

How dynamicly check checkboxes with compare object and value?

I have a list of groups like this: {"data": [ {"id":"221","title":"group1"}, {"id":"18","title":"Group2"}, {"id":"306","title":"Group3"}, {"id":"19","title":"Group4"} ] } In the ...

Masking vector A for elements that does not match vector B

If I have a vector v = {10,9,8}, and a vector y = {10,5,7}. How can I write this so that it results in a vector x = {1,0,0}. In other Words, set ones where elements match, and zeroes if not? How would ...
Translating... 0%