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
Arduino IDEを「/Applications/Arduino.app」にインストールしてあり、 | |
書き込み対象のGrblのhexがファイル名「firmware.hex」として「~/Downloads」にあり、 | |
CNCコントロールボードのシリアルポートが「/dev/tty.wchusbserial14510」であると | |
仮定。 | |
Grblのhexはここにある https://github.com/gnea/grbl/releases | |
Grbl0.9から1.1へのアップデートをする場合は、事前に$$で設定を書き出し、コピペして保存しておく。 | |
cd ~/Downloads |
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/local/bin/python3 | |
import subprocess | |
from subprocess import PIPE | |
array = {"ANYCUBIC MEGA-S":"192.168.1.10", | |
"ANYCUBIC i3 MEGA":"192.168.1.20", | |
"KINGROON KP3S-1":"192.168.1.30", | |
"KINGROON KP3S-2":"192.168.1.40", | |
"KINGROON KP3S-3":"192.168.1.50", |
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
// ↓これをブックマークに登録 | |
javascript:var%20jumpto%3D%22https%3A%2F%2Fwww.aliprice.com%2FIndex%2Fsearch.html%3Flink%3D%22%20%2B%20encodeURIComponent(String(document.location.href))%3Bwindow.location%3Djumpto%3Bvoid(0); | |
// iOS用のショートカット(アリエクアプリの「共有ボタン→もっと」から実行) | |
https://www.icloud.com/shortcuts/0146a2efb16b472d973cf2a3b21fc1a9 | |
// ↓ソース | |
var jumpto = "https://www.aliprice.com/Index/search.html?link=" + encodeURIComponent(String(document.location.href)); |
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
#Author-moyashi | |
# Fusion360において日本語交じりのファイルを作ると発生するエラー「ダウンロードしたファイルが見つかりません。考えられるファイルパス:」に対処するFusion360用Pythonスクリプト | |
# エラーが出たらこれを実行するとファイル名が修正されて開けるようになる(こともある) | |
# 「ツール」>「アドイン」>「スクリプトとアドイン」>「スクリプト」>「作成」で新規スクリプトを作り、コピペして登録。 | |
# Shift + Sで「スクリプトとアドイン」のダイアログが表示できるので、そこから実行が楽。 | |
import adsk.core, traceback | |
import os, sys | |
from pathlib import Path |
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 python3 | |
import os | |
import sys | |
# pip3 install pyperclip | |
import pyperclip | |
# これで実施したマニュアルメッシュベッドレベリングの補正用途: https://github.com/davidramiro/Marlin-Ai3M | |
# 設定部 |
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 python3 | |
import os | |
import sys | |
# pip3 install pyperclip | |
import pyperclip | |
# これで実施したマニュアルメッシュベッドレベリングの補正用途: https://github.com/davidramiro/Marlin-Ai3M | |
# 設定部 |
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
; NANOTE用定義 | |
#Include IME.ahk | |
; IME.ahkはここの089.zipから入手可能 | |
; http://lukewarm.s101.xrea.com/up/index.php | |
;--------------------------- | |
;左Shift+SpaceでIMEのトグル | |
<+Space:: |
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
// ==UserScript== | |
// @name SakuraKeepaLinker | |
// @namespace http://hitoriblog.com/ | |
// @version 0.2 | |
// @description try to take over the world! | |
// @author moyashi ( @hitoriblog ) | |
// @match https://www.amazon.co.jp/*/dp/* | |
// @match https://www.amazon.co.jp/*/gp/* | |
// @match https://www.amazon.co.jp/dp/* | |
// @match https://www.amazon.co.jp/gp/* |
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
tell application "Safari" | |
tell document 1 | |
set u to URL | |
set uu to "https://translate.google.com/translate?sl=auto&tl=ja&u=" & u | |
open location uu | |
end tell | |
end tell |
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
javascript:var%20g%3D%22https%3A%2F%2Ftranslate.google.com%2Ftranslate%3Fsl%3Dauto%26tl%3Dja%26u%3D%22%3Bvar%20u%3DencodeURIComponent(location.href)%3Blocation.href%3Dg%20%2B%20u%3Bvoid(0); |