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.smith; | |
import org.bukkit.Material; | |
import org.bukkit.block.Chest; | |
import org.bukkit.command.Command; | |
import org.bukkit.command.CommandSender; | |
import org.bukkit.event.EventHandler; | |
import org.bukkit.event.Listener; | |
import org.bukkit.event.player.PlayerInteractEvent; | |
import org.bukkit.inventory.ItemStack; |
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
module.exports = { | |
parserOptions: { project: './tsconfig.json' }, | |
extends: [ | |
'airbnb-typescript/base', | |
'plugin:@typescript-eslint/recommended', | |
'plugin:@typescript-eslint/recommended-requiring-type-checking', | |
'plugin:prettier/recommended', | |
'prettier/@typescript-eslint', | |
], | |
rules: { |
Node.js 8 is due to go End-of-Life on 31st December 2019.
- deps: upgrade openssl sources to 1.0.2s (Sam Roberts) #28230
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 | |
cd /app | |
sudo apt-get -y install nodejs npm m4 | |
curl -o- -L https://yarnpkg.com/install.sh | bash | |
source ~/.bashrc | |
export OPAMYES=true | |
opam switch create 4.06.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
FROM archlinux | |
ENV OPAMYES=true | |
RUN pacman -Sy --noconfirm base-devel awk m4 git unzip perl wget nodejs npm yarn | |
RUN curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh | sh | |
RUN useradd -m updatebs | |
USER updatebs |
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 sharp from 'sharp'; | |
import fs from 'fs-extra'; | |
import _ from 'lodash/fp'; | |
const parseImage = (path: string) => | |
Promise.all([ | |
sharp(path).metadata(), | |
sharp(path) | |
.grayscale() | |
.raw() |
OlderNewer