{
"Styles": {
"prefix": "mstyles",
"body": [
"import { makeStyles, createStyles } from '@material-ui/core/styles';",
"//import useMediaQuery from '@material-ui/core/useMediaQuery';",
"",
"export const useStyles = (props = {}) => {",
" //const matches = useMediaQuery('(min-width:450px)');",
The CD that came with the device listed RTL8671B, but it's not on Realtek's website. Instead the manual points you to:
https://www.mytechkey.com/pages/driver
4.Bluetooth 5.0 Dongle
Driver Link:
https://www.dropbox.com/s/gwo9lz777i82f70/BT5.0%20Driver.zip?dl=0
Remember to change the passH variable to a diffrent one in each input you place in the dom within the same scope. Using the name/id + and H ( as in Hide xD ) is usally a good idea to avoid repeating.
<mat-form-field>
<input [type]="!passH ? 'password' : 'text'" matInput placeholder="A new Password" [(ngModel)]="pass" name="pass">
<div matSuffix (click)="passH = !passH"><i class="fas fa-{{!passH ? 'eye-slash' : 'eye'}} "></i></div>
Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below.
Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @tboyce1, @simbesh, @JeffLIrion @ff12 @rebmemer @siaox @DiederikvandenB @Thebuz @clapbr @Finsterclown
Starts Youtube App
entity_id: media_player.shield
command: >-
/*************************************************************/ | |
// NumeroALetras | |
// The MIT License (MIT) | |
// | |
// Copyright (c) 2015 Luis Alfredo Chee | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
/* | |
(c) by Thomas Konings | |
Random Name Generator for Javascript | |
*/ | |
function capFirst(string) { | |
return string.charAt(0).toUpperCase() + string.slice(1); | |
} | |
function getRandomInt(min, max) { |
Deploying a node app with Forever is great...until your server restarts unexpectedly. Then your app stops running and you have to re-deploy.
To get around this, we're going to run our node app as an Upstart service. Upstart services are great, because, once started, the system auto-restarts them if they fail, or if the server restarts.
###Step 1: Create a service for your node app
- ssh in as root
ssh root@youripaddress
- Create a node-app.conf file in /etc/init
IMPORTANT: whatever filename you pick is what you will use to start|stop|restart your service i.e.service node-app start
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript | |
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15); |