Skip to content

Instantly share code, notes, and snippets.

@KageShiron
KageShiron / find-tools.bat
Created November 29, 2018 15:10
find-tools.batの編集案
:: ビルドツールのパスを見つける
::
:: ===7z.exeのパスを探索する手順===
:: 1. CMD_7Zがセットされていれば利用する
:: 2. パスが通っていればそれを使う
:: 3. デフォルトのインストールパスで見つかればそれを使う
:: 4. 1~3で見つからなければCMD_7Zを削除する
@echo off
@echo on
: ---- arguments ---- :
: "Win32" or "x64"
set PLATFORM=%1
echo PLATFORM=%PLATFORM%
: "Debug" or "Release"
set CONFIGURATION=%2
echo CONFIGURATION=%CONFIGURATION%
@KageShiron
KageShiron / css.kwd
Created December 25, 2018 06:30
サクラエディタ強調キーワード
// 3文字以上のみを抽出
-moz-appearance
-moz-binding
-moz-border-bottom-colors
-moz-border-left-colors
-moz-border-right-colors
-moz-border-top-colors
-moz-context-properties
-moz-float-edge
@KageShiron
KageShiron / chocolatey.css
Last active February 14, 2019 05:43
My Stylus File
/* Chocolatey Fix*/
body{
font-family:sans-serif;
}
.message{
font-size:inherit;
color:black;
}
status key command
Composition Backspace Backspace
Conversion Backspace Cancel
Precomposition Backspace Revert
Composition Ctrl a MoveCursorToBeginning
Conversion Ctrl a SegmentFocusFirst
Composition Ctrl Backspace Backspace
Conversion Ctrl Backspace Cancel
Precomposition Ctrl Backspace Undo
Composition Ctrl d MoveCursorRight
using MicroBatchFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExplorerUtils
{
class Program
function peco_select_ghq
set selected_repository (ghq list -p | peco --query "$LBUFFER")
if [ -n "$selected_repository" ]
cd $selected_repository
echo " $selected_repository "
commandline -f repaint
end
end
function peco_select_ghq_online