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
site_name: MyDocs TEST | |
plugins: | |
- with-pdf | |
- search | |
- mermaid2 | |
nav: | |
- Home: index.md | |
- About: about.md |
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: myrelease-LoRa Gateway Build-Release (Push with Tag) | |
# | |
# Git push event trigger | |
# | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions | |
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows | |
# every push | |
# on: [push] |
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
* TEST Program 결과 확인 (115200 Buadrate) | |
``` | |
> PC Setup (Master), Plese Check them below | |
> Modbus-RTU PC-Info(Master) (RS232<->RS485) | |
- Master Port : COM8 | |
- Master Baudrate : 115200 | |
- Master Timeout : 0.1s | |
- MaxUnit : 5 | |
- use Interval-Timer(ScanRate) : 1s | |
.... |
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
# | |
# refer to | |
# https://pymodbus.readthedocs.io/en/latest/source/example/synchronous_client.html | |
# https://pymodbus.readthedocs.io/en/latest/source/example/synchronous_client_ext.html | |
# | |
# pip install pymodbus (not update this into requirement.txt) | |
# | |
# this program is only test for Modbus RTU | |
# this is working as a Modbus RTU Master and then everytime write/read holdregs in a Slave | |
# check the status of slave device |
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
// BoardConfig에 Selinux를 Permissive (허용모드) 로 변경 | |
// Selinux 제어 | |
$ vi device/vendor/hardware/BoardConfig.mk | |
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive | |
// init.hardware.rc 부분수정 (권한설정부분 변경) | |
// chmod 변경 및 /sys filesystem 설정 | |
$ vi ./device/fsl/imx8q/mek_8q/init.imx8qxp.rc | |
on property:sys.boot_completed=1 | |
#jhlee for PWM1/2 |
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
:: Do not output the command | |
@echo off | |
echo This script is validated with uuu 1.3.124 version, it is recommended to align with this version. | |
::--------------------------------------------------------------------------------- | |
::Variables | |
::--------------------------------------------------------------------------------- | |
:: For batch script, %0 is not script name in a so-called function, so save the script name here |
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
{"lastUpload":"2020-04-01T01:56:38.672Z","extensionVersion":"v3.4.3"} |
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 | |
# | |
# rename jpg files in sequence with same pattern | |
# | |
# Author : Jeonghun Lee | |
# Version : 0.1 | |
# | |
# ./rename.sh | |
# or | |
# ./rename.sh 1stArg 2ndArg |
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
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
import os | |
import argparse | |
import cv2 | |
import numpy as np | |
import random | |
import matplotlib.pyplot as plt | |
from matplotlib.backend_bases import NavigationToolbar2, Event | |
parser = argparse.ArgumentParser( | |
description='Run OpenCV ') |
NewerOlder