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
import logging | |
import json | |
import google.oauth2.credentials | |
import time | |
from google.assistant.library import Assistant | |
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QObject, QThread | |
from google.assistant.library.event import EventType |
http://tinkerman.cat/rpi3_iot_server.pdf (Catalan)
- download the latest image
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
qmlRegisterType<UnqliteStore>("com.l3.demo", 1, 0, "KeyValueStore"); |
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
""" | |
ldr.py | |
Display analog data from Arduino using Python (matplotlib) | |
Author: Mahesh Venkitachalam | |
Website: electronut.in | |
""" | |
import sys, serial, argparse |
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
# METEOR CORE: | |
Anywhere: Meteor.isClient | |
Anywhere: Meteor.isServer | |
Anywhere: Meteor.startup(func) | |
Anywhere: Meteor.absoluteUrl([path], [options]) | |
Anywhere: Meteor.settings | |
Anywhere: Meteor.release | |
#Intro
Kotlin is a new programming language for the JVM. It produces Java bytecode, supports Android and generates JavaScript. The latest version of the language is Kotlin M5.3
Kotlin project website is at kotlin.jetbrains.org.
All the codes here can be copied and run on Kotlin online editor.
Let's get started.
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
// From http://arduino.cc/forum/index.php/topic,43903.0.html#10 | |
byte text[] = "Hello World"; // Transmittet text | |
// Morse code generator for the Arduino | |
// Transmitted text is placed in the first line | |
// Tempo sets the speed of a dot etc. | |
// Morde code was tanken from http://en.wikipedia.org/wiki/Morse_code | |
// Text is looping and prior to transmitting the active pin blinks rapidly | |
// Version 1.0, made by Fletcher Chr |
NewerOlder