Skip to content

Instantly share code, notes, and snippets.

View takumaw's full-sized avatar

Takuma Watanabe takumaw

View GitHub Profile

Textbox Cursor Position

これは何?

  • テキストボックス中のカーソル位置を取得し、また、カーソル位置にプレースホルダーを挿入するサンプルコードです。

各項目について

  • Target Textarea は、カーソル位置取得・プレースホルダ挿入対象のテキストボックスです。
  • Dummy Textarea や Dummy Text は、無関係のテキストボックス・段落です。
@takumaw
takumaw / docker-compose.yml
Created August 31, 2018 14:06
docker-compose.yml for use in enterprise environment
version: '3'
services:
xxx:
build:
context: dockerfile/
args:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
- ftp_proxy=${ftp_proxy}
- no_proxy=${no_proxy}
@takumaw
takumaw / modify_windows_shortcut.ps1
Last active April 25, 2018 01:36
Modify Windows shortcut files
#
# Modify Windows shortcut files
#
# Path to find shortcuts from
# e.g.
# [string]$findPath = "\\myserver1\myfolder"
# -> Find shortcuts from "\\myserver1\myfolder".
[string]$findPath = "."