필수 앱: Tasker, Termux, Termux:Tasker (모두 F-Droid에서 설치)
사전 설정: Termux + proot-distro Debian 환경 구성 가이드 참조
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
| #!/bin/bash | |
| DAY=0 | |
| if [[ $4 == "음" ]]; then | |
| DAY=1 | |
| fi | |
| if [[ $4 == "윤" ]]; then | |
| DAY=2 | |
| fi |
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
| !pip install plantuml | |
| import plantuml | |
| from IPython.display import Image | |
| _puml = plantuml.PlantUML('http://www.plantuml.com/plantuml/img/') | |
| def puml(s): | |
| return Image(_puml.processes(s)) | |
- M425 코드가 있을때 자동으로 반영되게?
- G1 에서 E(압출길이)에 대한 보정도 필요한가? -> 필요시 백래시 이동코드를 추가하는 식으로 가야함.
- G28 코드는 0,0 로 이동하는 것으로 처리
- 1,1로 갔다가 0,0으로 가야 백래시에 대한 초기화가 확실할거 같다.
- arc등은 polygon으로 변경하고, 해상도 옵션을 추가하는 것으로. (압출거리도 재계산)
I hereby claim:
- I am sng2c on github.
- I am sng2c (https://keybase.io/sng2c) on keybase.
- I have a public key ASBFeTfI8isjrcctdB9K9C8fz79yo9DY72_S0ss6lI2k7go
To claim this, I am signing this object:
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
| use Test::More; | |
| use Data::Dump; | |
| sub compile { | |
| my @assm; | |
| my $prg = shift; | |
| my ( $func, @args ) = @{$prg}; | |
| foreach my $a (@args) { | |
| if ( ref($a) ne 'ARRAY' ) { | |
| push( @assm, [ "push", $a ] ); |
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
| <?php | |
| /* | |
| Plugin Name: Read More Selectable | |
| Plugin URI: | |
| Description: Insert 'wp-read-more' class into span-tags that has 'more-?' id in content. | |
| Version: 0.1 | |
| Author: sng2c | |
| Author URI: https://github.com/sng2c | |
| License: GPL2 | |
| */ |
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
| #-*- coding: utf-8 -*- | |
| import copy | |
| # sensors = [('Day','Night'),('Home','Away'),('Somebody','Nobody')] | |
| # https://www.planttext.com/plantuml/svg/ZPHD3e8m48NtSufUW0kuC9YuSCN60n0CH4s49bfZkBq537H-wwPf7lFWwvkXKBv2ympl_W4GTw5pnsQiJxxlwdDSBhuTWIckAFQkkbzlWUWxvuVbWMAQrCCdBjWoIOPZLYkVV6BUC-AVJ2s45hq8ioQ6bJGjnvoaMeXYZJ0XHSS77iX6AmIryNAJmZ19XeETaMURb02r45evMseGUuevfKxOsGhp2DAC6b55MRMeBPbdmdPbvfSL0RUfiH7cV5ieh_oJ_9CrdcGf8ADz6xSs_jeiswxCFBCYu3Rrro3C-Uk5yihTqR8kkw6D5_CN | |
| sensors = [('Day','Night'),('Home','Away')] | |
| # https://www.planttext.com/plantuml/svg/ut8eBaaiAYdDpU7Y0h9AKXLS4YlZFV9pKxbW30LTNJi5lypqZ188rqeXFm_2HrK2uZYM9rP2581Oo4Q2-N0b22CHEX16mfN0pGSh0BiAQYJ2FLn8JiFK0-IXAq2t5zcb23ak96MOldF1L80UGX3NEgJcfO025m00 | |
| modes_len = 2**len(sensors) |
NewerOlder