echo 'xfce4-session' > ~/.xsession/etc/xrdp/startwm.sh
先頭に以下を追加
echo 'xfce4-session' > ~/.xsession/etc/xrdp/startwm.sh
先頭に以下を追加
| """ | |
| sort_xml_attrs.py | |
| XMLファイルの属性をアルファベット順にソートし、指定した出力フォルダーに | |
| 元と同じファイル名で保存するスクリプト | |
| 使い方: | |
| python sort_xml_attrs.py -o <出力フォルダー> <xmlファイル or フォルダー> ... | |
| 例: | |
| python sort_xml_attrs.py -o sorted/ file1.xml file2.xml |
| # need to install xdotool | |
| # move to a upper monitor | |
| xdotool getactivewindow windowmove $[DISPLAY_WIDTH] 0 | |
| # move to a lower monitor | |
| xdotool getactivewindow windowmove $[DISPLAY_WIDTH] 1201 |
| '<置換元の文字列>' -replace '[ \t!]', '_' | Set-Clipboard -PassThru |
| <!DOCTYPE html> | |
| <html lang="ja-JP"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>the simplest HTML template</title> | |
| <link href=".css" rel="stylesheet" type="text/css"> | |
| <script src="script.js" defer></script> | |
| </head> |
| #!/usr/bin/env bash | |
| cd `dirname $0` | |
| if [ $# -gt 3 ]; then | |
| echo "呼出時の引数: <コピー元ディレクトリー パス> <コピー先ディレクトリー パス> (<除外パターンファイルのパス>)" | |
| exit 1 | |
| fi | |
| if [ $# -lt 2 ]; then |
| select | |
| Host | |
| , user | |
| , PLUGIN | |
| , AUTHENTICATION_STRING | |
| , PASSWORD_EXPIRED | |
| from mysql.user; |
| #!/bin/bash | |
| if [ $# -gt 2 -o $# -lt 1 ]; then | |
| echo "Usage: $0 TARGET_FOLDER_PATH [TARGET_FILE_REGEX]" | |
| exit 1 | |
| fi | |
| TARGET_FOLDER_PATH=$1 | |
| if [ $# -eq 1 ]; then |
| -- https://learn.microsoft.com/ja-jp/sql/relational-databases/tables/view-the-table-definition?view=sql-server-ver16#TsqlProcedure | |
| SELECT | |
| s.name AS schema_name | |
| , t.name AS table_name | |
| , c.* | |
| , st.name AS [システム型] | |
| , ut.name AS [ユーザー定義型] | |
| FROM | |
| sys.columns AS c | |
| INNER JOIN sys.tables AS t ON |
| # %USERPROFILE%\scoop\apps\cmder\current\config\cmder_prompt_config.lua | |
| # 22行目 | |
| prompt_lambSymbol = "$" |