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
colorscheme slate | |
set lines=55 | |
set columns=180 | |
set clipboard=unnamedplus |
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 eclipse/stack-base:debian | |
RUN sudo apt-get update && \ | |
sudo apt-get -y install build-essential libssl-dev libkrb5-dev gcc make ruby-full rubygems debian-keyring python2.7 && \ | |
sudo gem install sass compass && \ | |
sudo apt-get clean && \ | |
sudo apt-get -y autoremove && \ | |
sudo apt-get -y clean && \ | |
sudo rm -rf /var/lib/apt/lists/* |
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 eclipse/node | |
RUN 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 | |
RUN sudo apt update && sudo apt -y install yarn | |
RUN sudo yarn global add create-react-app |
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
'use strict'; | |
const autoprefixer = require('autoprefixer'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin'); | |
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin'); | |
const WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin'); | |
const eslintFormatter = require('react-dev-utils/eslintFormatter'); |
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
'use strict'; | |
const autoprefixer = require('autoprefixer'); | |
const path = require('path'); | |
const webpack = require('webpack'); | |
const HtmlWebpackPlugin = require('html-webpack-plugin'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
const ManifestPlugin = require('webpack-manifest-plugin'); | |
const InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin'); | |
const SWPrecacheWebpackPlugin = require('sw-precache-webpack-plugin'); |
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 rl = require('readline').createInterface({ input: process.stdin }); | |
const first = { promise: Promise.resolve(), next: null }; | |
const queue = [first]; | |
function asyncReadLine(event, asyncCallback){ | |
rl.on(event, async (...args) => { | |
queue.push({ promise: new Promise(resolve => void (queue[queue.length - 1].next = resolve)), next: null }); | |
const promiseObj = queue.shift(); | |
await promiseObj.promise; | |
await asyncCallback(...args); |
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://help.github.com/en/github/getting-started-with-github/fork-a-repo | |
# https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork | |
FORKREPO="$1" | |
ORIGINREPO="$2" | |
WORKDIR="$3" | |
git clone "$FORKREPO" "$WORKDIR" # clone forked repo | |
cd "$WORKDIR" | |
git remote -v # confirm current configuration |
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://deploy-preview-3342--slatejs.netlify.com/examples/richtext |
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
" 一旦ファイルタイプ関連を無効化する | |
filetype off | |
" -------------------- | |
" Plugin | |
" -------------------- | |
" プラグインが実際にインストールされるディレクトリ | |
let s:dein_dir = expand('~/.vim') | |
" dein.vim 本体 | |
let s:dein_repo_dir = s:dein_dir . '/repos/github.com/Shougo/dein.vim' |
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
[[ ! "$PATH" =~ "/usr/local/go/bin" ]] && export PATH="$PATH:/usr/local/go/bin" | |
[[ -z "$GOPATH" ]] && export GOPATH="$HOME/go" | |
[[ ! "$PATH" =~ "$GOPATH/bin" ]] && export PATH="$PATH:$GOPATH/bin" |
OlderNewer