You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
You need to provide some classes and decorators yourself to maintain the same style as [email protected]
.
@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}
↓
import * as tf from "@tensorflow/tfjs" | |
import "@tensorflow/tfjs-node" | |
import iris from "./iris.json" | |
import irisTesting from "./iris-testing.json" | |
// convert/setup our data | |
const trainingData = tf.tensor2d(iris.map(item => [ | |
item.sepal_length, item.sepal_width, item.petal_length, item.petal_width, | |
])) | |
const outputData = tf.tensor2d(iris.map(item => [ |
# Activate switchbot by python with bluepy on Raspberry Pi | |
# https://github.com/IanHarvey/bluepy | |
# | |
# Switchbot's API is taken from this | |
# https://github.com/OpenWonderLabs/python-host | |
import binascii | |
from bluepy.btle import Peripheral | |
# find your switchbot address by |
ClubDAM has a mobile app called デンモクmini ("Denmoku mini") which uses an undocumented API.
// Liquid level detection using an SST sensor | |
// | |
// When a liquid touches the tip of the sensor, | |
// an LED at pin 13 turns on. | |
// | |
// Hardware: | |
// Sensor | Arduino | |
// -------------|--------- | |
// Vs (RED) | 5V | |
// Out (GREEN) | pin 7 |
Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.
Translations: (No guarantee that the translations are up-to-date)
.* | |
!.gitignore | |
*~ | |
local/ | |
log/ | |
*.pid |
public class SquareView extends View { | |
private boolean mAdjustWidth; | |
public SquareView(Context context) { | |
super(context, null); | |
} | |
public SquareView(Context context, AttributeSet attrs) { | |
this(context, attrs, 0); |