This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: ld2410-esp32 | |
friendly_name: ld2410-esp32 | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Customized HTML5 local storage class with additional functionality. | |
*/ | |
export class LocalStorage | |
{ | |
// Public Methods | |
// -------------------------------------------------------------------------------------- // | |
/** | |
* Checks if the browser supports local storage. | |
* @returns true if the local storage is supported; false otherwise. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Muhammad Faisal | |
* @description Service for getting data. | |
*/ | |
// Angular Imports | |
import { Injectable } from '@angular/core'; | |
import { HttpErrorResponse } from '@angular/common/http'; | |
import { forkJoin as observableForkJoin, Observable } from 'rxjs'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Muhammad FAISAL | |
* @description Controls the display of html contents only during development mode. | |
* @example <button development-only>Some Button</button> | |
*/ | |
// Angular Imports | |
import { Directive, OnInit, ElementRef, isDevMode } from '@angular/core'; | |
// Define class for the Directive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Mocked Service | |
angular.module('mock.users', []). | |
factory('UserService', function($q) { | |
var userService = {}; | |
userService.get = function() { | |
return { | |
id: 8888, | |
name: "test user" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ============================================================= | |
* bootstrap-scrollspy.js v2.0.1 | |
* http://twitter.github.com/bootstrap/javascript.html#scrollspy | |
* ============================================================= | |
* Copyright 2012 Twitter, Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Linq.Expressions; | |
namespace BetterFacetedSearchAPI | |
{ | |
class Program | |
{ |