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
; [無変換]キー+αで、COCOA キーバインド風にカーソル移動を行う | |
; --- HotKeys | |
; ^ Control | |
; ! Alt | |
; # Win | |
; + Shift | |
; $ 再起処理防止(RegisterHotkey()ではなく、強制的にキーボードフックでイベントを取得する | |
; vk1dsc07b 無変換 |
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
> rundll32.exe printui.dll,PrintUIEntry /y /n "[プリンタ名]" |
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
#IfWinActive ahk_class ConsoleWindowClass | |
^v:: | |
keywait, ctrl | |
Send, !{SPACE}ep | |
return | |
#IfWinActive |
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
ActiveSheet.Cells([行番号],1).EntireRow.Select |
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
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>Create a data adapter</Title> | |
<Description>Creates a SqlDataAdapter object.</Description> | |
<Author>Microsoft Corporation</Author> | |
<Shortcut>createadapter</Shortcut> | |
</Header> | |
<Snippet> | |
<Declarations> |
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
"set clipboard=autoselect,unnamed | |
"↓ | |
set clipboard=unnamedplus,unnamed |
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
; --- WIN+E で、あふを起動する。長押しでエクスプローラを起動 | |
$#e:: | |
KeyWait, e, T0.2 ; 0.2秒以上キーが離されなかったら、ErrorLevel=1 | |
if ErrorLevel | |
{ | |
; デスクトップを表示する。 | |
; http://www.roy.hi-ho.ne.jp/mutaguchi/wsh/technic.htm | |
Cmd = explorer.exe /select,"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}" | |
Run, %Cmd% | |
} |
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
:source % |
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
""" | |
""" quickrun.vim | |
""" | |
" コンフィグを全クリア | |
let g:quickrun_config = {} | |
" 横分割をするようにする | |
let g:quickrun_config['*'] = {'split': ''} |
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
# 画像を縦横比を維持したまま縦1280ピクセルに縮小する | |
require 'rubygems' | |
require 'pikl' | |
IMAGE_HEIGHT = 1280 | |
Dir.glob('*.jpg').each {|f| | |
img = Pikl::Image.open(f) | |
if img.height > IMAGE_HEIGHT | |
img.resize(:auto, IMAGE_HEIGHT).save(f) |