This file contains 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
class Keyboad(): | |
def __init__(self): | |
self.conf1 = 100 | |
self.keymap = [] | |
self.extensions = [] | |
def find_key(self, row, col): | |
return self.keymap[row][col] | |
This file contains 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 PIL import Image | |
from PIL import ImageDraw | |
from PIL import ImageFont | |
call_sign = "JI1SVR" |
This file contains 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
sudo apt install ssh | |
sudo apt install wget | |
sudo apt install vim | |
sudo apt install -y docker.io | |
sudo usermod -aG docker techlab | |
sudo swapoff -a |
This file contains 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
"""A demo which runs object detection on OpenCV frames.""" | |
import argparse | |
import cv2 | |
import logging | |
import os | |
import edgetpu.detection.engine | |
FONT = cv2.FONT_HERSHEY_SIMPLEX |
This file contains 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
$ docker build . -t hoge/web | |
$ docker run -p 8080:80 -t hoge/web |
This file contains 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
#!/bin/bash | |
cd ~ | |
virtualenv tensorflow2 | |
source tensorflow2/bin/activate | |
pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.2.1-py2-none-any.whl | |
pip install jupyter | |
pip install pandas | |
pip install matplotlib | |
pip install cloudmlmagic |
This file contains 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
#!/usr/bin/env python | |
#coding:utf-8 | |
from time import sleep | |
from random import randint | |
BitPerSecond = 80.0 | |
def main(): | |
loopCnt = 0 |
This file contains 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
[ | |
{ | |
"name": "gcs_url", | |
"type": "STRING", | |
"mode": "NULLABLE" | |
}, | |
{ | |
"name": "timestamp", | |
"type": "TIMESTAMP", | |
"mode": "NULLABLE" |
This file contains 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
##2016-02-24 | |
# QAV-210 | |
# Naze32 afro rev6 | |
# RS2205 2300kv | |
# 5045 | |
# version | |
# Cleanflight/NAZE 1.12.0 Feb 19 2016 / 20:01:21 (aa8608a) | |
# status |
This file contains 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
a2c QAV210 2016-02-24 | |
# status | |
System Uptime: 22 seconds, Voltage: 0 * 0.1V (1S battery - NOT PRESENT), System load: 0.27 | |
CPU Clock=72MHz, GYRO=MPU6500, ACC=MPU6500, BARO=BMP280 | |
Cycle Time: 1009, I2C Errors: 0, config size: 2072 | |
# tasks | |
Task list: | |
0 - SYSTEM, max = 9 us, avg = 0 us, total = 1 ms |
NewerOlder