A filter for angular where you pass a list of javascript objects and a string with the term to be searched, then this filter search all terms in all objects attributes.
There is a example.html with this filter working and a demo:
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
var assert = require('assert') | |
console.log('\n==========='); | |
console.log(' mongoose version: %s', mongoose.version); | |
console.log('========\n\n'); | |
var dbname = 'testing_geojsonPoint23'; | |
mongoose.connect('localhost', dbname); |
"use strict"; | |
const path = require("path"); | |
const { join, resolve } = require('path'); | |
const loaders = require('./webpack/loaders'); | |
const CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); |
#!/usr/bin/env node | |
'use strict'; | |
const mongoose = require('mongoose'); | |
mongoose.connect('mongodb://localhost/test'); | |
const conn = mongoose.connection; | |
const Schema = mongoose.Schema; | |
const schema = new Schema({ | |
arr: [{ type: mongoose.Schema.Types.Mixed }] |
const makeSquareAreaFromLatLng = function (lat, lng, distance = 10) { | |
const lat_change = distance / 111.2; | |
const lon_change = (Math.abs(Math.cos(lat * (Math.PI / 180)))) / 4; | |
const circlePoints = []; | |
const bounds = { | |
lat_min: lat - lat_change, | |
lon_min: lng - lon_change, | |
lat_max: lat + lat_change, | |
lon_max: lng + lon_change |
class Teacher { | |
public name: string; | |
public classes: Array<StudentClass> = []; | |
public quizes: Array<Quiz> = []; | |
addClass(name) { | |
this.classes.push(new StudentClass(name)); | |
} |
var whois = require('node-whois') | |
var sys = require('sys') | |
var exec = require('child_process').exec; | |
require('dotenv').config(); | |
const dns = require('dns'); | |
const apiKey = process.env.nodeWhoisApiKey || "123456"; | |
let protection=0; |
A filter for angular where you pass a list of javascript objects and a string with the term to be searched, then this filter search all terms in all objects attributes.
There is a example.html with this filter working and a demo:
hey, was just thinking about your bass recording question from a couple weeks ago and needed to take a break to relax my brain, so here's a quick shopping list/signal flow for you if you're plugging in direct to your mixer:
Bass > 1/4" cable > [SansAmp Bass DI] > XLR cable (balanced) > Channel 1 XLR input on mixer (make sure it's one with a preamp on it) > FX send from back of mixer channel > 1/4" cable > [Compressor] > 1/4" cable > Channel 2 1/4" input on mixer Keep faders on both channel 1 & 2 at 0 to start
SansAmp Bass DI
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>App</title> | |
<base href="/"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="icon" type="image/x-icon" href="favicon.ico"> | |
<link rel="me" | |
href="https://twitter.com/twitterdev" |
function makeRandomTime(){ | |
const x = Math.random()*2000 + 1000 | |
console.log('Random time:',x) | |
return x | |
} | |
function makeDeleteLikeTimeout(){ | |
setTimeout(() => { | |
runDeleteLikes(); |