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); |
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 PrinterConnect | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://192.168.1.33/ | |
// @match http://192.168.1.32/ | |
// @grant none | |
// ==/UserScript== |
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/opt/ruby/bin/ruby | |
require 'open-uri' | |
require 'json' | |
require 'time' | |
OCTPRINT_IP = "192.168.1.33" | |
HEADER = "[C]" | |
begin |
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
display notification "イジェクト処理開始" | |
set dl to {} | |
repeat with l in every paragraph of (do shell script "mount | grep -e 'msdos\\|exfat' | awk '{print $1}'") | |
set end of dl to (do shell script "diskutil info " & l & " | grep 'Volume Name:' | sed -e 's/Volume Name: //' | sed -e 's/^ *//'") | |
end repeat | |
if ((count of dl) is greater than 0) then | |
tell application "Finder" |
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
toggleInstantHotspot = [[ | |
tell application "System Events" | |
tell process "SystemUIServer" | |
tell menu bar 1 | |
set menuBarItems to (every menu bar item whose description begins with "Wi-Fi") | |
if (count of menuBarItems) is greater than 0 then | |
set wifiMenuBarItem to item 1 of menuBarItems | |
click wifiMenuBarItem | |
--接続中か判定 | |
set menuItemDisconnects to (every menu item of menu 1 of wifiMenuBarItem whose name ends with "との接続を解除") |