stateDiagram-v2
direction LR
state StateCheck <<choice>>
StateCheck: スワイプした時に、スワイプ情報があるか?
NotExist:ない
Exist:ある
%% NotExist
StateCheck --> NotExist:スワイプ情報保存
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
#!/bin/bash | |
exec "/mnt/c/Program Files/Google/Chrome/Application/chrome.exe" $(wslpath -w ${1}) |
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
#!/bin/sh -xe | |
cat $1 | tr '\n' ' ' | sed -e "s/■ /\n■ /g" > out.txt |
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
{ | |
"context": "query", | |
"occur": "filter", | |
"query": { | |
"range": { | |
"createDate": { | |
"include_lower": true, | |
"include_upper": true, | |
"from": "${time.current_date|modifier=-30d,date_format=yyyyMMddhhmmss}" | |
} |
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
Japanese Search Improvement with Dismax Query for Liferay 7.4 |
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
Japanese Search Synonym Default Settings for Liferay 7.4 |
sequenceDiagram
actor Customer
participant Sales as Sales
participant Accounting as Accounting
participant Finance as Finance
participant System as System
participant Report as Report Files<br/>紙の伝票
participant Procurement as Procurement
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
[#assign assetEntry = "" /] | |
[#assign sn = "" /] | |
[#assign infoListDisplayObject = (request.getAttribute("INFO_LIST_DISPLAY_OBJECT"))! /] | |
[#assign liferaySharedLayoutAssetEntry = (request.getAttribute("LIFERAY_SHARED_LAYOUT_ASSET_ENTRY"))! /] | |
[#if infoListDisplayObject?has_content] | |
[#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /] | |
[#assign modelClassName = infoListDisplayObject.modelClassName! /] |
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
[#assign black_list = ["class", "request", "getreader", "getinputstream", "writer"] /] | |
[#macro dump key data] | |
[#if data?is_enumerable] | |
enumerable:<b>${key}</b> | |
[@printList data,[] /] | |
[#elseif data?is_hash_ex] | |
hash_ex:<b>${key}</b> | |
[@printHashEx data,[] /] | |
[#else] |
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
input = [] | |
File.foreach("input.txt"){|line| | |
input << line.chomp | |
} | |
output = [] | |
File.foreach("output.txt"){|line| | |
output << line.chomp | |
} | |
// Remove duplicated entries in input from output |
NewerOlder