pyproject.schema.json was copied from https://gist.github.com/zevisert/086638d2145d937a33bf570ace8cba4a
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<templates> | |
<template autoinsert="true" context="java-members" deleted="false" | |
description="JUnit5 - Test Method" enabled="true" | |
id="org.eclipse.jdt.ui.templates.junit5.test" name="test"><![CDATA[@${testType:newType(org.junit.jupiter.api.Test)} | |
void ${testName}() throws Exception { | |
${staticImport:importStatic('org.junit.jupiter.api.Assertions.*')}${cursor} | |
}]]></template> | |
<template autoinsert="true" context="java-members" deleted="false" | |
description="JUnit5 - Test Method with a temporary directory." enabled="true" |
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.example.hssf; | |
import org.apache.poi.hssf.usermodel.HSSFClientAnchor; | |
import org.apache.poi.hssf.usermodel.HSSFSheet; | |
import org.apache.poi.hssf.usermodel.HSSFSimpleShape; | |
import org.apache.poi.hssf.usermodel.HSSFWorkbook; | |
import org.apache.poi.poifs.filesystem.POIFSFileSystem; | |
import org.junit.Test; | |
import java.io.File; |
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
linters-settings: # 設定のデフォルト値は、https://github.com/golangci/golangci-lint/blob/master/.golangci.example.yml で確認できる | |
depguard: # packagesに宣言されているモジュールの取り扱いに関するルール。ブラックリスト形式で使っているので、列挙したものを使うとエラーになる。 | |
list-type: blacklist | |
packages: | |
- golang.org/x/xerrors # go 1.13で必要な機能はすべてerrorsに取り込まれたので使わない | |
- github.com/rs/zerolog # ログ出力用のライブラリはプロジェクト内部に作ったファクトリ関数経由で使うため | |
packages-with-error-message: | |
- golang.org/x/xerrors: "エラー処理は標準のerrorsを使って下さい。スタックトレースが必要な場合のみpkg/errorsを使って下さい" | |
- github.com/rs/zerolog: "ログ出力は example.com/myproject/logger#Newから利用して下さい" | |
dupl: # コードのコピペを検出するルール。 閾値のトークン数を越えるものをエラーにする |
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
--disable-self-update-check false | |
--child-concurrency 1 | |
--network-timeout 1000000 |
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
Resources: | |
MyCustomDomain: | |
Type: AWS::ApiGatewayV2::DomainName | |
Properties: | |
DomainName: api.example.com | |
DomainNameConfigurations: | |
- CertificateArn: arn:aws:acm:ap-northeast-1:759044339783:certificate/e17e4147-4f27-4ccb-ab1d-a1d6300f118a | |
EndpointType: REGIONAL | |
Outputs: | |
WayWay: |
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
https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe | |
*://qiita.com/* | |
*://matome.naver.jp/* | |
*://kyoko-np.net/* | |
*://blog.livedoor.com/* | |
*://dev.classmethod.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
import assert = require('assert'); | |
it("hello", () => { | |
assert.equal({geeting:"WayWayWa", Fu:{Ho:1}}, | |
{ greeting: "Hello", Fu:{Fe:1}}); | |
}); | |
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
#!/bin/bash | |
# run sudo apt update or similar and feed the password for the rest to run smooth | |
# this is for the old bash based on ubuntu 14.04 | |
sudo apt update && sudo apt dist-upgrade -y | |
# Instlall NodeJS, Yarn and npm related dependencies | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list |
NewerOlder