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
const { TextlintKernel } = require('@textlint/kernel'); | |
const readlineSync = require('readline-sync'); | |
// create instance of Textlint | |
const kernel = new TextlintKernel(); | |
// factory function of 'textlint-rule-preset-japanese' rules | |
function mapUtil(presets) { | |
const rules = presets.rules; | |
const configs = presets.rulesConfig; |
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
# frozen_string_literal: true | |
require 'bundler/inline' | |
gemfile do | |
gem 'test-unit' | |
gem 'function_chain' | |
end | |
require 'function_chain' |
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
FROM crystallang/crystal:0.27.2 AS build | |
RUN apt-get update -qq && apt-get install -y wget | |
RUN git clone https://github.com/luckyframework/lucky_cli && \ | |
cd lucky_cli && \ | |
git checkout v0.13.2 && \ | |
shards install && \ | |
crystal build src/lucky.cr |
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
# FROM somewhere... | |
RUN apt-get update -qq && \ | |
apt-get install -y \ | |
postgresql-client \ | |
graphviz \ | |
tzdata && cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \ | |
curl -sL https://deb.nodesource.com/setup_11.x | bash - && \ | |
apt-get install -y nodejs && \ | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ |
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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |