コマンドの実行はコンソール( ctrl + ` で開ける)で以下を実行する:
view.run_command('example')
コマンドの実行はコンソール( ctrl + ` で開ける)で以下を実行する:
view.run_command('example')
#!/usr/public/bin/perl -w | |
use strict; | |
use JSON; | |
use JSON::WebToken; | |
use LWP::UserAgent; | |
use HTML::Entities; | |
my $private_key_string = q[-----BEGIN PRIVATE KEY----- |
by https://github.com/erlang/otp/wiki/Writing-good-commit-messages
良いコミットメッセージは、重要な役割が、少なくとも三つあります。
// 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 |
# 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 |
const express = require("express"); | |
const router = express.Router(); | |
router.get('/', function (req, res) { | |
res.send("This is the '/' route in ep_app"); | |
}); | |
module.exports = router; |
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 => [ |
ClubDAM has a mobile app called デンモクmini ("Denmoku mini") which uses an undocumented API.