Textbox Cursor Position
これは何?
- テキストボックス中のカーソル位置を取得し、また、カーソル位置にプレースホルダーを挿入するサンプルコードです。
各項目について
- Target Textarea は、カーソル位置取得・プレースホルダ挿入対象のテキストボックスです。
- Dummy Textarea や Dummy Text は、無関係のテキストボックス・段落です。
<?xml version="1.0" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<service-group> | |
<name replace-wildcards="yes">%h</name> | |
<service> | |
<type>_device-info._tcp</type> | |
<port>0</port> | |
<txt-record>model=Xserve</txt-record> | |
</service> | |
</service-group> |
#!/bin/zsh | |
USERNAME="" | |
PASSWORD="" | |
HOSTNAME="" | |
curl "https://$USERNAME:$PASSWORD@dynupdate.no-ip.com/nic/update?hostname=$HOSTNAME&myip=$(curl https://ifconfig.me 2> /dev/null),$(curl https://ifconfig.co 2> /dev/null)" |
import os | |
basedir = os.path.abspath(os.path.dirname(__file__)) | |
# BASIC APP CONFIG | |
WTF_CSRF_ENABLED = True | |
SECRET_KEY = 'We are the world' | |
BIND_ADDRESS = '0.0.0.0' | |
PORT = 9393 | |
LOGIN_TITLE = "PDNS" |
version: '3' | |
services: | |
xxx: | |
build: | |
context: dockerfile/ | |
args: | |
- http_proxy=${http_proxy} | |
- https_proxy=${https_proxy} | |
- ftp_proxy=${ftp_proxy} | |
- no_proxy=${no_proxy} |
# | |
# Modify Windows shortcut files | |
# | |
# Path to find shortcuts from | |
# e.g. | |
# [string]$findPath = "\\myserver1\myfolder" | |
# -> Find shortcuts from "\\myserver1\myfolder". | |
[string]$findPath = "." |