This file contains 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
;===========================定型文メニュー1=========================== | |
;※定型文メニュー1のホットキー割り当ては設定画面から変更されます | |
;テンプレートとなっていますので、カスタマイズしてお使いください。詳細は Help.html の【定型文の編集】をご覧ください | |
;■で始まる項目は、選択されているテキスト(非選択時はクリップボードの文字列)に対して実行する項目です | |
@NoteHotkey=Shift,400 | |
+個人情報(&P) | |
〒123-4567 OOO県OOO市OOO町OOO | |
末尾にタブ ` | |
メールアドレス(&M)... | xxx@xx.xxx.or.jp |
This file contains 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
Vagrant.configure("2") do |config| | |
config.vm.box = "bento/centos-7.3" | |
config.vm.network "private_network", ip: "192.168.33.12" | |
###################################### | |
script = <<SCRIPT | |
yum -y remove mariadb-libs | |
rm -rf /var/lib/mysql |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Curation for Linux</title> | |
<basefont face="メイリオ" size="2" /> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> | |
<meta name="exporter-version" content="Evernote Windows/304720 (ja-JP, DDL); Windows/10.0.14393 (Win64);" /> | |
<style> | |
body, |
This file contains 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
package com.qiita.nimzo6689.bench; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.concurrent.TimeUnit; | |
import java.util.stream.IntStream; | |
import lombok.SneakyThrows; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; |
This file contains 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
function ConvertTo-NumberRuby { | |
[CmdletBinding()] | |
param( | |
[Parameter( | |
Mandatory = $True, | |
ValueFromPipeline = $True, | |
ValueFromPipelineByPropertyName = $True | |
)] | |
[string[]]$Sources | |
) |
This file contains 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
-- ※PL/pgSQLです。 | |
CREATE OR REPLACE FUNCTION numerical_to_reading(numerical_value integer) RETURNS varchar AS $$ | |
DECLARE | |
numerical_char CONSTANT varchar := abs(numerical_value)::varchar; | |
numerical_length CONSTANT integer := char_length(numerical_char); | |
digit integer; | |
currval integer; | |
ret varchar := ''; | |
BEGIN |
This file contains 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
Set-StrictMode -Version 2.0 | |
##### 1. 包含演算子で論理演算子の数を減らす ################### | |
function Test01_Bad($fruit) { | |
# リンゴ、イチゴ、サクランボであれば赤と判定する。 | |
if ($fruit -eq 'リンゴ' -or $fruit -eq 'イチゴ' -or $fruit -eq 'サクランボ') { | |
return '赤' | |
} | |
} |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# マウント失敗する場合、vbgeustかyum -y upgradeを行うこと。 | |
config.vm.box = "geerlingguy/centos7" | |
config.vm.box_check_update = false |
This file contains 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
Array.from($x('//*[@id="root"]/div/div/nav/ul/li/a[./h3[contains(text(), "conditional")]]/@href')) | |
.map(e => `${e.textContent}, title: ${e.ownerElement.textContent}`) |
This file contains 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
# Scoopの環境構築 | |
Set-ExecutionPolicy RemoteSigned -scope CurrentUser | |
iex (new-object net.webclient).downloadstring('https://get.scoop.sh') | |
scoop install git | |
# CUIツールをインストール | |
scoop install nodejs-lts yarn | |
# GUIツールをインストール | |
scoop bucket add extras |
OlderNewer